+ Reply to Thread
Results 1 to 6 of 6

If Statement problem

  1. #1
    Registered User
    Join Date
    08-22-2013
    Location
    Cape Town
    MS-Off Ver
    Excel 2011
    Posts
    9

    Question If Statement problem

    Hi there guys
    I've been struggling with this problem for a good hour.

    I have a 2 inputs for the function but 4 possible outputs they being :

    Low High = Puzzle
    Low Low = Dog
    High Low = Plough Horse
    High High = Star

    Is there a possible formula that can sort that out for me.

    Kind Regards

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

    Re: If Statement problem

    Are High and Low the only possible entries? Might there be empty cells?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    08-22-2013
    Location
    Cape Town
    MS-Off Ver
    Excel 2011
    Posts
    9

    Re: If Statement problem

    Wait i missed some essential details sorry.

    like alot :/

    Popularity Profitablity
    Low Low = Dog
    High High = Star
    High Low = Plough Horse
    Low High = Puzzle

    Those are the only possible scenarios how this clears it up a bit

  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 Statement problem

    Try this...

    =IF(COUNTA(A1:B1)<2,"",IF(A1="Low",IF(B1="Low","Dog","Puzzle"),IF(B1="High","Star","Plough Horse")))

  5. #5
    Registered User
    Join Date
    08-22-2013
    Location
    Cape Town
    MS-Off Ver
    Excel 2011
    Posts
    9

    Re: If Statement problem

    To Tony

    Tony that worked a charm thank you very much i really appreciate it you have saved a lot of hassle, and i really admire what you're able to do

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

    Re: If Statement problem

    You're welcome. Thanks for the feedback!

+ 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. Problem with IF Statement
    By microhunt in forum Excel General
    Replies: 9
    Last Post: 11-15-2014, 04:58 PM
  2. IF statement problem
    By Brian0275 in forum Excel General
    Replies: 5
    Last Post: 06-12-2012, 04:35 PM
  3. Now() statement within a IF(AND statement problem
    By Modify_inc in forum Excel General
    Replies: 3
    Last Post: 03-27-2011, 04:17 PM
  4. Problem with IF statement within a COUNTIF statement
    By girlofscience in forum Excel General
    Replies: 5
    Last Post: 04-22-2009, 10:20 AM
  5. SQL statement problem
    By talytech in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-08-2007, 09:37 PM
  6. problem with IF statement
    By wolfpack95 in forum Excel General
    Replies: 4
    Last Post: 08-23-2006, 06:46 PM
  7. If Statement Problem
    By TB via OfficeKB.com in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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