+ Reply to Thread
Results 1 to 4 of 4

Value Positive and Negative Numbers

  1. #1
    Registered User
    Join Date
    12-07-2014
    Location
    West Midlands
    MS-Off Ver
    2010
    Posts
    13

    Value Positive and Negative Numbers

    zbor and sweep helped me with a formula for counting how many positive and negative number there were on a sheet, (columns B & C). Could someone please explain how I can transfer the values to separate columns. I want to be able to establish an average of the positive and negative values, (columns D & E) http://screencast.com/t/guVkfWSDOm

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,446

    Re: Value Positive and Negative Numbers

    Hi,

    in D2, =IF(A2<0,A2,"")
    in E2, =IF(A2>0,A2,"")

    copied down.



    Average of negative values =AVERAGEIF(A2:A7,"<0")
    Average of positive values =AVERAGEIF(A2:A7,">0")
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Value Positive and Negative Numbers

    Hi
    You can directly get count and average without distributing values in separate columns if you want..
    Check attached...
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  4. #4
    Registered User
    Join Date
    12-07-2014
    Location
    West Midlands
    MS-Off Ver
    2010
    Posts
    13

    Re: Value Positive and Negative Numbers

    thank you guys

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] SUMIF positive and negative numbers - take double a negative number?
    By Zordrail in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2014, 08:34 AM
  2. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  3. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM
  4. Replies: 1
    Last Post: 11-20-2008, 01:52 AM
  5. convert negative numbers to positive numbers and vice versa
    By bill gras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2005, 09:45 PM

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