+ Reply to Thread
Results 1 to 4 of 4

Standard Deviation Across Column Fields

  1. #1
    Registered User
    Join Date
    05-08-2018
    Location
    Philadelphia, PA
    MS-Off Ver
    2013
    Posts
    11

    Exclamation Standard Deviation Across Column Fields

    Hello,

    Hope everyone is doing well.

    I have been playing around with a pivot table and cannot seem to figure this out. Essentially, I have a pivot table setup with columns as the week, customer and manufacturing plant as the rows, and the data is sum of the demand. What I want to do is calculate the standard deviation of the demand across all the weeks of the year.

    I have tried using calculated items, but cannot seem to figure out the arrangement to set it up. Maybe this isn't something that is possible, but I feel it has to be.

    Thanks!
    Tim

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Standard Deviation Across Column Fields

    It is difficult to answer the question without seeing the data. However, I do something very similar, but I have not found a way to get the results within the pivot table. I have a helper column to the left of the pivot table (since pivot tables expand to the right) with a formula like =IFERROR(STDEV(I13:CA13),0) for every row I am likely to have in the pivot table. For some applications, I overlay the helper columns with named dynamic ranges to eliminate the rows that "error out."

    Also in some cases I have a dynamic range for I13:CA13. I always know what cell I want to start in (current row, column I) and I know I want to return just one row, so the only "unknown" is the number of columns that I get counting all the dates in the date row.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    05-08-2018
    Location
    Philadelphia, PA
    MS-Off Ver
    2013
    Posts
    11

    Re: Standard Deviation Across Column Fields

    I am trying to use calculated items to calculate the standard deviation of customer demand by month (columns). The value field is the demand in lbs and the columns include the plant making the product, the product name, and the customer receieving it

    I create teh calculated item as =STDEV.S('1','2','3','4','5',','7','8','9','10','11','12'). When I create the calcluated item with limited row, it calculates in seconds. As soon as I add another field to rows, it hangs up. I can't tell if its actually calculating but taking forever or if its just hung up indefinitly.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Standard Deviation Across Column Fields

    If you can obfuscate the data so it isn't sensitive, a sample workbook would help.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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] Dynamically changing fields for calculating standard deviation
    By aylar3205 in forum Excel General
    Replies: 2
    Last Post: 02-01-2016, 03:18 PM
  2. Replies: 1
    Last Post: 09-11-2015, 01:43 PM
  3. Standard Deviation and Count for multiple subsets within a column
    By alexandra53190 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-27-2015, 06:28 PM
  4. Replies: 12
    Last Post: 04-04-2013, 11:02 PM
  5. Calculate standard deviation for column based on column heading
    By mattadler22 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 04:25 PM
  6. Standard Deviation of a column.
    By jebckr in forum Excel General
    Replies: 2
    Last Post: 02-02-2010, 01:44 AM
  7. Individual Standard Deviation Values for Each Column
    By Maurice. in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-14-2009, 11:48 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