Formula Needed!!

Degaulle

Board Regular
Joined
Nov 1, 2004
Messages
62
Hi

I need to be able to look up a value of a product code that there are two of the same. There is a variable, the catalogue code.

In the example i need to look up the qty of code 401 for the SR Catalogue.
Book1
ABCDE
1CodeNameCatalogueTypePriceQTYOnOrder
2401FFS160100
3401FFSR16072
4402SSS19415
5402SSSR19445
Sheet1
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Create in another column, a unique value by concatenating, then use Index/Match
Book2
ABCDE
1CodeCatalogueQty401SR
2401S100401S75
3401SR75401SR
4402S15402S
5402SR45402SR
Sheet1


In column C

=A2&CHAR(127)&B2 and drag down

In E2,

=INDEX($C$2:$C$5,MATCH(D1&CHAR(127)&E1,$D$2:$D$5,0))
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

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