+ Reply to Thread
Results 1 to 5 of 5

IF condition based on multiple text values

  1. #1
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    IF condition based on multiple text values

    hi Team,

    i have 3 coloumns in which the coloumn A will have different status like Open,Closed, Availaible etc. Coloumn C have dates. i am trying to put a formula in coloumn B.

    This is what i am looking for:

    If the cell in coloumn A is "Open" or "Availaible", Date in Coloumn C - today's date - 35. For all other status in coloumn A, coloumn B should be blank.

    Attached is the sheet.

    Please help
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: IF condition based on multiple text values

    Please Login or Register  to view this content.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    Re: IF condition based on multiple text values

    the formula is not working.

    This is what i was looking for

    If coloumn A = "Open" or "Availaible" then (Coloumn C)-(today())-35.

    For all other status in coloumn A, coloumn B should be blank.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF condition based on multiple text values

    Try this...

    =IF(OR(A2={"Open","Availaible"}),C2-TODAY()-35,"")

    You've misspelled available. That 2nd i is the culprit!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: IF condition based on multiple text values

    You could have worked that out yourself.

+ 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. VLOOKUP Multiple Values then give answer based on condition
    By Wetfloor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-07-2014, 10:24 AM
  2. [SOLVED] Get set of multiple values from a table based on condition
    By coolfundaz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2013, 10:53 AM
  3. split text files stored in some location to multiple files based on a condition
    By GIRISH_KH in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-01-2013, 11:32 AM
  4. [SOLVED] Extracting multiple values based on the condition...Pls help (Urgnt)
    By krratheesh80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2012, 10:06 AM
  5. Sum values from multiple worksheets based on a condition
    By ledisnomad in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-15-2010, 11:26 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