+ Reply to Thread
Results 1 to 4 of 4

Simple Issue: Standard Deviation by Date range...

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Simple Issue: Standard Deviation by Date range...

    HelloPeople

    I have a problem that would appear to be simple, but I am missing something:

    A table listing of various websites (called siteIDs) has a range of dates and each date has associated figures (clicks and impressions).

    What I would like to do is give a standard deviation calculation of impressions for each site ID, but each site ID has a random number of dates (rows) attributed to it- so no set formula.

    I have a attached a sample set of data of 2 Site IDs, but bare in mind the full set is around 1000 rows so the manual SDEV formula I have used here would be too time consuming a process.

    How do I set the row range for the STDEV always equal to the number of rows of the given SiteID.

    Your thoughts,

    Thanks,
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Simple Issue: Standard Deviation by Date range...

    Add a helper column first...

    say between current columns C and D..

    So in new C2 enter formula:

    =LOOKUP(REPT("z",255),B$3:B3)

    copied down. You can hide this column.

    Unmerge the results column (don't use merged cells for formulas that you want to copy down/across).. and enter formula:

    =IF(B3<>"",STDEV(IF($C$3:$C$15=C3,$F$3:$F$15)),"")

    adjust ranges to suit, and confirm with CTRL+SHIFT+ENTER not just ENTER and copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Simple Issue: Standard Deviation by Date range...

    OK, some of the uses of the uses functions here are quite advanced.. but I'm guessing they are standard templates than can be
    tweaked for examples such as this??

    I am not getting the right numbers out of this.. do you have a possible suggestions?

    My working is attached.

    Thanks,
    Attached Files Attached Files
    Last edited by niceguy21; 06-19-2012 at 10:01 AM.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Simple Issue: Standard Deviation by Date range...

    You are refererencing column C when you should be referencing column D...

    =IF(B3<>"",STDEV(IF($D$3:$D$15=D3,$F$3:$F$15)),"")

    confirmed with CTRL+SHIFT+ENTER not just ENTER.

    and D3 should be:

    =LOOKUP(REPT("z",255),B$3:B3)

    copied down.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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