Help moving values based on cell values from one sheet to another

RGPRICE

New Member
Joined
Mar 15, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi there,

I’m trying to figure out the macro needed to move and compile information from one sheet to another based on vendor names. The first sheet has shipment listings, name of supplier, contents, etc. and is constantly being added to. I’m trying to make a macro that will take that information and compile it in another sheet with each vendor only taking up one row.

So if it were like

Vendor|Product Amount|Defect Amount|Etc
VendorA|300|12|
VendorB|17|0|
VendorA|200|0|

The second sheet would read

VendorA|500|12|
VendorB|17|0|


I don’t know if I explained it well but that’s what I’m trying to do
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Select your data with headers -> Insert -> Pivot Table -> Select a location -> Drag Vendor into the Rows then Product Amount and Defect Amount into Values

Book1
ABCDEFGH
1VendorProduct AmountDefect AmountRow LabelsSum of Product AmountSum of Defect Amount
2Vendor A30012Vendor A50012
3Vendor B170Vendor B170
4Vendor A2000Grand Total51712
Sheet1
 
Upvote 0
Select your data with headers -> Insert -> Pivot Table -> Select a location -> Drag Vendor into the Rows then Product Amount and Defect Amount into Values

Book1
ABCDEFGH
1VendorProduct AmountDefect AmountRow LabelsSum of Product AmountSum of Defect Amount
2Vendor A30012Vendor A50012
3Vendor B170Vendor B170
4Vendor A2000Grand Total51712
Sheet1
This looks perfect, thank you
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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