SUM rows

F

Freshman

Dear experts,

I've a table which column B to column M are months of 2008, e.g. B1 = Jan
08, C1 = Feb 08 and so forth. Then, in row 10, 15, 22, 35, 42........up to
372 are rows for totals of different departments (the number of rows for each
department are not even). My question is, if I want to sum up all
departments' totals of any month (say only April), are there any best and
quickest ways (formula) to do it. If yes, please kindly advise.

Thanks in advance.
 
T

T. Valko

in row 10, 15, 22, 35, 42........up to 372 are rows for totals

In other words, those rows contain "subtotals" of the rows above them?

If that's the case, are there and row headers that identify these rows as
"subtotals" ?
 
F

Freshman

Hi Biff,

Sorry for late reply as I was out of town for a few days.

My table is something like that:

Jan 08 Feb 08 Mar08.....
(Dept A)
xxxx 1,000 250 300
xxxx 700 650 450
Total 1,700 900 750

(Dept B)
xxxx 150 3000 600
xxxx 1,700 520 800
xxxx 850 150 920
Total 2,700 3,670 2,320
..
..
..
Then for example, I want to sum up all "Total" in Feb08. Are there any
fastest way to get a grand totals in Feb08?

Thanks & regards.
 
A

Ashish Mathur

Hi,

The following 2 ways could work:

1. SUM(range)/2
2. Highlight the column of Feb 08 (uptil the cell where you want the grand
total) and then click on the Auto sum button on the toolbar.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 
T

T. Valko

Assuming you column headers are in a calendar sequence as is demonstrated in
your posted sample:

=SUMPRODUCT(--(A2:A11="Total"),INDEX(B2:D11,,n))

Where n = month number. For February n = 2
 
F

Freshman

Hi Ashish,

Thanks for your tips. Best regards.

Ashish Mathur said:
Hi,

The following 2 ways could work:

1. SUM(range)/2
2. Highlight the column of Feb 08 (uptil the cell where you want the grand
total) and then click on the Auto sum button on the toolbar.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Sum columns up to vlookup value 3
Count Records 11
Sum with multiple criteria 6
Finding the right function & formula 4
Conditional Formatting 5
sum of multiple rows 2
Conditional Formatting 3
Update SUM & AVERAGE 2

Top