If Column Contains "X" then highlight row

Stilts15ak

New Member
Joined
Jun 6, 2015
Messages
4
Hello All,

Hoping that someone can help me out.

I am currently trying to create a distribution list.

Down the left hand side in Column A (Name of person) & Column B (Email Address) Then Columns C through P are all of the different pieces of paperwork that need to get sent out. Under each piece of paperwork is an "X" indicating if that particular piece of paperwork needs to get sent out to that person. (More that one piece of paperwork can be sent out to an individual).

I would like with a drop down list (Say Cell "R2") that has all of the paperwork listed, when selected with the proper paperwork type selected highlight the name and email address of only those particular rows that have the "X" marked for that piece of paperwork. Taking also into account any additions added to the end of the list. The drop down list is easy enough to figure out. Link to view picture of sheet below.

Thank you for any help!

https://www.dropbox.com/s/v5icprrd8fpex5u/Highlight Row.jpg?dl=0
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hello,

select A2:P2 and select Conditional Formatting, and enter this formula

=INDEX($D2:$P2,0,MATCH($R$2,$D$1:$P$1,0))="X"

use the format painter to format other rows
 
Upvote 0
Thank you onlyadrafter!

Didn't work at first, but just had to change the D column reference to C and it works like a charm!

Thank you!
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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