Populate Cells based on multiple 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 based on the same company name and where ever the ICODE <> 49.


CURRENT SHEET





ICODEPRODUCTCOMPANYAD1AD2AD3AD4
89​
PENSABC STATIONERY CO LLC




49​
PENCILSABC STATIONERY CO LLC




49​
ERASERABC STATIONERY CO LLC




94​
OVENWORLD *******WARE




90​
CABINETSWORLD *******WARE




49​
COOKING RANGEWORLD *******WARE




49​
STAINLESS STEEL TABLEWORLD *******WARE




49​
DISHWASHERWORLD *******WARE




91​
TABLESGENUINE FURNITURE SUPPLIES




49​
CHAIRSGENUINE FURNITURE SUPPLIES




89​
PIPESRELIABLE PLASTICS CO




90​
CHAIRSRELIABLE PLASTICS CO




24​
BUCKETRELIABLE PLASTICS CO




93​
TABLESRELIABLE PLASTICS CO




49​
TOYSRELIABLE PLASTICS CO




49​
BOTTLESRELIABLE PLASTICS CO












FINAL REQUIRED SHEET





ICODEPRODUCTCOMPANYAD1AD2AD3AD4
89​
PENSABC STATIONERY CO LLC




49​
PENCILSABC STATIONERY CO LLCPENS



49​
ERASERABC STATIONERY CO LLCPENS



94​
OVENWORLD *******WARE




90​
CABINETSWORLD *******WARE




49​
COOKING RANGEWORLD *******WAREOVENCABINETS


49​
STAINLESS STEEL TABLEWORLD *******WAREOVENCABINETS


49​
DISHWASHERWORLD *******WAREOVENCABINETS


91​
TABLESGENUINE FURNITURE SUPPLIES




49​
CHAIRSGENUINE FURNITURE SUPPLIESTABLES



89​
PIPESRELIABLE PLASTICS CO




90​
CHAIRSRELIABLE PLASTICS CO




24​
BUCKETRELIABLE PLASTICS CO




93​
TABLESRELIABLE PLASTICS CO




49​
TOYSRELIABLE PLASTICS COPIPESCHAIRSBUCKETTABLES
49​
BOTTLESRELIABLE PLASTICS COPIPESCHAIRSBUCKETTABLES

<tbody>
</tbody>


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

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,215,650
Messages
6,126,012
Members
449,280
Latest member
Miahr

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