• 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

How can I get the sum from all sheets to a new sheet if the date from column a matches|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How can I get the sum from all sheets to a new sheet if the date from column a matches|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…How can I get the sum from all shee…
sp_PrintTopic sp_TopicIcon
How can I get the sum from all sheets to a new sheet if the date from column a matches
Avatar
Shmiel
United Kingdom

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
June 25, 2020
sp_UserOfflineSmall Offline
1
June 25, 2020 - 4:18 am
sp_Permalink sp_Print sp_EditHistory

Hi can anyone help me with a formula to get the sum on each month from all sheets.

i have multiple sheets of data, 1 has rent income, another has other income, another has mortgage expenses, another insurance expense, other expenses, etc.
What function can I use to get the sum of all data in 1 sheet if the month from column a matches the month from column a in other sheets.
I tried using sumif and sumifs but it didn’t work.

I'm using a 2013 pc version.

sp_AnswersTopicSeeAnswer See Answer
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
June 25, 2020 - 9:00 am
sp_Permalink sp_Print

Hello,

Take a look at this blog post. I do recommend to gather all data into one Excel table, as you can then use a Pivot Table to sum the numbers.

Br,
Anders

sp_AnswersTopicAnswer
Answers Post
Avatar
Shmiel
United Kingdom

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
June 25, 2020
sp_UserOfflineSmall Offline
3
June 25, 2020 - 11:38 pm
sp_Permalink sp_Print

The link you've sent of sumproduct function works only with the same dates.

But how can I make that it should give me the sum from all dates if it is the same month.

I tried to do it with date(year(a:a),month(a:a),1) but it didn't let me use this function.

I tried to enter it before the indirect function and also after it but both didn't work.

I want to use a function and not a pivot table.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
4
June 26, 2020 - 5:01 pm
sp_Permalink sp_Print

Hello,

Your data layout in the sheets was not consistent, which is needed. See attached file, I have added a Pivot Table solution also in the Data sheet, for your reference. In Sum sheet I used the 3D SUMIF as linked to in my previus post.

I hope this helps you to get what you want.

Br,
Anders

Avatar
Shmiel
United Kingdom

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
June 25, 2020
sp_UserOfflineSmall Offline
5
June 28, 2020 - 11:48 pm
sp_Permalink sp_Print

Your formula doesn't give me the sums from the sheets that the date is not on the 1st day of the month.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
6
June 29, 2020 - 2:32 pm
sp_Permalink sp_Print

Hello,

Please see updated attached file.

Br,
Anders

Avatar
Shmiel
United Kingdom

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
June 25, 2020
sp_UserOfflineSmall Offline
7
June 29, 2020 - 11:58 pm
sp_Permalink sp_Print

If this is the only way I'll go with it until I figure out the way to make a new function using VBA and be sure that I certainly will share it here hopefully in the next few days.

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
8
June 30, 2020 - 7:29 pm
sp_Permalink sp_Print

Hello,

That would be great. There are more than one solution in Excel to get what you want and with VBA you can of course create more.
I hope I gave some useful help. Take care.

Br,
Anders

Avatar
Shmiel
United Kingdom

Active Member
Members
Level 0
Forum Posts: 5
Member Since:
June 25, 2020
sp_UserOfflineSmall Offline
9
July 1, 2020 - 2:43 am
sp_Permalink sp_Print

Found an answer.

See attached.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Andy Kirby, Chandler Davis
Guest(s) 8
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:
wahab tunde
Cong Le Duc
Faisal Bashir
Ivica Cvetkovski
Blaine Cox
Shankar Srinivasan
riyepa fdgf
Hannah Cave
Len Matthews
Kristine Arthy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6205
Posts: 27210

 

Member Stats:
Guest Posters: 49
Members: 31878
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.