Compare 3 columns not in a string if match

michelles4731

New Member
Joined
Feb 3, 2018
Messages
3
I need to compare compensation report. Columns I, M, and P all need to match in each row. What is the formula?

DEFGHIJKLMNOP
Company NameAttainmentRecurring RevenueTotal Production Revenue
AAA Inc102102102
ABC Toys185370370
BC Cheese109510951095
Dog Days Inc.60012001200
Produce to You250250250
Sunkin Ships375750750

<tbody>
</tbody>
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
You havent actually specified what you want listed, just that "they need to match".
If you want to list only those companies where columns I M and P all match then use this

in Q1
=IFERROR(INDEX($D$1:$D$6,SMALL(IF((I$1:I$6=M$1:M$6)*(I$1:I$6=P$1:P$6),ROW($A$1:$A$6)),ROW(A1))-(ROW(A$1)-1),1),"")
Array formula, use Ctrl-Shift-Enter
and copy down the column
 
Upvote 0
Excellent point. I would like the formula to return an empty cell if all cells match and "doesn't match" in the rows that don't match.
 
Upvote 0
in Q2
=IF(AND(I2=M2,I2=P2),"","Doesn't match")
and copy down the column
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,537
Messages
6,125,384
Members
449,221
Latest member
DFCarter

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top