+ Reply to Thread
Results 1 to 10 of 10

Negative Average

  1. #1
    Registered User
    Join Date
    12-01-2010
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    16

    Negative Average

    Greetings all, little probleem I ran into:
    Lets say I have a list with values, these values are totally random, but 2 things are certain- they are either positive or negative. My problem would be, how can I take both postive and negative arithmetic averages from them ? The negative average is what I have more in my mind, some sort of negative average command ? Thank you for taking your time reading this

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Negative Average

    Do mean calculate an average based on only positive or negative values?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    12-01-2010
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Negative Average

    yes, basically, i mean make 2 cells for the answers: one for postive average, other for negative average, what I brainstormed was: IF less then zero, I didnt manage

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Negative Average

    You need to use an array formula, comit with CTRL+SHIFT+ENTER

    data in A1:A16

    positives
    =AVERAGE(IF(A1:A16>=0,A1:A16))

    negatives
    =AVERAGE(IF(A1:A16<0,A1:A16))
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Negative Average

    wouldnt :-

    =AVERAGEIF(A1:A16,">=0")

    negatives
    =AVERAGEIF(A1:A16,"<0")

    be simpler?
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  6. #6
    Registered User
    Join Date
    12-01-2010
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Negative Average

    seems to work thank you, but, one issue, the negative averages are presented with +(pluss), i would like them to be with - (minus), tried format cells, but didnt get a minus in front of the average

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Negative Average

    If you have xl2007 or above then yes.

  8. #8
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Negative Average

    just add - before the Average

    =-AVERAGE(IF(A1:A16<0,A1:A16))

    or
    =-AVERAGEIF(A1:A16,"<0")

  9. #9
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Negative Average

    I don't get pluses for the negative average in my example. Are you sure you are doing it correctly?

  10. #10
    Registered User
    Join Date
    12-01-2010
    Location
    Tallinn
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Negative Average

    no no, everything is working fine now, thanks for help guys, just wanted to present my negative average results with a negative sign, cheers for the help

+ 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