PC Review


Reply
Thread Tools Rate Thread

How to add total from alternate cells?

 
 
azu_daioh@yahoo.com
Guest
Posts: n/a
 
      26th Nov 2007
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
 
Reply With Quote
 
 
 
 
Bob Umlas, Excel MVP
Guest
Posts: n/a
 
      26th Nov 2007
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.

"(E-Mail Removed)" 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
>

 
Reply With Quote
 
azu_daioh@yahoo.com
Guest
Posts: n/a
 
      26th Nov 2007
Yep, that's what I'm looking for.
Thank you so much.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I 'CountIf' alternate cells? John Blackwell Microsoft Excel Misc 2 11th Sep 2008 08:39 PM
Sum of Alternate Cells Kamal Singh Oberh Microsoft Excel Misc 4 1st Jun 2008 07:46 PM
Add alternate cells in column and sum Jackanorry Microsoft Excel Worksheet Functions 4 23rd Mar 2008 06:28 PM
Selecting alternate cells =?Utf-8?B?SmFja2llIEQ=?= Microsoft Excel Worksheet Functions 7 20th May 2006 07:49 PM
Grand total time between two total cells =?Utf-8?B?R3d5bm4=?= Microsoft Excel Misc 4 9th May 2006 09:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:38 AM.