dayna

New Member
Joined
Aug 30, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone! (Sorry this is so dense)

I am trying to find a way to use conditional formatting to override my existing conditional formatting, while still retaining it underneath.
I want to do this by having the conditional format recognize when I have input a date manually VS. our pre-existing formula-made dates.
I will provide screenshots below as this is hard to explain.

The colored dates below are done with multiple conditional formatting rules, and I have provided a screenshot of those as well.
Every date is a formula, based on a date off screen that we input manually, used to create a timeline / due date for each step.
Sometimes our steps are completed before or after the date estimated by the formula, and we would then input it manually.
Ideally when we input the date manually, it would automatically change the fill color of the cell, as it is no longer a formula, and you can tell it was entered by me instead.

The greying out of the entire row happens once I enter the final completion date (that today's date has passed already) in the far right column.
I would still like this conditional format rule to apply over-top of the one I'm looking for help with creating.

I've done many google searches and have tried many different ways, but none of them are giving me exactly what I am looking for.
If this can't be done with conditional formatting please let me know how else I could get it to work. (or if this is just not a thing at all!)


Thanks!!

Conditionally Formated Dates.png


Conditional Formatting Rules.png
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Simply add another conditional formatting with formula as below

=ISFORMULA(Cell reference of Date where you want formatting to override)

This shall test if the cell contains any formula. Simple
 
Upvote 0
Simply add another conditional formatting with formula as below

=ISFORMULA(Cell reference of Date where you want formatting to override)

This shall test if the cell contains any formula. Simple
Hi Sanjay,

Thanks for helping, but that does not do what I am trying to do. I would like to select whole columns. I do not want to have to go in and select the single cell every time, I want it to be automated.
If there's a way to add multiple like this with your suggestion, and I just don't know how, feel free to let me know.

Attempt #1 - Too many arguments.png



Also, the formula did not work when I selected a single cell, even though the rule was at the top of my list, and it was not a formula just a date.

Attempt #1 - Didn't work.png



I have also tried two other ways which did not work either. [ =AND(A1<>"",NOT(ISFORMULA(A1))) ] & [ =ISFORMULA(G6)=FALSE ] G6 being the first cell in my dates.
These seemed to choose which cells to format randomly, as some are dates and some are formulas, and I would not want the blanks to be filled as there are no values in them.

Test #1 - Wrong.png

Test #2 - Wrong.png
 
Upvote 0
Just to explain things, I am using same in column C in my Worksheet

=ISFORMULA($C:$C)

And it's working absolutely fine. What could matter is the order of other conditions.

See example below -
Two succeeding rows have same value but one has formula and is highlighted in Blue Text

All Records.xlsb
C
5815Wed, 31 Aug 2022
5816Wed, 31 Aug 2022
Bank
Cell Formulas
RangeFormula
C5815C5815=TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C:LExpression=OR($C1="",$C1="Dt")textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),MONTH($C1)=4)textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),OR(MONTH($C1)=1,MONTH($C1)=7,MONTH($C1)=10))textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)>=(MONTH($C1048576)+1))textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),MONTH($C1)<(MONTH($C1048576)+1),YEAR($C1)>YEAR($C1048576))textYES
C:LExpression=AND(NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))),$C1048576<>"",$C1>$C1048576)textNO
C:CExpression=AND($B1="",ISFORMULA($C1),NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))))textNO
C:CCell Value=TODAY()textNO
C:CCell Value=TODAY()+1textNO
C:CCell Value=TODAY()+2textNO
C:CCell Valuebetween TODAY()+3 and TODAY()+6textNO
C:CExpression=AND($B1048576="",ISFORMULA($C1),NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))))textNO
 
Upvote 0
Just to explain things, I am using same in column C in my Worksheet

=ISFORMULA($C:$C)

And it's working absolutely fine. What could matter is the order of other conditions.

See example below -
Two succeeding rows have same value but one has formula and is highlighted in Blue Text

