+ Reply to Thread
Results 1 to 10 of 10

Standardizing data

  1. #1
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    321

    Standardizing data

    The workbook attached has two tables. The 1st table is labeled initial data and the second table standardized data.

    In the second table, I standardize data in the first table by dividing each value with the average. The averages are regularly updated. The problem is that when the averages are negative values or zeros, I don’t agree with the results I get in the second table, especially when positive values in the initial table are expressed as negative values in the second table.

    I hope forum mathematicians can advise me on how to standardize data.


    Division.xlsx
    OnditiGK

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Standardizing data

    Column D average is positive. ANY positive number divided by a positive number remains positive. ANY negative number divided by a positive number remains negative.

    Column E average is negative. ANY negative number divided by a positive number becomes negative. ANY negative number divided by a negative number becomes positive.

    The sum (and average) of column E is zero. So you get a #DIV/0 error.

    You say: "I don’t agree with the results", they are mathematically correct. If you are EXPECTING something different, then you are using the wrong formula. So, what results do you EXPECT to see in column K (in numbers, not words) ?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    321

    Re: Standardizing data

    I want Positive values in the first table to remain positive even after standardizing them in the second table, and negative values to remain negative.
    Last edited by gko_87; 04-27-2017 at 03:05 AM.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Standardizing data

    Use this in I3, copied across and then down:

    =D3/ABS(D$24)

  5. #5
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    321

    Re: Standardizing data

    Tried that Glen. It works for columns I and J, but I get the #DIV/0! error in column K.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Standardizing data

    The average is zero. Please-read my Q, from above and supply an answer:

    You say: "I don’t agree with the results", they are mathematically correct. If you are EXPECTING something different, then you are using the wrong formula. So, what results do you EXPECT to see in column K (in numbers, not words) ?

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Standardizing data

    Basically, if you want a formula to produce numbers that break the rules of mathematics, you'll have to explain what results you expect to see. The average of the 3rd column IS zero. Divide ANY number by zero and the answer (correctly) is infinity. If that's not what you want, what do you want?

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Standardizing data

    Do you want the average of the absolute values of D, E & F??? We need to know what you really need and want...

  9. #9
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: Standardizing data

    I think you required how many percentage share against total Avg. If this correct.
    In "I3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In "J3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In "K3"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy paste down.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  10. #10
    Forum Contributor
    Join Date
    09-13-2016
    Location
    Kenya
    MS-Off Ver
    Excel 2010
    Posts
    321

    Re: Standardizing data

    Thank you both for your replies. I was able to find a way of getting the results i wanted. Thank you.

+ 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. Automatic Standardizing data
    By ofirofir in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-15-2016, 06:08 AM
  2. Standardizing data? Help!
    By cheoksoon in forum Excel General
    Replies: 10
    Last Post: 08-29-2014, 12:03 PM
  3. Replies: 1
    Last Post: 10-24-2012, 10:52 AM
  4. Standardizing random data and tallying item response
    By gradstu2010 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2010, 01:17 PM
  5. Standardizing Postcodes
    By mikeyfear in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-15-2008, 08:56 AM
  6. Standardizing Data Format Formula
    By serpent333 in forum Excel General
    Replies: 3
    Last Post: 01-04-2008, 05:03 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