+ Reply to Thread
Results 1 to 8 of 8

Conditional Formatting- drop down box and fill past due

  1. #1
    Registered User
    Join Date
    04-25-2017
    Location
    Oklahoma city, Ok
    MS-Off Ver
    2010
    Posts
    14

    Conditional Formatting- drop down box and fill past due

    I have looked and tried, and no luck.

    A1 has arrival date
    A2 Has drop down list with 1 day, 3 day, 5 day. (I can remove "day", if that helps) (same document sheet called Data)

    A3 to turn red if more that (1,3,5 days) Also A3 would be the completed date,

    I know this is simple but having no luck.
    Thank You in advance.
    Brad

  2. #2
    Valued Forum Contributor
    Join Date
    11-15-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    538

    Re: Conditional Formatting- drop down box and fill past due

    Do you know how to enter a "formula" format condition? If so, it sounds like you want to highlight A3 and enter this "formula" conditional format (alt-O-D shortcut, by the way):
    =if(A3>A2+A1)
    Then I suggest setting the "fill" or "pattern" (not the "foreground" cell font) to red, maybe a light red, in the conditional formatting dialog.

    Let me know if I went too fast on that. Also, are you using Excel 2010? (2003 and earlier are different)
    Chip, if you can read this, you're STILL making the world a better place with your immeasurably valuable gifts. Every week, you continue to help me (and untold numbers of others) tremendously. Practically no alternative outlets can match your effectiveness, even over the vast number of topics you demystify and empower usage of. You were, and still are, amazing.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Conditional Formatting- drop down box and fill past due

    As a rule, if you are working with numbers, it is almost always better to use numbers throughout. So if you are working with days, stick with the qty and leave the text out. As far as excel is concerned, 1 is a number, but 1 day is text, and you cant (easily) run calcs on text.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Valued Forum Contributor
    Join Date
    11-15-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2003
    Posts
    538

    Re: Conditional Formatting- drop down box and fill past due

    Ford caught my mistake that I left out telling you that, yes, it's easier if you get rid of "days" from the dropdown, and my solution was based on omitting "days".

    One flimsy possible workaround, only if you decided you DO need to keep "days" there, and assuming the first position is always the number (i.e. 1,3, or 5), could be to use
    VALUE(LEFT(A2,1))
    instead of A2 in the conditional formatting.

  5. #5
    Registered User
    Join Date
    04-25-2017
    Location
    Oklahoma city, Ok
    MS-Off Ver
    2010
    Posts
    14

    Re: Conditional Formatting- drop down box and fill past due

    I have attached what I'm needing. (I hope its attached)
    sorry I did try and even looked more on the website and still can't figure this out.
    excel 2010 & 2013

    Brad
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Conditional Formatting- drop down box and fill past due

    Hello abadbrad and Welcome to Excel Forum.
    Two things that may help:
    1. As Ford states values in Sheet2 column A are changed to numbers although custom formatting (0"Days") is applied to Sheet 1 column B.
    2. The formula that is used as a conditional formatting rule for column C is: =AND(A2<>"",OR(C2="",C2>SUM(A2,B2)))
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Registered User
    Join Date
    04-25-2017
    Location
    Oklahoma city, Ok
    MS-Off Ver
    2010
    Posts
    14

    Re: Conditional Formatting- drop down box and fill past due

    I am so sorry for the late thank you..
    But thank your answer has helped ...
    Thanks Again

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Conditional Formatting- drop down box and fill past due

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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 if within past 90 days
    By ibleedorange14 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-28-2017, 10:43 AM
  2. Replies: 0
    Last Post: 03-31-2015, 02:50 AM
  3. Conditional Formatting Past Due Dates
    By MLS Packer Lover in forum Excel General
    Replies: 7
    Last Post: 08-04-2011, 02:19 PM
  4. If past date - conditional formatting
    By guyzk1 in forum Excel General
    Replies: 2
    Last Post: 11-11-2010, 09:22 AM
  5. Conditional Formatting For Past Due Dates
    By Wayne085 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-26-2009, 03:52 AM
  6. Conditional Formatting for Items Past Due
    By Nilreveb in forum Excel General
    Replies: 2
    Last Post: 07-23-2009, 04:17 PM
  7. Conditional Formatting Copy Past?
    By Christine in forum Excel General
    Replies: 13
    Last Post: 08-30-2005, 10:05 PM

Tags for this Thread

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