+ Reply to Thread
Results 1 to 8 of 8

Cell color by day and text

  1. #1
    Registered User
    Join Date
    04-28-2006
    Location
    California
    Posts
    15

    Answer given, thank you>>Cell color by day and text

    Good morning.

    New job means new needs.....thank you for looking and your assistance.

    I would like to know if this can be done, and if so, how?
    I have a spread sheet that goes by days of the month and every day the inventory clerk inputs the daily inventory count onto the sheet.

    What I would like to try is: As he inputs the number into that day, have the cell turn yellow and the previous day go back to no fill.

    Explain:

    A2 to A33 represent the calander day 1-31.
    All cells are to be "no color fill"
    On the 1st he adds a number to A2, it turns yellow.
    On the 2nd, he adds his number to A3.
    A2 turns back to "no color fill" (retaining the number) and A3 turns to yellow fill.

    Following through to the 31st.


    Can this be done?

    Thanks for your help.

    Scuba
    Last edited by Scuba Wino; 10-30-2007 at 12:44 PM. Reason: Resolved

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Highlight A2:A33 and go to conditional formatting;

    Formula is =AND(ISBLANK(A3),NOT(ISBLANK(A2))) and set your formatting however you want. This will format the cell if the next cell is blank and that cell is not. Does this do what you want?

    ChemistB

  3. #3
    Registered User
    Join Date
    04-28-2006
    Location
    California
    Posts
    15
    I appreciate the input, but either I am not doing it correctly or it isn't the solution I am looking for (at this time...)

    Thanks

  4. #4
    Registered User
    Join Date
    04-28-2006
    Location
    California
    Posts
    15
    Bump.

    Still stuck. Anyone have an idea.

    Thanks

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    A example file may help.

    Not sure what number will be entered

    On the 1st he adds a number to A2
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  6. #6
    Registered User
    Join Date
    04-28-2006
    Location
    California
    Posts
    15
    Quote Originally Posted by VBA Noob
    A example file may help.

    Not sure what number will be entered

    VBA Noob
    My inventory technician inputs a daily inventory to his cell for that day. For example, what I'd like to do is:

    In A1 he enters his count for that day (the 1st of the month). That cell now turns yellow.

    On the 2nd of the month (the next day) he enters his count into A2.

    Now, A1 is to turn back to no fill color and A2 is to turn yellow.

    Thanks

    SW

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Maybe I'm misunderstanding but attached is what I originally suggested. Take a look and see if that's what you need.

    ChemistB
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-28-2006
    Location
    California
    Posts
    15
    Quote Originally Posted by ChemistB
    Maybe I'm misunderstanding but attached is what I originally suggested. Take a look and see if that's what you need.

    ChemistB
    THAT'S IT! Thank you. I'll keep trying to get it to work.

    Thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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