Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
tdg119
 
Posts: n/a
Default Range of cells and division formula

I basically just want to divide the sum of one range of cells by the sum of
another range of cells.

This works: =SUM(H2+H3)/(E2+E3).
This does not work: =SUM(H2:H3)/(E2:E3)

I want to be able to copy the formula to continue adding to the range of
cells on each side.

IE: =SUM(H2:H4)/(E2:E4) through end of spreadsheet: =SUM(H52:H54)/(E52:E54)


What's wrong with my formula?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Elkar
 
Posts: n/a
Default Range of cells and division formula

You just forgot to include the SUM for your second function:

=SUM(H2:H3)/SUM(E2:E3)

HTH,
Elkar


"tdg119" wrote:

I basically just want to divide the sum of one range of cells by the sum of
another range of cells.

This works: =SUM(H2+H3)/(E2+E3).
This does not work: =SUM(H2:H3)/(E2:E3)

I want to be able to copy the formula to continue adding to the range of
cells on each side.

IE: =SUM(H2:H4)/(E2:E4) through end of spreadsheet: =SUM(H52:H54)/(E52:E54)


What's wrong with my formula?

  #3   Report Post  
Posted to microsoft.public.excel.misc
via135
 
Posts: n/a
Default Range of cells and division formula


=SUM(H2:H3)/SUM(E2:E3)

-via135

tdg119 Wrote:
I basically just want to divide the sum of one range of cells by the sum
of
another range of cells.

This works: =SUM(H2+H3)/(E2+E3).
This does not work: =SUM(H2:H3)/(E2:E3)

I want to be able to copy the formula to continue adding to the range
of
cells on each side.

IE: =SUM(H2:H4)/(E2:E4) through end of spreadsheet:
=SUM(H52:H54)/(E52:E54)


What's wrong with my formula?



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=515885

  #4   Report Post  
Posted to microsoft.public.excel.misc
tdg119
 
Posts: n/a
Default Range of cells and division formula

Thanks for your help - I can't believe I didn't think to try that
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
excel division formula question trey braid Excel Worksheet Functions 2 January 17th 06 01:46 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
How can I prevent the "division by zero" error in this formula Watercolor artist Excel Worksheet Functions 2 June 27th 05 03:31 PM
Lookup formula - treat no-registered cells as blank gublues Excel Worksheet Functions 4 June 13th 05 10:32 PM
Auto populate cells based on 2 cells division. Chance224 Excel Discussion (Misc queries) 0 April 4th 05 09:35 PM


All times are GMT +1. The time now is 01:43 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"