Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
How do i compare text across multiple columns ignoring any blanks and ignoring case.
e.g.
Column1 | Column2 | Column3 | Column4 | Column5 | Expected Result |
cat | cat | cat | cat | cat | TRUE |
cat | Cat | CAT | cat | cat | TRUE |
cat | cat | TRUE | |||
cat | cat | cater | cat | cat | FALSE |
In Excel, i used the following formula and it worked fine:
=SUMPRODUCT((A2:E2<>"")/COUNTIF(A2:E2,A2:E2&""))=1
Thanks for any help.
Solved! Go to Solution.
Both Solutions work. Thank You so much.
here's a fun way:
= SWITCH(TRUE(),[Column1]<>[Column2],FALSE(),[Column1]<>[Column3],FALSE(),[Column1]<>[Column4],FALSE(),[Column1]<>[Column5],FALSE(),TRUE())
Doesn't seem to work if there are any blank columns.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
8 |
User | Count |
---|---|
22 | |
13 | |
11 | |
10 | |
10 |