+ Reply to Thread
Results 1 to 5 of 5

3 conditions returning 1 result

  1. #1
    Registered User
    Join Date
    01-05-2012
    Location
    St Louis MO
    MS-Off Ver
    Office 365
    Posts
    9

    3 conditions returning 1 result

    I have 2 columns I want to compare.
    A1 contains value 1
    A2 contains value 2
    A3 contains the result

    If A1 is larger than A2 the result is "Down".
    If A2 is larger than A1 the result is "Up".
    If A1 is equal to A2 the result is "No Change".

    Seems simple enough but for the life of me I can only find solutions for 2 of the 3 conditions.

    Thank you for your help.

    Deb Bagby

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: 3 conditions returning 1 result

    Try:

    =IF(A1>A2,"Down",IF(A2>A1,"Up","No change"))

  3. #3
    Registered User
    Join Date
    01-05-2012
    Location
    St Louis MO
    MS-Off Ver
    Office 365
    Posts
    9

    Re: 3 conditions returning 1 result

    formula.jpgReturns a "Down" where there should be a "No Change".
    Last edited by DebBagby; 01-05-2012 at 04:52 PM. Reason: Adding a photo

  4. #4
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: 3 conditions returning 1 result

    Then the two values aren't identical - are they formatted to 2 decimal places, or similar?

  5. #5
    Registered User
    Join Date
    01-05-2012
    Location
    St Louis MO
    MS-Off Ver
    Office 365
    Posts
    9

    Re: 3 conditions returning 1 result

    You're correct! I'm working off someone elses spreadsheet and didn't realize they had decimals in there breaking it down.

    Thank you for your help!

+ 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