+ Reply to Thread
Results 1 to 6 of 6

STDEV ignoring blank cells aswell as transforming negative numbers to positive.

  1. #1
    Registered User
    Join Date
    05-31-2016
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    11

    STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    Hello,

    Im trying to look at an column that holds this data:

    -170
    171
    172
    -173
    174
    175
    176
    177

    -178
    179
    180
    180
    180
    180
    180

    And then calculate the STDEV from that not counting blanks and ignoring the - infront of some numbers (I want to use the value, just not -)

    I tried this, but cant make it work; {=STDEV(VALUE(SUBSTITUTE(E6:E21;"-";"")))+0}

    Any idea?

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    Try this array formula
    =STDEV.S(IF(ISNUMBER(A3:A18),ABS(A3:A18)))

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    Quote Originally Posted by José Augusto View Post
    =STDEV.S(IF(ISNUMBER(A3:A18),ABS(A3:A18)))
    The STDEV.S function requires Excel 2010 or later.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    Quote Originally Posted by Tony Valko View Post
    The STDEV.S function requires Excel 2010 or later.
    Thanks Tony. Yes, you are right. STDEV and STDEVP exists in 2010 and further for compatibility mode
    So, I suppose the solution is the array formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    for Excel 2007 and previous version

  5. #5
    Registered User
    Join Date
    05-31-2016
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    11

    Thumbs up Re: STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    Thanks for your help, worked like a charm!

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: STDEV ignoring blank cells aswell as transforming negative numbers to positive.

    You are welcomed.
    Don't forget to mark this thread as SOLVED.

+ 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. Averaging numbers while ignoring blank cells.
    By bjordan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2007, 05:09 PM
  6. [SOLVED] change 2000 cells (negative numbers) into positive numbers
    By lisbern in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 01:00 PM
  7. [SOLVED] 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