+ Reply to Thread
Results 1 to 3 of 3

Thread: Sumif help

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    Palm Springs, CA.
    MS-Off Ver
    Excel 2003
    Posts
    2

    Sumif help

    Hello, hoping someone can help me with the following function:

    Solving for G1 and H1
    If the amount in E1 is greater than the amount in F1 then the difference goes into G1
    If the amount in E1 is less than the amount in F1 then the difference goes into H1

    Example #1:
    E1= $100
    F1= $105
    G1 should be $0
    H1 should be $5

    Example #2:
    E1= $105
    F1= $100
    G1 should be $5
    H1 should be $0

    Any help would be greatly appreciated!!

    Thanks

    Greg
    Last edited by _Greg_; 06-29-2011 at 02:17 PM.

  2. #2
    Forum Guru ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    traded up
    MS-Off Ver
    2003 & 2010
    Posts
    1,905

    Re: Sumif help

    Hi,

    In G1 use:

    =IF(E1>F1,E1-F1,0)
    and in H1 use:

    =IF(E1<F1,F1-E1,0)
    Cheers,
    “To sin by silence when they should protest makes cowards of men.” ~ Abraham Lincoln

  3. #3
    Registered User
    Join Date
    06-29-2011
    Location
    Palm Springs, CA.
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Sumif help

    Got it and 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.2.0