+ Reply to Thread
Results 1 to 8 of 8

Need Formula HELP

  1. #1
    Sandi
    Guest

    Need Formula HELP

    I have an Excel spreadsheet that has one column full of positive numbers and
    negative numbers. I need a formula that will add up all the positive numbers
    in one cell and all the negative numbers in another. I can do this by
    selecting each cell one-by-one, but is there a faster way? It's a lot of
    numbers to select one-by-one, that's why I am asking. THANKS :-)
    --
    Sandi Gardner

  2. #2
    Danny Lewis
    Guest

    RE: Need Formula HELP

    In the column next to it, (say the first value is in A3), so in B3, put
    =if(A3>0,"x","y").

    Run this formula to the bottom.

    Then in a separate cell, write =sumif(B:B,"x",A:A)

    That should work ok

    Danny

    "Sandi" wrote:

    > I have an Excel spreadsheet that has one column full of positive numbers and
    > negative numbers. I need a formula that will add up all the positive numbers
    > in one cell and all the negative numbers in another. I can do this by
    > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > --
    > Sandi Gardner


  3. #3
    Danny Lewis
    Guest

    RE: Need Formula HELP

    Sorry and repeat the formula elsewhere for negative ie =SUMIF(B:B,"y",A:A)

    "Sandi" wrote:

    > I have an Excel spreadsheet that has one column full of positive numbers and
    > negative numbers. I need a formula that will add up all the positive numbers
    > in one cell and all the negative numbers in another. I can do this by
    > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > --
    > Sandi Gardner


  4. #4
    Arvi Laanemets
    Guest

    Re: Need Formula HELP

    Hi

    =SUMIF(A:A,">0",A:A)
    =SUMIF(A:A,"<0",A:A)



    --
    Arvi Laanemets
    ( My real mail address: arvi.laanemets<at>tarkon.ee )



    "Sandi" <Sandi@discussions.microsoft.com> wrote in message
    news:3EE174EA-F0CC-423C-8F4C-06195B785A2A@microsoft.com...
    >I have an Excel spreadsheet that has one column full of positive numbers
    >and
    > negative numbers. I need a formula that will add up all the positive
    > numbers
    > in one cell and all the negative numbers in another. I can do this by
    > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > --
    > Sandi Gardner




  5. #5
    Danny Lewis
    Guest

    Re: Need Formula HELP

    *steps back, sheepishly*

    yes that's a little more simple....

    "Arvi Laanemets" wrote:

    > Hi
    >
    > =SUMIF(A:A,">0",A:A)
    > =SUMIF(A:A,"<0",A:A)
    >
    >
    >
    > --
    > Arvi Laanemets
    > ( My real mail address: arvi.laanemets<at>tarkon.ee )
    >
    >
    >
    > "Sandi" <Sandi@discussions.microsoft.com> wrote in message
    > news:3EE174EA-F0CC-423C-8F4C-06195B785A2A@microsoft.com...
    > >I have an Excel spreadsheet that has one column full of positive numbers
    > >and
    > > negative numbers. I need a formula that will add up all the positive
    > > numbers
    > > in one cell and all the negative numbers in another. I can do this by
    > > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > > --
    > > Sandi Gardner

    >
    >
    >


  6. #6
    Sandi
    Guest

    RE: Need Formula HELP

    SUPER - worked like a charm!!!! Thanks so much!!!!!
    --
    Sandi Gardner


    "Danny Lewis" wrote:

    > Sorry and repeat the formula elsewhere for negative ie =SUMIF(B:B,"y",A:A)
    >
    > "Sandi" wrote:
    >
    > > I have an Excel spreadsheet that has one column full of positive numbers and
    > > negative numbers. I need a formula that will add up all the positive numbers
    > > in one cell and all the negative numbers in another. I can do this by
    > > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > > --
    > > Sandi Gardner


  7. #7
    Sandi
    Guest

    RE: Need Formula HELP

    SUPER - worked like a charm!!!! Thanks so much!!!!!
    --
    Sandi Gardner


    "Danny Lewis" wrote:

    > Sorry and repeat the formula elsewhere for negative ie =SUMIF(B:B,"y",A:A)
    >
    > "Sandi" wrote:
    >
    > > I have an Excel spreadsheet that has one column full of positive numbers and
    > > negative numbers. I need a formula that will add up all the positive numbers
    > > in one cell and all the negative numbers in another. I can do this by
    > > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > > --
    > > Sandi Gardner


  8. #8
    Sandi
    Guest

    RE: Need Formula HELP

    SUPER - worked like a charm!!!! Thanks so much!!!!!
    --
    Sandi Gardner


    "Danny Lewis" wrote:

    > Sorry and repeat the formula elsewhere for negative ie =SUMIF(B:B,"y",A:A)
    >
    > "Sandi" wrote:
    >
    > > I have an Excel spreadsheet that has one column full of positive numbers and
    > > negative numbers. I need a formula that will add up all the positive numbers
    > > in one cell and all the negative numbers in another. I can do this by
    > > selecting each cell one-by-one, but is there a faster way? It's a lot of
    > > numbers to select one-by-one, that's why I am asking. THANKS :-)
    > > --
    > > Sandi Gardner


+ 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