+ Reply to Thread
Results 1 to 4 of 4

simple sum query

  1. #1
    Registered User
    Join Date
    08-06-2009
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    simple sum query

    I have a small problem which will be pretty basic to solve I imagine for many here.

    In column D, starting from D5 down I have weeks of the year, 1-52, but these could appear more than once. I.e. sequence could be 1,1,2,3,3,3,4,4, etc. In column F starting from F5 down I have 'Total Weeks Mileage'. In column J starting from J5 down I have distances.

    I want each cell in column F to be able to display the total weeks mileage based on which week we are in. I can't get it to work as there is not a regular pattern of weeks.

    Can anyone help?

    Cheers

    Dean

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: simple sum query

    Hi Dean

    If i get your point, then in F5, put the formula.

    =SUMIF($D$5:$D$12;D5;$J$5:$J$12)

    If i did ot, would you like to upload a small sample of your worksheet?

    Hope to helps you
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    08-06-2009
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: simple sum query

    cheers fotis, seems to have done the trick!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: simple sum query

    Glad to found your solution Dean .

    So, pls, mark your thread, as Solved.

+ 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