Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have this setup:

1643790665232.png


I have a row of formulas saying IF(ISBLANK(cell below),return blank value, otherwise return value to the left + 7) to advance the week one week ahead when data is entered.

I want to create a conditional formatting for this row, so whenever a value is entered, it gets highlighted in a certain color.

However, whenever I try this, it highlights all the cells, because they contain this formula (even though the formula returns a blank value, as seen in column G, H and I above for example.

Does anybody know how I can bypass this issue? I hope my question makes sense, otherwise let me know and I would be happy to rephrase!

Kind regards,
Jyggalag :)
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hello,

Yes the "" is a 'kind of value'

The conditional formatting formula will be.

=G3=""

Then select no fill - or a different colour.

Jamie
 
Upvote 0
Solution
Hello,

Yes the "" is a 'kind of value'

The conditional formatting formula will be.

=G3=""

Then select no fill - or a different colour.

Jamie
Hi again Jamie,

I hope that all is well with you. And thank you so much for your quick input :)

Should I make one conditional formatting rule for each cell (this is fine by the way, as I plan to operate with 4 cells only) then?

I tried this right now, but it does not seem to work (my cell gets highlighted whether there's a value in the cell or not):

1643792281727.png
 
Upvote 0
Hello,

Yes the "" is a 'kind of value'

The conditional formatting formula will be.

=G3=""

Then select no fill - or a different colour.

Jamie
Please disregard my prior question. Your formula worked (just had to use the formula option in conditional formatting).

Apologies and thank you so much Jamie!! :)
 
Upvote 0
Hello,

I just posted that before I went out.

In the conditional formatting menu; select "use a formula to determine cells to format". Type in, or paste, =G3="" and choose the format you want.

Then use 'Format Painter' to copy it to all cells. You can type it in to all the cells if you prefer.

Jamie
 
Upvote 0
Hello Jean,

The images below show exactly how the "Test File" should look, and where the values are pasted after the macro runs.

Jamie
 

Attachments

  • Slide1.JPG
    Slide1.JPG
    161 KB · Views: 29
  • Slide2.JPG
    Slide2.JPG
    159.5 KB · Views: 32
  • Slide3.JPG
    Slide3.JPG
    165.1 KB · Views: 32
Upvote 0
Hello Jean,

The images below show exactly how the "Test File" should look, and where the values are pasted after the macro runs.

Jamie
Hi Jamie,

I worry that you may have posted this in the wrong thread :)

BR.
Jyggalag
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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