• 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

Matching sum of transaction amount in one query against bank receipt amount in another query|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Matching sum of transaction amount in one query against bank receipt amount in another query|Power Query|Excel Forum|My Online Training Hub

office scripts course

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
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 ForumPower QueryMatching sum of transaction amount …
sp_PrintTopic sp_TopicIcon
Matching sum of transaction amount in one query against bank receipt amount in another query
Avatar
kenneth lim

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline
1
June 21, 2021 - 2:17 am
sp_Permalink sp_Print

Hi,

I'm trying to match the sum of the transaction amounts in query 1 in a sequential order against the bank receipt amounts in query 2 and get the end result table with the bank receipt date. Is there a way to easily do so in power query?

Query 1     Query 2 (Bank statement)    
Transaction date Transaction amount   Bank receipt date Bank receipt amount Comments
1-May-21 10   7-May-21 30 For 1 and 2 May transactions
2-May-21 20   20-May-21 60 For 3, 4 and 5 May transactions
3-May-21 10        
4-May-21 20        
5-May-21 30        
           
End result          
Transaction date Transaction amount Bank receipt date      
1-May-21 10 7-May-21      
2-May-21 20 7-May-21      
3-May-21 10 20-May-21      
4-May-21 20 20-May-21      
5-May-21 30 20-May-21      
sp_AnswersTopicSeeAnswer See Answer
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOnlineSmall Online
2
June 21, 2021 - 9:36 am
sp_Permalink sp_Print

Hi Kenneth,

Welcome to our forum!

Unless there is a unique identifier between the transactions and bank receipts, like a transaction ID/invoice number etc. then there's no way for Power Query to accurately match multiple amounts to a total amount received.

Mynda

Avatar
kenneth lim

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline
3
June 21, 2021 - 1:22 pm
sp_Permalink sp_Print sp_EditHistory

Hi Mynda,

Noted. I wanted to check on this as I just started using Power BI and I'm not sure if the above can be done.

I only managed to do this for individual bank receipts which tallies to the individual transaction amount and the amount is highly likely to be unique by merging based on the amount.

Thanks for clarifying on this.

Can I check if there are other tools which you know of which can do this? Maybe excel vba?

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOnlineSmall Online
4
June 21, 2021 - 8:21 pm
sp_Permalink sp_Print

No worries.

Excel doesn't have any built in functionality for this. I'm sure someone could write some VBA to do it, but it wouldn't matter what tool you used to match multiple transactions to a single transaction amount, all will be risky when you have no other identifier to accurately match them. 

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
kenneth lim

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
June 21, 2021
sp_UserOfflineSmall Offline
5
June 21, 2021 - 9:33 pm
sp_Permalink sp_Print sp_EditHistory

Hi Mynda, noted. Thanks for your replies and comments on this!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Mynda Treacy, QSolutions Group
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:
Herbie Key
Trevor Pindling
Stevan Kanjo
Erin Sheldon
Nikita Bhatia
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Forum Stats:
Groups: 3
Forums: 24
Topics: 6526
Posts: 28575

 

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