+ Reply to Thread
Results 1 to 3 of 3

Formula to work out a sum depending on number of weeks

  1. #1
    Registered User
    Join Date
    01-13-2014
    Location
    Scotland
    MS-Off Ver
    Excel 2010
    Posts
    1

    Formula to work out a sum depending on number of weeks

    Hi,

    I have a spread sheet I have set up to calculate sales results, I have a column for each week in the quarter with the date at the top and a different page for each individual. I want to be able to enter a number to show how many weeks we have had and the spreadsheet to give me a cumulitive amount for the cells up to that date.

    For example if I was to enter 1 in a cell A1 I would want the sum t work out just C3 for example.

    If I enter 3 in A1 I would want the sum to be C3+C4+C5 wich is the three cells.

    If I enter 6 in A1 it would be C3+C4+C5+C6+C7+C8 etc.

    Hope this makes sense and someone can help me out,

    Cheers,

    Malcolm.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Formula to work out a sum depending on number of weeks

    Hello and Welcome to the forum malcolm ! Please attach a sample book !

    for attachment go to advanced ---> select paper clip icon
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Formula to work out a sum depending on number of weeks

    Use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need a formula to calculate the number of work weeks the data has been collected
    By SkiMask in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-09-2014, 02:39 PM
  2. [SOLVED] Count number of holidays depending on number of weeks
    By ANTH16 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2013, 03:42 AM
  3. Replies: 2
    Last Post: 12-01-2009, 01:57 PM
  4. Work out number of weeks between two dates
    By adhide in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-25-2009, 11:42 PM
  5. WORK OUT NUMBER OF WEEKS BETWEEN TWO DATES
    By cyp010905 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2006, 12:20 PM

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