• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Addiing Sales Data to a Pivot Table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Addiing Sales Data to a Pivot Table|General Excel Questions & Answers|Excel Forum|My Online Training Hub

office scripts course

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Addiing Sales Data to a Pivot Table
sp_PrintTopic sp_TopicIcon
Addiing Sales Data to a Pivot Table
Avatar
Ken Nelson

New Member
Members
Level 0
Forum Posts: 1
Member Since:
November 19, 2020
sp_UserOfflineSmall Offline
1
November 20, 2020 - 10:02 am
sp_Permalink sp_Print

I am just a sales guy, so please be gentle....I am NOT an Excel guru!!

I receive data (in an Excel file which is attached to an email) on a daily basis, which I need to update into a data table I have created.  This data table is the source data for my pivot table.  The data I receive daily is for all of the days of the current month.  What I have been doing is:

  1. When I receive the data for the first day of sales for the month, I delete the last months data and copy it into the data table I have for my “Current Month Sales Data” file. 
  2. Then each successive day, I take the file that I receive which contains sales data for all days of the current month and do the following.
    1. Open the file
    2. Reformat (take out some “Merge and Center”, Eliminate double spacing in one field which messes up my VLOOKUP on that field.  I am learning how to do that with a PivotQuery….
    3. Then I filter the data to only have the last day’s data (the only day I don’t have in my Pivot table data table), copy it and paste it into the bottom my data table in the “Current Month Sales Data” file.
    4. Refresh my pivot tables that use the data.

I have attached (with Randomized fake data) the files that I referenced.  I took much data from the one file out, to accommodate file size restrictions.

I KNOW that I am not bringing the data into my file in the most efficient manner….BUT, I don’t know how to best accomplish this.  I do it every work day, so I want to automate it as much as I can….

A DIFFERENT QUESTION

I have another  file with the same data as the “Current Month” data, but for the last couple years.  I add the most recent month to the file just like I do for the days of the current month file.  My question is, would it be better to have multiple data tables, each on their own sheet, feeding my pivot table (one for each years worth of data – they each have  approximately 300,000 to 350,000 rows of data)?    If so, do I use “Data Model” for that???

Thanks very much for any help!!!!  Sorry to be such an amateur!!

 

Best Regards,

 

Ken

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
November 22, 2020 - 3:04 am
sp_Permalink sp_Print

Hello Ken,

Check out this blog article on how to import files from a folder with Power Query, I think that is the approach you are looking for.

Regarding the second question, the approach is up to you, what suits you best. If you want to work with the data using Power Pivot, then you need to add the data to the Data Model, else not.

In regards to what Excel can handle, see this reference.

Br,
Anders

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Marcel Bila, Alan Sidman, Nicholas Meyer, Tiffany Miller, Sheryl Gill, Rick Scott, Rob Starren, Sheilah Taylor
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Jennifer Owens
Mohamed Touahria
Sheila McCall
Nicholas Montano
John Babcock
Forum Stats:
Groups: 3
Forums: 24
Topics: 6524
Posts: 28549

 

Member Stats:
Guest Posters: 49
Members: 32803
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.