Conditional Formatting cells with with formula if cells are not blank

RoryJ80

New Member
Joined
Mar 20, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
As per the snippet below, I have an internal order spreadsheet set up for our office and field personnel. So they fill out the Field Personnel Columns B to H, I fill out columns J to M and then once the items have arrived to there field location they fill out columns O to Q. I have set up Conditional formatting so that we can see when items have been ordered and sent in in columns J to M and O to Q when is arrived in the field.

What I would like to do and I'm struggling to is add a Conditional Formatting to Columns B to H when a date is added to Column O. So when the field personnel receive the items in the field and add a date to column O it will highlight columns B to H, as in the first snippet below.

1679359177933.png


In the next snippet, shows the formula I used to be able to highlight those columns in B to H in row 5 but when i try to change the formula so that it will do all rows in column below row 5 i keep getting errors. The spreadsheet row s are infinite there is no end row.

1679359657912.png


1679359718604.png


Is there a way so that when the guys in the field add a date to column O it will highlight columns B to H in that particular row?
 

Attachments

  • 1679358890390.png
    1679358890390.png
    37.3 KB · Views: 22

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try this:

Book1
ABCDEFGHIJOP
1ColumnBColumnCColumnDColumnEColumnFColumnGColumnHColumnO
2ZLEXRTNRMXCZDLUAPNMIT2023-03-14
3SLHLSJXCMPKJRZENLRFFA2023-03-18
4FQOTEEYMCHBXSUPKUFTWJ
5NEBNAVJYLYCXDHYNIXZLV
6SKEXWNZWRODNMNOYPXZWS2023-03-02
7
Sheet2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B3:H6Expression=ISNUMBER($O3)textNO
B2:H2Expression=ISNUMBER($O2)textNO
 
Upvote 0
why is the "Stop if True"? It probably doesn't make a difference, though.

but, your formula is O in row 3, and youre asking it to apply to B:H in row 5. Is that what you want?
 
Upvote 0
You can use
Excel Formula:
=$O5<>""
and for the applies to range use something like
Excel Formula:
=$B$5:$H$5000
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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