vlookup or index/match?

cloughie

New Member
Joined
Feb 6, 2018
Messages
11
Hi,

I have two sheets of orders from different sources and want to check if the gross price is the same for each order line. However as the order number is repeated (for each product line) I cant use a vlookup. Can anyone help with an index/match formula?

Order No ProductGross Price
12345 abc19.99
12345 def82.99
12346 abc109.99

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Try

=INDEX(Sheet2!$C$2:$C$40,MATCH(A2&B2,Sheet2!$A$2:$A$40&Sheet2!$B$2:$B$40,0))

Enter as an array, Ctrl Shift & Enter
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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