• 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

Data Merging tool|VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Data Merging tool|VBA & Macros|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 ForumVBA & MacrosData Merging tool
sp_PrintTopic sp_TopicIcon
Data Merging tool
Avatar
Girish D R

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
August 11, 2020
sp_UserOfflineSmall Offline
1
August 11, 2020 - 5:13 pm
sp_Permalink sp_Print sp_EditHistory

Hello..

 

I have  sets of data which needs to be migrated as one...

 

First data --  The List of Products & the Discount IDs (Here Product codes are unique & each product will have one Discount ID. But Discount IDs are not unique one discount ID can be shared with multiple Product codes)..

 

Second data -- The Discount IDs list along the multiple quantity ranged tiered discounts.. 

 

I need to VBA tool which converts the above data into the Product code with Discount IDs list along the multiple quantity ranged tiered discounts..

 

attached the example format - where sheet 1 (data_1) and sheet 2 (data_2) are my input and Expected Result is pasted in Sheet 3..

Hope someone can help to get tool to get this done

My E-mail ID: [Removed by Admin]

 

Thanks

Girish     

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1516
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
2
August 11, 2020 - 7:11 pm
sp_Permalink sp_Print

Hi Girish,

No need for VBA, use Power Query.

The attached file does what you want.

regards

Phil

P.S. I removed your email address. I you post your email on websites you're going to end up with lots of spam.

Avatar
Girish D R

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
August 11, 2020
sp_UserOfflineSmall Offline
3
August 13, 2020 - 1:42 am
sp_Permalink sp_Print

Thank you.. Surely I will go throuh the Power Query.. But I am looking for urgent solution.. A tool with commond button which gives me expected result with a click of button.. with the input which I have on first two sheets... Its needed for bigger data than explained in example format..

 

Thank you

Regards

Girish

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1516
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
4
August 13, 2020 - 8:48 am
sp_Permalink sp_Print

Hi Girish,

Power Query does exactly what you describe and you don't need to do any coding.  And it works for data that you add to the table at a later time, you just refresh (re-run) the query - with the click of a button.

This is a classic example of asking for something to be solved in a certain way, when there is a better solution.  Why does it have to be VBA?

You say that this is urgent but there are 2 days between your initial post and your reply.  In that time you could easily have learned what you need, to understand how Power Query solves your problem.

I strongly encourage you to read our Power Query posts and use it.  Start with the oldest ones and work through.

Regards

Phil

Avatar
Girish D R

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
August 11, 2020
sp_UserOfflineSmall Offline
5
August 13, 2020 - 6:04 pm
sp_Permalink sp_Print

Hi Phil,

 

Yes I went throuh the Power Query posts . but this mostly talk about only the file with commont heading in different sheets or files.. but my data is not having the common headers..  also One data is having Product code as Unique feature. and in other data no unique IDs... So I couldn't get this though power query.. if you have any specific video which cover this topic please share..

Thanks

Girish

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1516
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
6
August 17, 2020 - 8:53 pm
sp_Permalink sp_Print

Hi Girish,

I created a solution using Power Query so your data must be able to be combined using PQ?

Regards

Phil

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Alan Sidman, Dieneba NDIAYE, Alexandra Radu, Natasha Smith, Monique Roussouw
Guest(s) 10
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:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6216
Posts: 27250

 

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