+ Reply to Thread
Results 1 to 10 of 10

Conditional Formatting based on Function issue

  1. #1
    Registered User
    Join Date
    09-24-2021
    Location
    Exeter, England
    MS-Off Ver
    Office 365 in app
    Posts
    5

    Conditional Formatting based on Function issue

    Hi all.
    I am trying to have 4 levels of format...

    Less than 8 weeks elapsed
    =TODAY()<=F2+56

    Between 8-10weeks
    =AND(TODAY()>=F2+56,T0DAY()<F2+70)

    Between 10-12 weeks
    =AND(TODAY()>=F2+70,T0DAY()<F2+84)

    Over 12 weeks
    =TODAY()>F2+84

    As you can see the less than 8 and more than 12 are working but not the 2 in betweens. Can't figure what i've done wrong
    formatscreenclip.png
    Last edited by DJTUK; 09-24-2021 at 08:13 AM.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Conditional Formatting based on Function issue

    Well, that does nothing to explain what your problem is. Please try to describe it in words.

    Pete

  3. #3
    Registered User
    Join Date
    09-24-2021
    Location
    Exeter, England
    MS-Off Ver
    Office 365 in app
    Posts
    5

    Re: Conditional Formatting based on Function issue

    Sorry, was trying to delete one of the attachments

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Conditional Formatting based on Function issue

    It would also help if you attached a sample Excel workbook, rather than a picture of one. To do this, follow the instructions in the yellow banner at the top of the screen.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    09-24-2021
    Location
    Exeter, England
    MS-Off Ver
    Office 365 in app
    Posts
    5

    Re: Conditional Formatting based on Function issue

    Here it is, thanks Pete.
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Conditional Formatting based on Function issue

    You still haven't explained what you are trying to achieve.

    Which two are not working as you wish and what results do you want from them??? How can we know from non-working formulae what your intentions are?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,742

    Re: Conditional Formatting based on Function issue

    Works fine.
    Attached Images Attached Images
    Attached Files Attached Files
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  8. #8
    Registered User
    Join Date
    09-24-2021
    Location
    Exeter, England
    MS-Off Ver
    Office 365 in app
    Posts
    5

    Re: Conditional Formatting based on Function issue

    Quote Originally Posted by KOKOSEK View Post
    Works fine.
    Hi, thank you for looking. That is exactly what I'd hoped to see. However, when I open it the light greens and golds just aren't working and I'm exasperated to the point of utter despair lol. I don't suppose you can think of a reason why this might work for others and not myself. (The sheet I posted is literally the original, just with the extra sheets and data removed.)

  9. #9
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Conditional Formatting based on Function issue

    Change T0DAY to TODAY and also remove the "$" sign.

    Additionally, sort out the overlapping: =TODAY()<=C3+56 and =AND(TODAY()>=C3+56,T0DAY()<C3+70).

  10. #10
    Registered User
    Join Date
    09-24-2021
    Location
    Exeter, England
    MS-Off Ver
    Office 365 in app
    Posts
    5

    Re: Conditional Formatting based on Function issue

    Quote Originally Posted by josephteh View Post
    Change T0DAY to TODAY and also remove the "$" sign.

    Additionally, sort out the overlapping: =TODAY()<=C3+56 and =AND(TODAY()>=C3+56,T0DAY()<C3+70).
    Wow, how the 0's got in there I'll never know. Worked a treat, thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Conditional Formatting based on VLOOKUP - Issue with Blanks
    By Hozcat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-22-2021, 07:44 AM
  2. [SOLVED] conditional formatting based on a divisible factor minus 1 and age populated by bday issue
    By TravisD76 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-29-2019, 01:35 AM
  3. conditional formatting with IF function issue
    By tomyg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2018, 02:46 AM
  4. Conditional formatting based on lookup and if function
    By Charlene Hainsworth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-28-2016, 10:45 AM
  5. [SOLVED] Conditional Formatting based on a Formula VBA Issue
    By lashellr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2014, 11:58 AM
  6. [SOLVED] Conditional Formatting Based on TODAY() Function
    By rylock in forum Excel General
    Replies: 6
    Last Post: 11-22-2013, 07:25 PM
  7. Replies: 7
    Last Post: 07-05-2010, 06:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1