Sort Data From Multiple Worksheets

Status
Not open for further replies.

cc11

New Member
Joined
Apr 6, 2021
Messages
48
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Platform
  1. Windows
Hello everyone,

I am looking for either a formula or a macro code, whichever is easiest, but I have three sheets labeled "Mat. Balance", "PO Log", and "PO (0)". Now just to get a grasp of how the workbook functions now is that on the "PO Log" I have a button assigned to a macro that every time I click it, it generates a new PO (0) in numerical order, so PO (1), PO (2), and so on for as many times as I press the button.

What I am now needing to do is incorporate the "Mat. Balance" sheet with the "PO (0)" sheet and each one that follows after that, for as many that I generate. The "Mat. Balance" sheet has 4 columns A, B, E, F, and G. The columns that need to be worked out of are only A and F. Those range from "A4:A118" and "F4:F118". On column A information will be entered, a number, and on column F it will automatically populate in a number(dollar amount) depending on what was entered in on Column A. In the "PO(0)"(and for as many as I generate) the two columns information will be coming out of it "A21:A48" and "I21:I48". On column A information will be entered, a number and on column I the information is automatically populated in and is a number(dollar amount).

So to get into what I want it to do:

So for each PO(0) that is generated (so 1,2,3,4,5,etc.) I am wanting it to (refer to PO(0) pic) to take the information that is entered through A21-48 and Match it (refer to Mat. Balance pic) to whatever info was entered through A4-118 and then whenever it does that, whatever matches it, it will take only what matches it and take a sum from PO(0) I21-48 and enter it on Mat. Balance F4-118.

Let me know if I need to explain this better.

Mat. Balance.jpg MAT. Balance PO(0).jpg PO(0)
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I am trying to delete the other thread but am not sure how to?
 
Upvote 0
Duplicate to: Sort Data From Multiple Worksheets (as generated) into a Column Depending on Data Entered on Another Column

In future, please do not post the same question multiple times. Per Forum Rules (#12), posts of a duplicate nature will be locked or deleted.

In relation to your question here, I have closed this thread so please continue in the linked thread. If you do not receive a response, you can "bump" it by replying to it yourself, though we advise you to wait 24 hours before doing so, and not to bump a thread more than once a day.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,213,520
Messages
6,114,099
Members
448,548
Latest member
harryls

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top