Index Match with lots of duplicate lookup value and duplicate array value!!!

vivroy

New Member
Joined
Jul 24, 2014
Messages
11
Hello,

I am trying to do index match and get next match item instead of first match for all entries.

excel_wf.png


excel_vs.png


As you can see above first First work sheet is wf and second is vs. I am trying to get next matched invoice #.

As you can see I have Amt 21 eleven times. however invoice for Amt 21 is only nine. For remaining two its ok if I get error(N/A) and Vise versa is fine too. Like I have more invoice for same amount than amount I am looking for.

Thank you for your help.
Vivroy
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It looks like you copied the amounts from the second sheet over to the first sheet and sorted them smallest to largest...

You could make column "E" on the "vs" sheet copy column "A"...(If you don't want anyone to see that then make the width of column "E" under 1)

Then when you copy over column "D" onto the other sheet, copy columns " D & E " instead, and paste as values only,

Highlight both columns and sort both, you will get what you are shooting for I believe...
 
Upvote 0
It looks like you copied the amounts from the second sheet over to the first sheet and sorted them smallest to largest...

You could make column "E" on the "vs" sheet copy column "A"...(If you don't want anyone to see that then make the width of column "E" under 1)

Then when you copy over column "D" onto the other sheet, copy columns " D & E " instead, and paste as values only,

Highlight both columns and sort both, you will get what you are shooting for I believe...

Thank you but that is not what I am looking for.

If there is a way index match would look for next available match if first one is used and look for third match if first and second is used and so on......
 
Upvote 0
I have been searching, and found it would work if I would created unique value. However I have to create unique value for amount on both working sheet. Is there any other way?
 
Upvote 0

Forum statistics

Threads
1,214,587
Messages
6,120,406
Members
448,958
Latest member
Hat4Life

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