Microsoft Office Forums Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-21-2019, 10:44 AM
PrincessApril PrincessApril is offline Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Windows 10 Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Office 2019
Novice
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row
 
Join Date: Nov 2019
Posts: 23
PrincessApril is on a distinguished road
Default Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row

Hi all,



I am trying to highlight a blank cell as a reminder to the user to perform an action with an approaching due date (based on multiple conditions).

My active cell (the potentially blank cell) is G5. I need the formula to only highlight G5 red if all of the following are true:
  1. G5 is blank
  2. the value in B5 is equal to the letter "C" (this is a text cell)
  3. today's date is within 45 days of a year after the date entered in cell D5 (this is a client intake date and is the basis for all of the due dates in the row, and the target action must be performed within 365 days of that initial date).

I was trying to piece together various rules I had seen from other threads. I'm currently working with what is shown below, but of course it's not working. Any ideas? Thank you in advance for any assistance you can provide.

=AND($B$5="C",$D$5="",D5<=(TODAY()-320))
Reply With Quote
  #2  
Old 11-21-2019, 11:33 AM
NBVC's Avatar
NBVC NBVC is offline Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Windows 10 Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 210
NBVC will become famous soon enough
Default

Should the middle argument reference G5 per your explanation of the issue?


=AND($B$5="C",$D$5="",D5<=(TODAY()-320))
Reply With Quote
  #3  
Old 11-21-2019, 12:15 PM
PrincessApril PrincessApril is offline Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Windows 10 Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Office 2019
Novice
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row
 
Join Date: Nov 2019
Posts: 23
PrincessApril is on a distinguished road
Default

Thank you both for the replies. Yes that was a typo in my post (but not in my actual formula). It looks like the issue is with the date.

EDIT

Okay I have tried a few iterations and I'm still stuck on the date. I suppose I'm just not understanding. I feel like this should work, but I'm getting buggy results:

=AND($B$5="C",D5<=(TODAY()-320),$G$5="")

After entering that conditional formula, I tested it by changing the date in cell D5 to some dates that were clearly out of range on both sides. At first it seemed to recognize the cutoff by highlighting red at the right value, but then when I changed the date to the other side of the range, the red would not go away. Any ideas? (I tried putting the arguments in alphabetical order out of curiosity, but that did not seem to make a difference).
Reply With Quote
  #4  
Old 11-21-2019, 12:50 PM
PrincessApril PrincessApril is offline Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Windows 10 Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row Office 2019
Novice
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row
 
Join Date: Nov 2019
Posts: 23
PrincessApril is on a distinguished road
Default

Actually that is working--I had to save the document for it to stop being buggy. Not sure why but glad it worked.
Reply With Quote
Reply

Tags
conditional formatining, dates, multiple conditions

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to make sum based on multiple conditions, HELP! ilsel Excel 3 11-15-2017 02:03 AM
Merging 2 different cells containing IF formula & change in cell values based on multiple time frame jay_excel Excel 0 07-29-2017 11:04 PM
Perform calc in active cell then highlight based on formula result grexcelman Excel Programming 4 01-12-2015 11:00 AM
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row multiple conditions, and blank cells with the countifs function jaden0605 Excel 1 03-30-2014 01:50 AM
Highlight Blank Cell Based on Multiple Conditions from Other Cells in Row How to highlight the row based on cell value? Learner7 Excel 1 12-11-2011 02:28 AM


All times are GMT -7. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft