+ Reply to Thread
Results 1 to 4 of 4

Help in writing an Excel equation

  1. #1
    Registered User
    Join Date
    08-07-2005
    Location
    Ann Arbor, MI
    Posts
    7

    Help in writing an Excel equation

    Hi,

    I couldn't figure out how to write a certain equation, and I thought you guys might be able to help me.

    Here's my situation:

    I have one column setup in my spreadsheet filled with many, many rows of positive and negative numbers. What I want to do is have some box over to the right of this immense column that lists the sum of all of the negative numbers in the whole list, added together. Is this possible to accomplish? If so, could someone give me pseudo code to do it?

    Thanks for your help,

    Jason
    Jason Q

  2. #2
    Gary's Student
    Guest

    RE: Help in writing an Excel equation

    If your mixture of positive and negative values are stored in Column A, then

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

    will return the sum of the negative numbers in this column.
    --
    Gary's Student


    "JasonQ" wrote:

    >
    > Hi,
    >
    > I couldn't figure out how to write a certain equation, and I thought
    > you guys might be able to help me.
    >
    > Here's my situation:
    >
    > I have one column setup in my spreadsheet filled with many, many rows
    > of positive and negative numbers. What I want to do is have some box
    > over to the right of this immense column that lists the sum of all of
    > the negative numbers in the whole list, added together. Is this
    > possible to accomplish? If so, could someone give me pseudo code to do
    > it?
    >
    > Thanks for your help,
    >
    > Jason
    >
    >
    > --
    > JasonQ
    >
    >
    > ------------------------------------------------------------------------
    > JasonQ's Profile: http://www.excelforum.com/member.php...o&userid=26014
    > View this thread: http://www.excelforum.com/showthread...hreadid=393696
    >
    >


  3. #3
    Gary's Student
    Guest

    RE: Help in writing an Excel equation

    sorry: is stored, not are stored.
    --
    Gary's Student


    "Gary's Student" wrote:

    > If your mixture of positive and negative values are stored in Column A, then
    >
    > =SUMIF(A:A,"<0")
    >
    > will return the sum of the negative numbers in this column.
    > --
    > Gary's Student
    >
    >
    > "JasonQ" wrote:
    >
    > >
    > > Hi,
    > >
    > > I couldn't figure out how to write a certain equation, and I thought
    > > you guys might be able to help me.
    > >
    > > Here's my situation:
    > >
    > > I have one column setup in my spreadsheet filled with many, many rows
    > > of positive and negative numbers. What I want to do is have some box
    > > over to the right of this immense column that lists the sum of all of
    > > the negative numbers in the whole list, added together. Is this
    > > possible to accomplish? If so, could someone give me pseudo code to do
    > > it?
    > >
    > > Thanks for your help,
    > >
    > > Jason
    > >
    > >
    > > --
    > > JasonQ
    > >
    > >
    > > ------------------------------------------------------------------------
    > > JasonQ's Profile: http://www.excelforum.com/member.php...o&userid=26014
    > > View this thread: http://www.excelforum.com/showthread...hreadid=393696
    > >
    > >


  4. #4
    Registered User
    Join Date
    08-07-2005
    Location
    Ann Arbor, MI
    Posts
    7
    Thanks for the help; that was exactly what I needed.

    -Jason

+ 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