+ Reply to Thread
Results 1 to 5 of 5

Cell format to report StDev range

  1. #1
    Forum Contributor
    Join Date
    01-09-2009
    Location
    NJ/NY
    MS-Off Ver
    Excel 2007 & 2016
    Posts
    124

    Cell format to report StDev range

    Hello - I have a sheet with means and standard deviations calculated, but I would like to report the +/- 1, +/- 2 and +/- 3 standard deviations as a range, in this format: x.xxxx - x.xxxx, i.e., if the mean is 0.341 and the SD is 0.0029, I would like to report +/- 1 SD as "0.3381 - 0.3439". The "space hyphen space" between the two numbers would be text, and I think this could be done with cell formatting, but I haven't been able to figure this out.

    Thank you.
    Last edited by OverKnight; 08-27-2015 at 10:45 AM.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,375

    Re: Cell format to report StDev range

    I cannot see getting cell formatting to do this.

    I will usually use the CONCATENATE() and TEXT() functions to do this: =CONCATENATE(TEXT(mean,"0.0000")," - ",TEXT(1*sdev,"0.0000"). Of course, this results in a text string with two pieces of information, so I usually treat this as a "dead end" calculation. I usually make sure I leave the mean and standard deviation (to their full precision) separately in their own cells for use in downstream calculations.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    01-09-2009
    Location
    NJ/NY
    MS-Off Ver
    Excel 2007 & 2016
    Posts
    124

    Re: Cell format to report StDev range

    Thank you, MrShorty. I don't know why I thought cell formatting could do this... that's why I come here!

    Sorry for the late response. I tried to attach a sheet yesterday, but was not able to. A1:E4 on the attached sheet contains how I would like the data to be presented. A8:E11 contains your formulae, which I believe I've entered correctly. Hopefully this sheet better explains what I'm trying to do.

    Thank you.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Cell format to report StDev range

    Hi, another way (see attached),

    C9: =TEXT($A9-$B9*COLUMNS($C9:C9),"0.0000")&" - "&TEXT($A9+$B9*COLUMNS($C9:C9),"0.0000")

    and copy across.

    Hope this helps,
    berlan
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    01-09-2009
    Location
    NJ/NY
    MS-Off Ver
    Excel 2007 & 2016
    Posts
    124

    Re: Cell format to report StDev range

    Thank you, Berlan, and very sorry about the late response; I was away from the office.

    This works exactly as needed, but I see now that I'll need to include a text label at the beginning of each, so it would display like this: +/- 1 SD: 0.3288 - 0.3345. How would I do this?

    Again, thank you for your help.
    Last edited by OverKnight; 08-27-2015 at 10:50 AM.

+ 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. stdev, with IF accessing data range using Indirect
    By Rajitha in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-06-2014, 11:58 AM
  2. [SOLVED] variable range with STDEV
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2013, 09:55 AM
  3. [SOLVED] Several formulas with specific range criteria (AVERAGEIFS, STDEV(IF), COUNTIFS)
    By thaphthia in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 04-11-2013, 05:22 PM
  4. Replies: 5
    Last Post: 04-02-2013, 02:25 PM
  5. [SOLVED] MEDIAN, STDEV of a range IF another range = specific value
    By Barb Reinhardt in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-26-2006, 12:20 PM
  6. SAP BW Report - Putting the Unit of Measure or Currency in another Cell based on Format Cell
    By Frank & Pam Hayes in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-03-2005, 01:40 PM
  7. [SOLVED] How to compute StDev of only nonzero entries in a range?
    By Sam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-18-2005, 08:06 AM

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