+ Reply to Thread
Results 1 to 9 of 9

HELP with STDEVPA and Returning Multiple Individual Values

  1. #1
    Registered User
    Join Date
    03-14-2014
    Location
    SoCal
    MS-Off Ver
    Excel 2007
    Posts
    7

    HELP with STDEVPA and Returning Multiple Individual Values

    Hey guys,

    I'm having trouble with writing an equation that would help me perform a STDEVPA function on sales for each individual item sold in the past year. The Sales Record raw data sheet has thousands of records, with each individual item having multiple sales transactions. My goal is to reference the item number and bring back multiple individual values for each of the item number to derive their standard deviations. I've tried using the Index, Match, Small, Row functions but am not experienced enough with those to write an equation that would help me.

    I'm really hoping you guys can help me with this. Sorry, I can't attach my workbook for security reasons.

    Please find an over-simplified mock Sales Sheet attached that should help make it easier to understand.

    Mock Sales Sheet - Excel Help.xlsx

    Thanks in advance!!
    Last edited by MrIceBreaker; 03-17-2014 at 11:57 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    If you can't post a mockup, it's going to be difficult for anyone to help.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    May be you could use basic equation for standard deviation - see similar thread: http://www.excelforum.com/excel-gene...ml#post3624272
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    03-14-2014
    Location
    SoCal
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    I have updated my original post with a mockup that can be used.

    Thanks again.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    Via formula and pivot table:

    C
    D
    E
    F
    G
    H
    I
    J
    K
    2
    Item Desc Qty Unit Cost Item SD of Qty
    3
    A12345 XA
    2
    $ 5.00
    A12345
    1.090
    J3: {=STDEVP(IF($C$3:$C$21=I3, $E$3:$E$21))}
    4
    A12345 XA
    1
    $ 5.00
    B12345
    2.055
    5
    A12345 XA
    2
    $ 5.00
    C12345
    0.471
    6
    A12345 XA
    4
    $ 5.00
    D12345
    2.000
    7
    B12345 XB
    3
    $ 10.00
    E12345
    2.586
    8
    B12345 XB
    8
    $ 10.00
    9
    B12345 XB
    8
    $ 10.00
    10
    B12345 XB
    5
    $ 10.00
    Row Labels StdDevp of Qty
    11
    B12345 XB
    3
    $ 10.00
    A12345
    1.090
    12
    B12345 XB
    5
    $ 10.00
    B12345
    2.055
    13
    C12345 XC
    3
    $ 2.00
    C12345
    0.471
    14
    C12345 XC
    4
    $ 2.00
    D12345
    2.000
    15
    C12345 XC
    4
    $ 2.00
    E12345
    2.586
    16
    D12345 XD
    4
    $ 15.00
    Grand Total
    2.253
    17
    D12345 XD
    8
    $ 15.00
    18
    E12345 XE
    6
    $ 20.00
    19
    E12345 XE
    1
    $ 20.00
    20
    E12345 XE
    8
    $ 20.00
    21
    E12345 XE
    4
    $ 20.00


    I'm missing the relevance of cost in this calculation.

  6. #6
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    Try this in Cell J3...


    =STDEVPA(IF($C$3:$C$21=I3,$E$3:$E$21))
    **This is an Array formula.. need to press CTRL+SHIFT+ENTER when entering it into cells

    **EDIT: forgot the IF... same as yours shg
    Attached Files Attached Files
    Last edited by Xx7; 03-17-2014 at 02:23 PM.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    That evaluates all the rows where there is no match as zero values.

  8. #8
    Registered User
    Join Date
    03-14-2014
    Location
    SoCal
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    Worked like a charm. I had tried that already but didn't enter it in as an array formula. Then started over-thinking it.

    Thanks guys!!!

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: HELP with STDEVPA and Returning Multiple Individual Values

    You're welcome.

+ 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] Find and replace multiple values within individual cells
    By phbeats in forum Excel General
    Replies: 3
    Last Post: 03-14-2014, 05:13 PM
  2. Returning multiple values in multiple cells based upon one input
    By ccoonsk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2012, 10:01 AM
  3. Replies: 2
    Last Post: 05-12-2011, 01:34 PM
  4. Assining individual values to multiple identical strings
    By vivavilla in forum Excel General
    Replies: 1
    Last Post: 03-08-2011, 07:58 AM
  5. STDEVPA question
    By RD Wirr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-12-2005, 01:00 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