Results 1 to 10 of 10

Function to Sum a number of rows based on a variable

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2014
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    5

    Post Function to Sum a number of rows based on a variable

    Hello!

    I've been searching for an answer to my question, but unfortunately I'm not sure exactly how to describe my problem so I have been unsuccessful with my search. If anyone could help me with this I would be very appreciative.

    As you can see in the attached excel doc, I have calculated a column for "Number of Claims Per week" and also "Dollar amount Per claim". This was done using VLOOKUP and distributions. That is not the issue.

    The issue I am having is creating the "TOTAL" for the week. So for example, if week one generates 4 claims, I need to be able to add up claim amount #1-#4.

    It seems as though this would be a basic function, but I can seem to find a way to add up a certain number of cells, based on a variable generated from a random number.

    If you take a look a my excel sheet, I am trying to solve for the "Claim Total" column on the far right. This column should be the sum of (Number of claims * The individual amount per claim). Note that if there is 4 claims in that week, I would have to add up claim 1-4 to get that weeks total.

    Greatly appreciate any help! Thanks.
    Attached Files Attached Files
    Last edited by mstew9415; 06-23-2014 at 08:16 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Basic Macro needed
    By alanbenjy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-02-2010, 07:31 AM
  2. basic formula help needed
    By Malchemist in forum Excel General
    Replies: 2
    Last Post: 05-31-2010, 06:49 AM
  3. Basic IF function help needed
    By EME in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-29-2009, 05:51 AM
  4. Help needed learning basic excel vba
    By excelkeechak in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-26-2009, 04:27 AM
  5. Basic Excel Question - Help Needed
    By PepsiCo85 in forum Excel General
    Replies: 3
    Last Post: 07-23-2007, 09:01 AM

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