All Records.xlsb
C
5815Wed, 31 Aug 2022
5816Wed, 31 Aug 2022
Bank
Cell Formulas
RangeFormula
C5815C5815=TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C:LExpression=OR($C1="",$C1="Dt")textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),MONTH($C1)=4)textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),OR(MONTH($C1)=1,MONTH($C1)=7,MONTH($C1)=10))textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)>=(MONTH($C1048576)+1))textYES
C:LExpression=AND($C1048576<>"",MONTH($C1)<>MONTH($C1048576),MONTH($C1)<(MONTH($C1048576)+1),YEAR($C1)>YEAR($C1048576))textYES
C:LExpression=AND(NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))),$C1048576<>"",$C1>$C1048576)textNO
C:CExpression=AND($B1="",ISFORMULA($C1),NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))))textNO
C:CCell Value=TODAY()textNO
C:CCell Value=TODAY()+1textNO
C:CCell Value=TODAY()+2textNO
C:CCell Valuebetween TODAY()+3 and TODAY()+6textNO
C:CExpression=AND($B1048576="",ISFORMULA($C1),NOT(ISERROR(DATE(YEAR($C1),MONTH($C1),DAY($C1)))))textNO

Hi again Sanjay, Thank you for your quick response! I really appreciate all the time you've given to help me out.

Unfortunately, I just can't seem to make your suggestion work the way I want, and I think I might just be too dumb for this part of excel haha. I also can't find it in your rule list? Should I be typing it differently?
I've tried moving your formula you gave me up and down my list of conditional formats, turning on and off the "stop if true" while I did, but nothing at all happened to my G column.
I've uploaded a mini-sheet of my workbook so you can see exactly what's going on, without any attempt of the additional formatting I am trying to achieve.
I got all of the conditional formatting I've done from googling - I don't quite know which part of the formulas do what, I just searched and copy-pasted until I found one that actually worked for what I wanted.

Schedule - MrExcel.xlsx
ABCDEFGHIJKLMNOPQRSTU
1Today's Date:31-Aug-22
2= Enter Date / Value
3
4blahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblahblah
50Original Equation Cells25-Aug-2231-Aug-22--07-Sep-2205-Oct-2226-Oct-2223-Nov-2202-Nov-2216-Nov-2223-Nov-2230-Nov-2216030-Nov-2212-Dec-2219-Dec-2220-Dec-22?20-Dec-22
6-
7Rel #327-Jul-2216-Jul-2216-Aug-22-ASAP
8blahRel #2blah16-Aug-22TBDTBD2003-Oct-2210-Oct-22N/AN/A10-Oct-22
9blahRel #3blah22-Jul-22TBDTBD-19-Sep-2226-Sep-22ASAP26-Sep-22
10blahRel #1blah29-Jul-2217-Aug-2224-Aug-22410-Oct-2217-Oct-2229-Aug-2211-Oct-22
11blahRel #2blah29-Jul-2217-Aug-2223-Aug-224004-Oct-2212-Oct-2229-Aug-2211-Oct-22
12blahRel #3blah29-Jul-2217-Aug-2223-Aug-222004-Oct-2211-Oct-2229-Aug-2211-Oct-22
13blahMock-Upblah13-Jul-2220-Jul-2220-Jul-22--31-Jul-22
14blahRel #1blahTBDTBDTBD-01-Oct-22
15blahblah26-Apr-22---6403-Oct-2207-Oct-2210-Oct-2210-Oct-22
16blahRel #1blah12-Apr-2217-May-2217-May-22-27-Jun-2225-Jun-22
17blahRel #1blah28-Apr-2213-Jul-2205-Aug-2209-Aug-2216-31-Aug-22
18blahRel #1blah30-Aug-22TBDTBD-18-Oct-2218-Oct-22
19blahRel #1blah03-Mar-2227-Jun-2227-Jun-2203-Aug-22--08-Nov-22
20blahRel #1blah18-Jul-2226-Aug-2211-May-2228-Jul-2229-Jul-2211029-Aug-2208-Sep-2215-Sep-2216-Sep-22-26-Sep-22
21blahRel #1blah08-Apr-2203-May-2218-May-2219-May-222024-Aug-2231-Aug-2207-Sep-2208-Sep-22-09-Sep-22
22blahblah08-Apr-2218-Jul-2203-Aug-2203-Aug-225019-Sep-2227-Sep-2204-Oct-2205-Oct-22-26-Sep-22
23blahblah14-Apr-22142.25-
24blahRel #1blah25-Apr-2216-Jun-2212-Jul-2220-Jul-228019-Sep-2226-Sep-22N/AN/A25-Jul-2226-Sep-22
25blahblah27-May-2205-Sep-2226-Sep-2224-Oct-2203-Oct-2217-Oct-2224-Oct-2231-Oct-223031-Oct-2207-Nov-2214-Nov-2215-Nov-22N/A
26blahblah17-Jun-2215-Jul-2205-Aug-2202-Sep-2212-Aug-2226-Aug-2202-Sep-2209-Sep-221009-Sep-2216-Sep-2223-Sep-2224-Sep-2215-Oct-22
27blahblah20-Jul-2217-Aug-2207-Sep-2205-Oct-2214-Sep-2228-Sep-2205-Oct-2212-Oct-22153412-Oct-2205-Dec-2212-Dec-2213-Dec-2201-Mar-23
28blahblah15-Jul-2212-Aug-2202-Sep-2230-Sep-2209-Sep-2223-Sep-2230-Sep-2207-Oct-2211307-Oct-2217-Oct-2224-Oct-2225-Oct-2201-Nov-22
29blahblah233401-Jun-23
30blahblah16-Aug-2213-Sep-2204-Oct-2201-Nov-2211-Oct-2225-Oct-2201-Nov-2208-Nov-229508-Nov-2217-Nov-2224-Nov-2225-Nov-2201-Dec-23
31
schedule
Cell Formulas
RangeFormula
E1,D5E1=TODAY()
G5G5=D5+1*7
H5,J5,H30,J30,H26:H28,J25:J28H5=G5+4*7
I5,I30,I25:I28I5=H5+3*7
K5,K30,K25:K28K5=L5-2*7
L5:M5,L30:M30,L25:M28L5=M5-1*7
N5,N30,N25:N28N5=P5
P5,P30,P25:P28P5=J5+1*7
Q5,Q30,Q25:Q28,Q20:Q22,Q10:Q12,Q8Q5=P5+(O5/32)+7
R5,R30,R25:R28,R20:R22R5=Q5+1*7
S5,S30,S25:S28,S20:S22S5=R5+1
U5U5=S5
Q15Q15=P15+(O15/32)+2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A:C,E:N,P:S,U:UExpression=AND($U1<>"",$U1<TODAY())textNO
G:N,P:SCell Valuebetween TODAY()+70 and TODAY()+140textNO
G:N,P:SCell Valuebetween TODAY()+35 and TODAY()+70textNO
G:N,P:SCell Valuebetween $E$1+2 and TODAY()+35textNO
G:N,P:SCell Valuebetween TODAY()+2 and $E$1textNO
G:N,P:SCell Valuebetween TODAY()-5000 and TODAY()+2textNO
 
