Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


KillerHulk

348 posts

Ultimate Geek
+1 received by user: 24


#262133 7-Jan-2020 09:54
Send private message

Hi All,

 

I would like to see if there is a simple / easy process to populate data from 2 workbooks, so that i can Upload a CSV file into our ERP system.

 

First Workbook : contains 600 products with (contract Prices)

 

Second Workbook : contains 70+ customer account numbers

 

Now, i Need a simple way to create a 3rd Workbook where i have all the Products from 1st Workbook towards each customers from 2nd workbook.

 

3rd Workbook will have columns : Customer Account No. | Product | Price

 

On Windows 10 - Office 365

 

Thanks in advance...





I Eat Dumbbells for Breakfast


Filter this topic showing only the reply marked as answer Create new topic
Goosey
3012 posts

Uber Geek
+1 received by user: 866

Subscriber

  #2386499 7-Jan-2020 10:47
Send private message

Would you simply copy the sheets into a new workbook, then create a new sheet in that 3rd workbook and proceed to use VLOOKUPs to get what you want?

 

 




KillerHulk

348 posts

Ultimate Geek
+1 received by user: 24


  #2386513 7-Jan-2020 11:11
Send private message

Goosey:

 

Would you simply copy the sheets into a new workbook, then create a new sheet in that 3rd workbook and proceed to use VLOOKUPs to get what you want?

 

 

 

 

It Wont, Vlookup wont work.

 

Eventually i want to create a CSV file like this:

 

 

 

 

Account No.

 

Product Name

 

Unit Price

 

 

 

123

 

A

 

10

 

 

 

123

 

B

 

20

 

 

 

123

 

C

 

30

 

 

 

123

 

D

 

40

 

 

 

 

Then, after 600 rows, the Account number changes to 2nd customer and so on for 80 customers.

 

Hopefully i am making some sense here...





I Eat Dumbbells for Breakfast


KillerHulk

348 posts

Ultimate Geek
+1 received by user: 24


  #2386514 7-Jan-2020 11:14
Send private message

 

 





I Eat Dumbbells for Breakfast




Goosey
3012 posts

Uber Geek
+1 received by user: 866

Subscriber

  #2386516 7-Jan-2020 11:18
Send private message

Would use of PIVOT tables help?

 

This may future proof any changes to each list price category?

 

 


Deamo
144 posts

Master Geek
+1 received by user: 63
Inactive user


KillerHulk

348 posts

Ultimate Geek
+1 received by user: 24


  #2386549 7-Jan-2020 12:26
Send private message

Deamo:

 

Cross join in Excel:

 

https://www.excelguru.ca/blog/2016/05/11/cartesian-product-joins-for-the-excel-person/

 

 

 

 

 

 

Life saver mate...

 

That worked like a charm !!! 👍





I Eat Dumbbells for Breakfast


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
TwoSeven
1712 posts

Uber Geek
+1 received by user: 304

Subscriber

  #2386910 7-Jan-2020 18:32
Send private message

 

 

Basically in Excel 2016 and later and the Office 365 versions one has Power Query (it is the data tab).

 

it allows one to bring in data from different sources (including the current workbook And other workbooks), slice and dice it and output to a new destination.

 

 In the power query editor one can use the M language to do more precise operations. I believe one can also output to CSV

 

 

 

 





Software Engineer
   (the practice of real science, engineering and management)
A.I.  (Automation rebranded)
Gender Neutral
   (a person who believes in equality and who does not believe in/use stereotypes. Examples such as gender, binary, nonbinary, male/female etc.)

 

 ...they/their/them...


Filter this topic showing only the reply marked as answer Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.