+ Reply to Thread
Results 1 to 14 of 14

Sum IF function

  1. #1
    Registered User
    Join Date
    04-25-2005
    Posts
    11

    Sum IF function

    I think that I want to use Sum If, but here is my goal. I have 3 cells where I will enter numbers that will add up to a number between 0 and 500. Whatever that number is I need to subtract it from 500 and take that and add it to another cell that is currently valued at 1500.

    Example. I enter 0's in the first 3 cells, I need the final cell to show 2000.

    Please help!!
    Thanks,
    pat

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Let's assume the value 1500 is in B1, you are entering 3 values in A1:A3. You want to determine what number you need to have in A4 to equal 500.

    In A4 enter =500-SUM(A1:A3)

    If A1:A3 are all zero, A4 will return 500, regardless of the value in B1. If the values are as follows:

    Please Login or Register  to view this content.
    A4 will return 400

    Is this what you are looking for?
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  4. #4
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  5. #5
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  6. #6
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  7. #7
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  8. #8
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  9. #9
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  10. #10
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  11. #11
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  12. #12
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  13. #13
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




  14. #14
    Bernie Deitrick
    Guest

    Re: Sum IF function

    > I have 3 cells

    Let's say A1, A2, and A3

    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.


    Let's say that cell is C1.

    Then in another cell:

    =C1+500-A1-A2-A3

    or

    =C1+500-SUM(A1,A2,A3)

    HTH,
    Bernie
    MS Excel MVP


    "patd7260" <[email protected]> wrote in message
    news:[email protected]...
    >
    > I think that I want to use Sum If, but here is my goal. I have 3 cells
    > where I will enter numbers that will add up to a number between 0 and
    > 500. Whatever that number is I need to subtract it from 500 and take
    > that and add it to another cell that is currently valued at 1500.
    >
    > Example. I enter 0's in the first 3 cells, I need the final cell to
    > show 2000.
    >
    > Please help!!
    > Thanks,
    > pat
    >
    >
    > --
    > patd7260
    > ------------------------------------------------------------------------
    > patd7260's Profile: http://www.excelforum.com/member.php...o&userid=22625
    > View this thread: http://www.excelforum.com/showthread...hreadid=385230
    >




+ 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