Upvote 0
Check below, including Conditional Formatting Order.

Hope it helps

All Records.xlsb
BC
29/1/22FALSE
39/1/22FALSE
49/1/22FALSE
59/1/22TRUE
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=ISFORMULA(B2)
B5B5=TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:C5Expression=ISFORMULA(B2)textNO
B2:B5Dates OccurringtodaytextNO
 
Upvote 0
Check below, including Conditional Formatting Order.

Hope it helps

All Records.xlsb
BC
29/1/22FALSE
39/1/22FALSE
49/1/22FALSE
59/1/22TRUE
Sheet1
Cell Formulas
RangeFormula
C2:C5C2=ISFORMULA(B2)
B5B5=TODAY()
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:C5Expression=ISFORMULA(B2)textNO
B2:B5Dates OccurringtodaytextNO

Hi Sanjay, Thank you!!

I think I was looking for a solution without having to create extra columns, but this works exactly how I wanted, so extra columns it is! Will simply hide them away haha.

Thanks again!
Dayna :)
 
Upvote 0
Hi Sanjay, Thank you!!

I think I was looking for a solution without having to create extra columns, but this works exactly how I wanted, so extra columns it is! Will simply hide them away haha.

Thanks again!
Dayna :)
I showed you extra column to tell you where exactly the formula was - You don't need to create extra column

Just keep Formula testing condition above the other conditions on the same column. Simple
 
Upvote 0
I showed you extra column to tell you where exactly the formula was - You don't need to create extra column

Just keep Formula testing condition above the other conditions on the same column. Simple

Well in that case, your previous reply I marked as my solution would still not work for me in a single column, as your condition "=isformula(b2)" highlights the formula cells, and what I'm trying to do is the opposite and only highlight cells that have manually inputted text/dates in them. I have also tried "=istext(g6)" but that does not work either as my dates are dates and not text, whether or not I input them manually or use formulas.

I suppose I will simply keep the extra columns - can't figure out any way to make it work all in one.
 
Upvote 0

Forum statistics

Threads
1,215,129
Messages
6,123,214
Members
449,091
Latest member
jeremy_bp001

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