+ Reply to Thread
Results 1 to 2 of 2

Excel 2013: Change text in cell based on date in another cell

  1. #1
    Registered User
    Join Date
    04-14-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    3

    Excel 2013: Change text in cell based on date in another cell

    I have the the following spreadsheet: http://postimg.org/image/nti4akie5/
    My formula in Columns A to E is the following:

    =IF(ISNA(VLOOKUP(Query1_2[@Branch],Master!A:J,10,FALSE)),"Branch Not Open",VLOOKUP(Query1_2[@Branch],Master!A:J,10,FALSE))

    I would like to do the following in Column A:
    If the date in Column C is greater than today, then Column A must also say "Branch Not Open".
    I have tried the following:

    =IF(ISNA(VLOOKUP(Query1_2[@Branch],Master!A:J,10,FALSE)),"Branch Not Open",VLOOKUP(Query1_2[@Branch],Master!A:J,10,FALSE)),IF(C:C<=TODAY,"Branch Not Open, IF(AND(C:C=>TODAY,VLOOKUP(Query1_2[@Branch],Master!A:I,9,FALSE)))

    But Excel does not like the formula at all. Please help!
    Attached Images Attached Images
    Last edited by LisaJean; 04-14-2014 at 09:38 AM. Reason: Solved

  2. #2
    Registered User
    Join Date
    04-14-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Excel 2013: Change text in cell based on date in another cell

    Nevermind. Got the answer
    =IF(C:C>TODAY(),"Branch Not Open",VLOOKUP(Query1_2[@Branch],Master!A:J,10,FALSE))

+ 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. Simple formula to display a date (10/19/2013) as text (October 2013)
    By benyben123 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-20-2013, 03:47 AM
  2. Replies: 5
    Last Post: 01-31-2013, 11:25 PM
  3. Change font color based on the ending text string (date) of a cell
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 01-31-2013, 04:04 PM
  4. Replies: 1
    Last Post: 05-10-2012, 11:51 PM
  5. Formula for date change based on text in adjacent cell
    By checklist in forum Excel General
    Replies: 5
    Last Post: 04-21-2011, 10:30 AM

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