+ Reply to Thread
Results 1 to 8 of 8

Help with normalizing data

  1. #1
    Registered User
    Join Date
    10-28-2015
    Location
    BFE, USA
    MS-Off Ver
    2010
    Posts
    30

    Help with normalizing data

    I need help with normalizing my data or is this as normal as it gets. This table is 1 of many, some tables don't have the year column but all have an ID column and Monthly columns. I have to reference these tables in my macros and it seems to take a while to complete. I also would like to use data as pivot which may omit the quarter and total columns. I think this should be fairly simple but my brain has had a complete meltdown. Maybe I'm thinking way outside the box.
    Thank you in advance for your assistance.

  2. #2
    Forum Contributor
    Join Date
    12-05-2015
    Location
    Akron, OH
    MS-Off Ver
    15.0
    Posts
    424

    Re: Help with normalizing data

    I do not understand what you are asking or what problem you are trying to solve. Please respond with a specific request.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Help with normalizing data

    For the data to be normalized your table should be set up with the following fields

    RecordId (PK)
    ID
    Year
    Period
    Value

    You can then run queries to do the calculations needed for quarter, year, or period as necessary.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    10-28-2015
    Location
    BFE, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: Help with normalizing data

    Thank you for your response. I'm sorry, I didn't ask question correctly. What I need is to know a way (VBA) to convert data to the normal. I have so many of these tables set my initial attachment.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Help with normalizing data

    What would you like the normalized data to look like. Give us an example or we would be guessing at what you require and not what we believe it should be. Afterall, you know what you are going to do with the data and we don't.

  6. #6
    Registered User
    Join Date
    10-28-2015
    Location
    BFE, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: Help with normalizing data

    I'm attaching a workbook with example. Normal tab is what I want. The goal is to be able to easily use in a pivot table. I found some code that will almost do what I want, but it includes the year column (Not Normal) in the period column (Normal) and the year (Not Normal) in the amount column Normal). I guess what I need is for the code to skip the 2 column but not sure how to do it. Again, thank you for your help.
    Christie
    Attached Files Attached Files

  7. #7
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: Help with normalizing data

    Add a new sheet to your workbook with the name Sheet1, then run this macro

    Please Login or Register  to view this content.
    Afterwords, this should be ready to build your PT

  8. #8
    Registered User
    Join Date
    10-28-2015
    Location
    BFE, USA
    MS-Off Ver
    2010
    Posts
    30

    Re: Help with normalizing data

    OMG, perfect. Alan....You are the bomb! thanks

+ 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] Normalizing The Data
    By zanshin777 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-15-2015, 07:47 AM
  2. Normalizing data
    By jviola in forum Excel General
    Replies: 5
    Last Post: 06-07-2013, 10:05 AM
  3. Normalizing Data
    By folkda in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-11-2013, 03:53 PM
  4. normalizing data
    By 4gokycats in forum Excel General
    Replies: 2
    Last Post: 03-26-2005, 11:06 PM

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