Fill in values based on 2 column criteria

excelalways

New Member
Joined
Sep 8, 2013
Messages
2
Hi Guys,

Im struggling to find a formula to populate cells based on values to be checked in two fields (ICODE, COMPANY).
In the example shown, all records where ever the ICODE = 49, i need to populate the fields AD1,AD2,AD3 or AD4 with the Product Name of the same company name but only where the ICODE <> 49.

Request you Excel gurus out there to please help me with this. Thanks in advance :)



CURRENT SHEET





ICODEPRODUCTCOMPANYAD1AD2AD3AD4
89​
PENSABC STATIONERY




49​
PENCILSABC STATIONERY




49​
ERASERABC STATIONERY




94​
OVENW. *******WARE




90​
CABINETSW. *******WARE




49​
COOKING RANGEW. *******WARE




49​
S. S. TABLEW. *******WARE




49​
DISHWASHERW. *******WARE




91​
TABLESGEN. FURNITURE




49​
CHAIRSGEN. FURNITURE




89​
PIPESRELIABLE PLASTICS




90​
CHAIRSRELIABLE PLASTICS




24​
BUCKETRELIABLE PLASTICS




93​
TABLESRELIABLE PLASTICS




49​
TOYSRELIABLE PLASTICS




49​
BOTTLESRELIABLE PLASTICS












FINAL REQUIRED SHEET





ICODEPRODUCTCOMPANYAD1AD2AD3AD4
89
PENSABC STATIONERY




49​
PENCILSABC STATIONERYPENS



49​
ERASERABC STATIONERYPENS



94​
OVENW. *******WARE




90​
CABINETSW. *******WARE




49​
COOKING RANGEW. *******WAREOVENCABINETS


49​
S.S. TABLEW. *******WAREOVENCABINETS


49​
DISHWASHERW. *******WAREOVENCABINETS


91​
TABLESGEN. FURNITURE




49​
CHAIRSGEN. FURNITURE TABLES



89​
PIPESRELIABLE PLASTICS




90​
CHAIRSRELIABLE PLASTICS




24​
BUCKETRELIABLE PLASTICS




93​
TABLESRELIABLE PLASTICS




49​
TOYSRELIABLE PLASTICS PIPESCHAIRSBUCKETTABLES
49​
BOTTLESRELIABLE PLASTICS PIPESCHAIRSBUCKETTABLES

<tbody>
</tbody>
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,215,327
Messages
6,124,292
Members
449,149
Latest member
mwdbActuary

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