willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 888
- Office Version
- 365
- Platform
- Windows
Hello,
I am making a Macro to clean up some data but one task that has always eluded me was an efficient method to subtotal quantities based on conditions (See example below).
I have used subtotal previously but it only allows one condition (as far as I am aware) and can be slow depending on the volume of data.
What I want to do is take the "BEFORE" data and have a macro clean up the data including Subtotaling the Qty for every Same Part number with the Same condition.
so Every Throttle Shaft who's part number is 2543391 and has a condition of NE, subtotal Qty onto one line.
Is there a way to do this that wont bog down excel too much? (I could have 10000 rows of data).
Thank you to anyone who can help
I am making a Macro to clean up some data but one task that has always eluded me was an efficient method to subtotal quantities based on conditions (See example below).
I have used subtotal previously but it only allows one condition (as far as I am aware) and can be slow depending on the volume of data.
What I want to do is take the "BEFORE" data and have a macro clean up the data including Subtotaling the Qty for every Same Part number with the Same condition.
so Every Throttle Shaft who's part number is 2543391 and has a condition of NE, subtotal Qty onto one line.
Is there a way to do this that wont bog down excel too much? (I could have 10000 rows of data).
Thank you to anyone who can help