+ Reply to Thread
Results 1 to 4 of 4

Get cell to display a specific word

  1. #1
    Registered User
    Join Date
    01-07-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Get cell to display a specific word

    I am using the formula below to calculate the number of days left to do something, when there are no days left I want the cell to display "Begun" in red italic text. Is it possible to do that via this formula or is a macro needed?

    =IF(ISBLANK(E2),"",IF((E2-I2)<0,"",E2-I2-10&(" Days")))
    Last edited by jsolder; 10-23-2009 at 10:34 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Get cell to display a specific word

    =IF(ISBLANK(E2),"",IF((E2-I2)<0,"Begun",E2-I2-10&(" Days")))

    Use conditional formatting to check cell for Begun.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    01-07-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    92

    Re: Get cell to display a specific word

    That works. Would I be able to modify that formula to display "Complete" in the Cell if Cell L2 contains "Passed"?

    =IF(ISBLANK(E2),"",IF((E2-I2)<0,"Begun",E2-I2&(" Days")))

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Get cell to display a specific word

    =IF(ISBLANK(E2),"",IF((E2-I2)<0,if(L2="Passed","Complete","Begun"),E2-I2&(" Days")))

+ 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