Formula to match cells and find information

randallshoe

New Member
Joined
Apr 11, 2018
Messages
2
Please see the attached image. I have model names in sheet 1 and sheet 2. Sheet 1 also shows that the models have been drawn. I would like to have a formula or vba code that says, "IF a cell from CHARACTERISTICS!A:A matches a cell from ROOM USAGE!A:A and the corresponding row from CHARACTERISTICS!B:B has an "X" in the cell then it should fill the cell in ROOM USAGE!D:D with an "X".

Can anyone help me with this? I have tried using MATCH, VLOOKUP, IF, AND, etc.

Ideally I would like this to be conditional formatting so that it gives a color to ROOM USAGE!A:A.
2ik8mxc.jpg
[/IMG]
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Formula for D2 on ROOM USAGE would be:

Code:
=IF(IFERROR(INDEX(CHARACTERISTICS!$B:$B,MATCH($A2,CHARACTERISTICS!$A:$A,0)),"")="X","X","")

You could make this into a conditional format on that tab using the same approach. Highlight the appropriate cells from A2 downwards in ROOM USAGE and base a new conditional format on the following formula:

Code:
=IFERROR(INDEX(CHARACTERISTICS!$B:$B,MATCH($A2,CHARACTERISTICS!$A:$A,0)),"")="X"

WBD
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,980
Members
449,201
Latest member
Lunzwe73

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