Conditional formatting based on row data

default_name

Board Regular
Joined
May 16, 2018
Messages
180
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Hey all,

I am not sure if this is even possible, but I figured I'd ask/give it a shot.

In a spreadsheet I have a marker (denoted in cells with a * symbol).
Is there a way (without using VBA) to use conditional formatting to adjust the colors of the cells around the marker?

The following example tracks where certain people are at in a list of steps. The * symbol shows where they are. (ie: Bobby is on Step 7).
Is there a way to use Conditional Formatting to change the color of the cells to the left of the * (stopping with column B) to gray, and to change the cells containing the marker as well as cells to the right to blue?

ABCDEFGHI
1NameStep 1Step 2Step 3Step 4Step 5Step 6Step 7Step 8
2Jimmy
[GRAY]​
[GRAY]
* [BLUE]​
[BLUE][BLUE][BLUE][BLUE][BLUE]
3Steven
* [BLUE]​
[BLUE][BLUE][BLUE][BLUE][BLUE][BLUE][BLUE]
4Nadia[GRAY][GRAY][GRAY][GRAY]
* [BLUE]​
[BLUE][BLUE][BLUE]
5Bobby[GRAY][GRAY][GRAY][GRAY][GRAY][GRAY]* [BLUE][BLUE]

6
William[GRAY][GRAY][GRAY]
* [BLUE]​
[BLUE][BLUE][BLUE][BLUE]
7Lindsey[GRAY]
* [BLUE]​
[BLUE][BLUE][BLUE][BLUE][BLUE][BLUE]
8Marcus[GRAY][GRAY][GRAY][GRAY][GRAY][GRAY][GRAY]
* [BLUE]​


Hope that makes sense. I wanted to try to illustrate it in the above table, but I did not see any color options.

Again, I am not sure if this is even possible without VBA, but if it is, this would be great!
Thanks
 
So what exactly are the criteria, as there doesn't seem to be anything consistent.
 
Upvote 0

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
So what exactly are the criteria, as there doesn't seem to be anything consistent.
Yeah the data inconsistency is why I brought this back to you guys.
The criteria is a non-blank cell. Sometimes there is a *, other times there is text or a note, and other times there is a date. So I guess it'd just be searching for the first non-blank cell in the range from the right (or the first cell from the right that has some sort of content in it).
Hope that makes sense.
 
Upvote 0
As long as the empty cells are empty and not blank (there is a difference).
Book1
ABCDEFGHI
1NameStep 1Step 2Step 3Step 4Step 5Step 6Step 7Step 8
2Jimmy12/20/19*
3StevenHasn't started
4Nadia2/15/2020
5Bobby03/10/2020*
6Williamout of supplies
7Lindsey*
8Marcus01/04/20204/21/2020*
Sheet9
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:I8Expression=COUNTA($B2:B2)=COUNTA($B2:$I2)textNO
 
Upvote 0
You guys are the best!
Thank you Jasonb75! It works perfectly!
Again, thank you for your patience and my apologies for dragging this out.
I will try to be more careful to include everything at the beginning next time.
 
Upvote 0
Another option

+Fluff New.xlsm
ABCDEFGHI
1NameStep 1Step 2Step 3Step 4Step 5Step 6Step 7Step 8
2Jimmy12/20/19*
3StevenHasn't started
4Nadia2/15/2020
5Bobby03/10/2020*
6Williamout of supplies
7Lindsey*
8Marcus########4/21/2020*
Costs
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:I8Expression=COLUMN(B2)>=LOOKUP(2,1/($B2:$I2<>""),COLUMN($B:$I))textNO
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,323
Members
452,635
Latest member
laura12345

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