+ Reply to Thread
Results 1 to 3 of 3

Correcting formula to display OR using 3 logical IF's

  1. #1
    Forum Contributor
    Join Date
    05-19-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    200

    Correcting formula to display OR using 3 logical IF's

    I have this formula:

    =OR(IF(AC1="P";"Pending";"");(IF(AC1="S";"Submitted";""));(IF(AC1="R";"Received";"")))

    It's displaying: "#VALUE!"

    I want it to be like this:
    IF AC1=P Then display "Pending"
    OR IF AC1=S Then display "Submitted"
    OR IF AC1=R Then display "Received"
    ELSE "" (blank)

    Please help!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,523

    Re: Correcting formula to display OR using 3 logical IF's

    =IF(AC1="P";"Pending";IF(AC1="S";"Submitted";IF(AC1="R";"Received";"")))


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    05-19-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    200

    Re: Correcting formula to display OR using 3 logical IF's

    Great!... I didn't know you could do that with "IFs"... I thought I needed the OR function.
    I learned something new..

    Thanks!

+ 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