+ Reply to Thread
Results 1 to 2 of 2

Normalize data

  1. #1
    Registered User
    Join Date
    02-17-2014
    Location
    Afghanistan
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Normalize data

    Hey everyone,

    I am trying to create a formula to normalize my data sheets.
    So basically, what I need is to calculate a ratio and repeat it as many times as the 100% amount. I could use the click+scroll method, but in some cases it would be rather very annoying.

    As an example: I have 4 apple trees and I want the RED APPLES / ALL APPLES ratio for all trees and repeat it as many times as the ALL APPLES value, in order to get a standard deviation for all the trees. To do so, I need to normalize the apples.

    what I have:

    Tree-nr/ red apples/all apples
    Tree 1/ 1/10
    Tree 2/ 5/6
    Tree 3/ 2/2
    Tree 4/ 1/5

    What I want:

    Tree 1
    0,1
    0,1
    0,1
    0,1
    0,1
    0,1
    0,1
    0,1
    0,1
    0,1
    Tree 2
    0,833333333
    0,833333333
    0,833333333
    0,833333333
    0,833333333
    0,833333333
    Tree 3
    1
    1
    Tree 4
    0,2
    0,2
    0,2
    0,2
    0,2


    Thanks in advance!!

    PS: My excel version is 2007
    Last edited by MrKickAss; 02-17-2014 at 11:06 AM.

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Normalize data

    I don't get it. Wouldn't it be easier to just use a population-weighted standard deviation calculation instead?

    Like, STDEV is defined (in excel) as SQRT( sum(x - mean)^2 / (n-1) ) for each x from 1 to n in a range.

    So couldn't you just find a weighted average and then run:
    =SQRT(sumproduct(total, x - weighted_average, x - weighted_average) / sum(all_apples, -1) )

    Something like that? That's like a guess, not something I derived on a sheet of paper properly, so there's a good chance it has holes in it.

    But my point is, I feel like you'd have a much easier time adjusting the formula to properly accept the dataset you actually have, rather than trying to message the dataset into some intermediate form to match the way the built-in functions work.

+ 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. Need to normalize (or scale) variable data ranges
    By MissBiss23 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-14-2013, 03:44 PM
  2. Normalize datasets
    By jorgeneriksen in forum Excel General
    Replies: 2
    Last Post: 01-27-2011, 11:06 AM
  3. Normalize Data on a Chart for Correlation
    By rziegler in forum Excel General
    Replies: 1
    Last Post: 08-13-2009, 10:11 AM
  4. How to normalize data
    By excellicious in forum Excel General
    Replies: 3
    Last Post: 02-05-2009, 11:20 PM
  5. problem to normalize data
    By alnnbutms in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-19-2006, 07:40 PM

Tags for this Thread

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