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?

[TABLE="width: 238"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Order No [/TD]
[TD]Product[/TD]
[TD]Gross Price[/TD]
[/TR]
[TR]
[TD="align: right"]12345[/TD]
[TD] abc[/TD]
[TD="align: right"]19.99[/TD]
[/TR]
[TR]
[TD="align: right"]12345[/TD]
[TD] def[/TD]
[TD="align: right"]82.99[/TD]
[/TR]
[TR]
[TD="align: right"]12346 [/TD]
[TD]abc[/TD]
[TD="align: right"]109.99[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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