Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a rollup worksheet and using a macro it gathers all the VOL and
MIN columns from the other worksheets onto the rollup worksheet. But I would like to add a GRAND TOTAL VOL and GRAND TOTAL MIN on the rollup worksheet. Before the macro is run, the rollup worksheet contains the following columns where A and B corresponds to the column letter. A: Grand Total Vol B: Grand Total Min After the macro is run, the rollup worksheet will have the following column headings: A: Grand Total Vol B: Grand Total Min C: 202 VOL D: 202 MIN E: 203 VOL F: 203 MIN G: 204 VOL H: 204 MIN I would like to be able to display the grand total on each row for VOL and MIN. How do I formulate it without doing it manually (Grand Total Vol =C1+E1+G1+I1+K1...)?? Thanks for the help, Sharon |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Assuming VOL/MIN are characters in row 2:
=SUMIF(C2:IV2,"VOL",C1:IV1) will add up the VOLs, and =SUMIF(C2:IV2,"MIN",C1:IV1) will add up the MINs. " wrote: I have a rollup worksheet and using a macro it gathers all the VOL and MIN columns from the other worksheets onto the rollup worksheet. But I would like to add a GRAND TOTAL VOL and GRAND TOTAL MIN on the rollup worksheet. Before the macro is run, the rollup worksheet contains the following columns where A and B corresponds to the column letter. A: Grand Total Vol B: Grand Total Min After the macro is run, the rollup worksheet will have the following column headings: A: Grand Total Vol B: Grand Total Min C: 202 VOL D: 202 MIN E: 203 VOL F: 203 MIN G: 204 VOL H: 204 MIN I would like to be able to display the grand total on each row for VOL and MIN. How do I formulate it without doing it manually (Grand Total Vol =C1+E1+G1+I1+K1...)?? Thanks for the help, Sharon |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Yep, that's what I'm looking for.
Thank you so much. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula for sum of alternate cells | Excel Worksheet Functions | |||
How can I 'CountIf' alternate cells? | Excel Discussion (Misc queries) | |||
Sum of Alternate Cells | Excel Discussion (Misc queries) | |||
Add alternate cells in column and sum | Excel Worksheet Functions | |||
Selecting alternate cells | Excel Worksheet Functions |