Index and Multiple Match function

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello, I need help in rectifying this formula.

If the values in columns H,J and M are matching with columns A,C and F, then column H should dis[lay the same name as in column B, else display No Match.

The goal is to get the result in column H.



=INDEX($B$3:$B$16,MATCH($H3&$J3&$M3,$A$3:$A$16&$C$3:$C$16&$F$3:$F$16,0))
 

Attachments

  • 3Untitled.png
    3Untitled.png
    35.3 KB · Views: 13
Peter, You are right. I marked just a few cells to mark the error and missed to mark the I8 cell. But you anyhow got it right. I wanted to show Suspense if it didn't match the criteria and I changed that in your formula. As this is a reconciliation of the bank statement, all the amounts may not match. So, I can post the non matching cells with suspense.
Anyways, you gave me the right answer. Thanks a lot.?
Is there a way to change the range to columns instead of cell number - B$3:B$18, as the range will be different every time. The range may vary from between 1000 - 2500 at different times.
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Anyways, you gave me the right answer. Thanks a lot.?
You're welcome. :)

Is there a way to change the range to columns instead of cell number - B$3:B$18, as the range will be different every time. The range may vary from between 1000 - 2500 at different times.
Easiest way would be to just change each $18 to, say, $3000 and then it should work for any range up to that 3000 row limit.
 
Upvote 0

Forum statistics

Threads
1,213,524
Messages
6,114,117
Members
448,549
Latest member
brianhfield

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