Quick lookup problem

Roughhouse

New Member
Joined
Oct 18, 2005
Messages
10
I have two sheets.

In sheet 1 I have a table with Column A being "Materials" and Columns C-E being "Factories", with the factory number being listed in row 1.

In Sheet 2 I have Column A being "Materials" and Column B being "Factories"

What I am trying to accomplish is have the sheet one populate itself with an "x" if the material in column A is found at the facility listed at the top of the column.
 
Sorry for too much info there, but the formula still sin't working. I am getting blanks all the way across. If I remove the IFERROR and the IF statements then all the cells populate with 3000.

I'm sorry it's the nature of your data I missed...

In AA2 enter and copy across:

=IFERROR(IF(INDEX(Pricing!$B$537:$B$555,MATCH(AA$2,Pricing!$C$537:$C$555,0))=$D2,"X",""),"")
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Excellent both of the most recent ones worked. Alan had to modify your slight by changing AA$2 to AA$1, otherwise I was getting circular reference. But with the correction it works perfect.

=IFERROR(IF(INDEX(Pricing!$B$537:$B$555,MATCH(AA$2,Pricing!$C$537:$C$555,0))=$D2,"X",""),"")

Thanks for all the help.
 
Upvote 0
Excellent both of the most recent ones worked. Alan had to modify your slight by changing AA$2 to AA$1, otherwise I was getting circular reference. But with the correction it works perfect.

=IFERROR(IF(INDEX(Pricing!$B$537:$B$555,MATCH(AA$2,Pricing!$C$537:$C$555,0))=$D2,"X",""),"")

Thanks for all the help.

Happy to hear that. Thanks for providing feedback.
 
Upvote 0
Excellent both of the most recent ones worked. Alan had to modify your slight by changing AA$2 to AA$1, otherwise I was getting circular reference. But with the correction it works perfect.

=IFERROR(IF(INDEX(Pricing!$B$537:$B$555,MATCH(AA$2,Pricing!$C$537:$C$555,0))=$D2,"X",""),"")

Thanks for all the help.
You're welcome. Thanks for the feedback! :cool:
 
Upvote 0

Forum statistics

Threads
1,224,505
Messages
6,179,147
Members
452,891
Latest member
JUSTOUTOFMYREACH

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