Complicated macro/formula/updating in future

Excel Me

New Member
Joined
Apr 21, 2011
Messages
31
I'm creating this macro that will read a report and update a table on the next tab over with the sum of numbers. Is there a formula that will look at column A and B, if column A matches a certain "text" AND column B matches a different critera of "text", then look at column C, remember that number for those criteria and continue through the sheet looking and adding, else remember zero and continue adding?

Seems like a lot, wasn't sure. If not, then is there a way for me to sort and subtotal, but in such a way that the next time I need my table updated, I can run the macro and it will sort, subtotal, and read the new total even if it ends up in a different row because numbers are increasing?

ANY help us suggestions would be GREATLY appreciated. I've racked my brain for a bit now. Thanks!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
If your range is not to large you can loop trough all the cells and compare each cell with an if statment.
 
Upvote 0
My data set will increase exponentially and daily. I
I'm starting to think a pivot within the macro makes sense. Let me ask this, what are the, if any, limitations of a macro? How many steps can I include within one macro?
 
Upvote 0
In theory you can make a macro as large and complicated as you want. However, the more calculations the more time is takes.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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