+ Reply to Thread
Results 1 to 2 of 2

Separating positive and negative numbers?

  1. #1
    Registered User
    Join Date
    03-04-2008
    Posts
    1

    Separating positive and negative numbers?

    Hi, say I have a column of data. Each entry is either a positive or negative number. I would like to be able to sort out the positive numbers from the negative numbers so that I can find the sum of just the positive numbers and just the negative numbers (the columns are 1000s of entries so handpicking would be very time-exhausting). Is there a way to do this? Any help would be greatly appreciated.

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    use SUMIF

    e.g. for negative numbers

    =SUMIF(F1:F10000,"<0")

    and for positive

    =SUMIF(F1:F10000,">0")

    Ed

+ 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