+ Reply to Thread
Results 1 to 4 of 4

Calculating cumative values

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    london
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Question Calculating cumative values

    Hi,

    I am working on a massive excel sheet and was wondering if there a simple way to do the following:

    I have values such as -

    A B C D

    But I need to calculate (A*0) and in the next cell (A*1) + (B*0) and then in the next cell (A*2) + (B*1) + (C*0) and then (A*3) + (B+2) + (C*1) + (D*0) each in separate cells.

    I can't just do the calculation and need to leave the cell reference for A, B etc. as these values will be changing.

    At the moment I am doing it manually but there is a huge sheet and this is prone to human error.

    Please let me know if there's an easier way.
    Attached Files Attached Files
    Last edited by haj; 10-20-2015 at 06:31 AM. Reason: solved

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,942

    Re: Calculating cumative values

    Where will these calculations be and where is the source data? How is it presented? Can you provide a sample sheet with some representative (but not sensitive) data?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-20-2015
    Location
    london
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Calculating cumative values

    Thank you for your reply,

    I have attached an example spreadsheet above.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Calculating cumative values

    B3=SUMPRODUCT(($B2:B2)*(COLUMNS($B2:B2)-(COLUMN($B2:B2)-MIN(COLUMN($B2:B2)))-1))
    Please Login or Register  to view this content.
    Try this and copy towards right
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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] Calculating values between start and finish values
    By coreytroy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-16-2013, 07:33 PM
  2. Replies: 4
    Last Post: 01-03-2012, 06:05 PM
  3. Calculating Values e.g (0.05+0.06=1.03)
    By fassi in forum Excel General
    Replies: 2
    Last Post: 11-21-2011, 04:18 PM
  4. Calculating values using VBA
    By rishiram in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-08-2010, 06:27 AM
  5. Calculating values based on other values
    By shippers in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-18-2010, 01:11 PM
  6. Calculating Between Values
    By Flipside in forum Excel General
    Replies: 2
    Last Post: 01-11-2006, 07:30 AM
  7. [SOLVED] Pbl calculating US$ values
    By Joseph in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-14-2005, 04:05 AM
  8. Pbl calculating US$ values
    By Joseph in forum Excel General
    Replies: 1
    Last Post: 07-13-2005, 12:05 PM

Tags for this Thread

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