+ Reply to Thread
Results 1 to 2 of 2

Urgent help with populating an array formula

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

    Urgent help with populating an array formula

    Hi all,

    I am trying to calculate the Standard Deviation of an array. However, to populate the array, I have the following:



    Count Number 1 Count Number 2 Count Number 3
    1 100 2 200 3 300

    For example, this above means that there are 1 100's, 2 200's, 3 300's. I would ideally like to populate an array that is {100,200,200,300,300,300} based on those 6 columns that provide a count and a number. Then, I would like to calculate the standard deviation based on those (in this case it is 74.5).

    Does anyone know how to do this without VBA? Thank you so so much! Any help / tips would be greatly appreciated...array.jpg

  2. #2
    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,632

    Re: Urgent help with populating an array formula

    Yes, it can be done without VBA.
    One shall start with basic equations for the standard deviation calculation.

    The data layout if more than inconvenient*, so I ended up with rather long formula. But it is working.
    The only thing to observe when adopting to your real data layout is that nis shall be in odd columns and xis in following even columns. if it is opposite in all MODs use xis range, not nis.

    My "magic formula" :-D is:
    Please Login or Register  to view this content.
    *) of course would be much easier and shorter if data is organized in rows/columns like (or transposed/reversed, but separate x and n):
    1 100
    2 200
    3 300
    Last edited by Kaper; 03-16-2014 at 03:17 AM.
    Best Regards,

    Kaper

+ 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] (urgent help pls) how to apply array formula with ctrl+shift+enter
    By otabokauyelikicin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2013, 09:56 AM
  2. [SOLVED] Populating an Array with Values
    By fredrs05 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-29-2013, 12:19 PM
  3. Replies: 2
    Last Post: 04-24-2011, 03:08 PM
  4. Populating Array in VBA
    By phil_b in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2010, 10:15 AM
  5. URGENT! Need help on resetting an array
    By NSKearns in forum Excel General
    Replies: 0
    Last Post: 08-17-2006, 04:28 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