Formula for conditional formatting - using part of the criteria from another cell.

daren.beaney

New Member
Joined
Jun 14, 2011
Messages
16
Hi, I'm really struggling with how to solve a problem I have. What I have is:
  1. A spreadsheet that contains different rugby clubs per age group.
  2. A defined drop-down list of those clubs in cell D3
  3. Conditional formatting to highlight the clubs based on the drop-down value selected

The situation has now changed and I have [club name] A or B What I need to do now is:

  1. Use the same process above but highlight the club regardless of it having A or B on the end.

So by selecting say a club name like Ashford via the drop-down in D3 it would highlight any cell that had either Ashford A or Ashford B within cells C6:H32.

Hope that makes sense.

Thanks for your help.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try conditionally formatting C6:H32 with the formula:

=LEFT(C6,LEN($D$3))=$D$3

This assumes that there is no overlap of team names, e.g. if you have another team called Ashford North, or Ashfordworth, say, we'll need to change the approach.
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,054
Members
452,542
Latest member
Bricklin

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