Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Adding totals from different columns

Hi
I have a column called year group, one called total attendance and one
called possible total. I would like to create the total % attendance for the
group year 7 by adding up the total attendances and making this a % of the
possible total:

e.g.

Year 7, 213, 290
Year 8, 214, 290
Year 7, 203, 270
Year 8, 213, 260

So I would like to add only those that relate to year 7, and then create a %.

Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Adding totals from different columns

Hi,

Try this

=sumif($B$2:$B$5,D7,$C$2:$C$5)/sumif($B$2:$B$5,D7,$D$2:$D$5)

D7 has Year 7. I have assumed that the data below is in range B2:D5
--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Eskercat" wrote in message
...
Hi
I have a column called year group, one called total attendance and one
called possible total. I would like to create the total % attendance for
the
group year 7 by adding up the total attendances and making this a % of the
possible total:

e.g.

Year 7, 213, 290
Year 8, 214, 290
Year 7, 203, 270
Year 8, 213, 260

So I would like to add only those that relate to year 7, and then create a
%.

Is this possible?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding totals in columns Tanya Excel Worksheet Functions 2 February 9th 10 06:56 PM
sorting and adding totals docbehr Excel Worksheet Functions 3 January 30th 09 11:08 PM
Adding totals to new sheet Doug[_3_] Excel Worksheet Functions 9 August 1st 07 03:51 AM
Adding totals after filtering The Countryman Excel Discussion (Misc queries) 2 March 5th 07 05:32 PM
Adding category totals [email protected] Excel Worksheet Functions 3 June 15th 06 11:47 PM


All times are GMT +1. The time now is 05:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"