+ Reply to Thread
Results 1 to 4 of 4

Range of cells and division formula

  1. #1
    tdg119
    Guest

    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. #2
    Forum Contributor
    Join Date
    08-28-2005
    Posts
    301

    range of cells and division formula!

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

    -via135

    Quote Originally Posted by tdg119
    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. #3
    Elkar
    Guest

    RE: 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?
    >


  4. #4
    tdg119
    Guest

    Re: Range of cells and division formula

    Thanks for your help - I can't believe I didn't think to try that

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1