• 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
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

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
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: 870
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: Lionel Baijot, Ben Hughes
Guest(s) 12
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Forum Stats:
Groups: 3
Forums: 24
Topics: 6211
Posts: 27238

 

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

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • 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
 

Company

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

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.