+ Reply to Thread
Results 1 to 3 of 3

assistance with array formula

  1. #1
    Forum Contributor
    Join Date
    02-09-2004
    Posts
    154

    assistance with array formula

    Ok I have the following basic formula which applies to one row

    =($E9/$D9)*$K9

    What I need to do is somehow make this an array formula such that it performs this calculation on lets say EACH row from 9 to 20 and adds up all the results.

    Im pretty sure a sum and some sort of array formula will do it, I just never understand these array formulas :P

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    No need for array formulas. Try:

    =SUMPRODUCT(E9:E20/D9:D20*K9:K20)

    Although this will cause an error if any of the cells in D9:D20 are blank or 0.

    HTH

    Jason

  3. #3
    Forum Contributor
    Join Date
    02-09-2004
    Posts
    154
    thanks.

    There will be blanks in D9-D20 as there are blank lines on the spreadsheet, I think there will also be cases where there is something in D and not in K, I guess ideally it would only perform the calculation on the row when all 3 values are >0.

    Is there any way to do this? if the 3 cells are not>0 then go on to the next row instead
    Last edited by neowok; 04-02-2008 at 04:40 AM.

+ 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