+ Reply to Thread
Results 1 to 5 of 5

IF Statement needed to change cell value based on input of another cell

  1. #1
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    IF Statement needed to change cell value based on input of another cell

    Hello - I'll openly admit IF statements are still a learning curve for me so any help is appreciated, this is sort of an extension of a prior post I had presented.

    I have a Due Date column which is manually input by the user.

    Based upon this date, the Due Date timer starts a countdown using =A3-Today(), once the item hits 10 or less days conditional formatting turns it yellow, 5 or less days turns red.

    Currently I am using a formula that when an entry is put in Completion Date the conditional formatting stops and the cell returns to no fill =IF(A3="","",A3-TODAY())

    Ideally I would like Column B to not display negative days even if it has changed colors due to being completed. Any ideas on a formula I could use to have Column B - due date timer change from a countdown to either "Completed" or just completely blank, no data if a Completion Date has been entered?

    Any help is much appreciated and I'm always happy to give kudos to those who solve my issue.
    Attached Files Attached Files

  2. #2
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: IF Statement needed to change cell value based on input of another cell

    =if(a3="","",if(c3<>"","",a3-today()))

  3. #3
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Re: IF Statement needed to change cell value based on input of another cell

    Thanks dosydos...the formula is doing what I would like however the conditional formatting then appears to no longer work, I am using a formula to cause the fill (not that specific color matters, just referencing for you on my example):

    =AND($B24<>"",$B24<=5,$C24="") this is red
    =AND($B24<>"",$B24<=10,$C24="") this is yellow

    I am using these rules so that is there is no due date input, the due date timer in column b does not display a large negative number which was happening when I was using a simple cell value less than or equal to conditioning.

    Any ideas or adjustments to the above?

  4. #4
    Forum Contributor
    Join Date
    09-08-2016
    Location
    Buffalo, NY
    MS-Off Ver
    365
    Posts
    115

    Re: IF Statement needed to change cell value based on input of another cell

    Sorry dosydos, jumped the gun on that one! The conditional is working on my real document, for some reason it did not apply on my example. You're a life saver!

  5. #5
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    MA, USA
    MS-Off Ver
    365(PC) V:2412
    Posts
    1,477

    Re: IF Statement needed to change cell value based on input of another cell

    Glad it worked out

+ 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. macro needed: change cell colour based on input in another column
    By weesteev in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2012, 02:47 PM
  2. Change a cell based on input
    By Flyer5000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-06-2010, 11:35 AM
  3. [SOLVED] How do I change the format of a cell based on what I input?
    By Husker87 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  4. [SOLVED] How do I change the format of a cell based on what I input?
    By Husker87 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  5. [SOLVED] How do I change the format of a cell based on what I input?
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 09:05 AM
  6. [SOLVED] How do I change the format of a cell based on what I input?
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 04:05 AM
  7. How do I change the format of a cell based on what I input?
    By Husker87 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  8. How do I change the format of a cell based on what I input?
    By Husker87 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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