+ Reply to Thread
Results 1 to 8 of 8

Need formula help in adding sum of every 3rd cell in a row

  1. #1
    Registered User
    Join Date
    03-13-2017
    Location
    Bangalore
    MS-Off Ver
    2007
    Posts
    10

    Need formula help in adding sum of every 3rd cell in a row

    Hi

    I need a help with a formula where it take the reference of every 3rd cell from a row and add it in a different sheet.
    Iam able to do this with chronological order but not with alternative cells.
    I have shared the spread sheet link for reference. In this link you can find 2 sheets " receivables " & " this-day-that-month ".
    I want to take the total sum of a cell ( which is in green color from receivables sheet ) and add it as per the date in this-day-that-month sheet.

    https://docs.google.com/spreadsheets...it?usp=sharing

    Can someone help me out getting this output !!!
    Thanks in advance.

    Balaji.S

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

    Re: Need formula help in adding sum of every 3rd cell in a row

    Will you please attach a sample Excel workbook here? Many members are unable or unwillingto download from file-sharing sites.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,004

    Re: Need formula help in adding sum of every 3rd cell in a row

    In C3

    =INDEX(receivables!$A$1:$ZZ$1,,MATCH('this-day-that-month'!$A3,receivables!$A$1:$ZZ$1,0)+2)

    in C4

    =$C3+INDEX(receivables!$A$1:$ZZ$1,,MATCH('this-day-that-month'!$A4,receivables!$A$1:$ZZ$1,0)+2)

    copy down

  4. #4
    Registered User
    Join Date
    03-13-2017
    Location
    Bangalore
    MS-Off Ver
    2007
    Posts
    10

    Re: Need formula help in adding sum of every 3rd cell in a row

    awesome .....
    it works !!!
    Thank you sooooooo much.
    If you possible can I get an explanation on the formula given... :-) I tried to understand but the "Match" part is some thing I couldn't figure out at the end !
    Last edited by balu2021; 11-22-2017 at 01:54 AM.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,004

    Re: Need formula help in adding sum of every 3rd cell in a row

    =INDEX(receivables!$A$1:$ZZ$1,,MATCH('this-day-that-month'!$A3,receivables!$A$1:$ZZ$1,0)+2)

    MATCH matches the date in A3 against the data in row 1 and when MATCHed it adds 2 to the position as the TOTAL data is 2 columns to the right of the date.

  6. #6
    Registered User
    Join Date
    03-13-2017
    Location
    Bangalore
    MS-Off Ver
    2007
    Posts
    10

    Re: Need formula help in adding sum of every 3rd cell in a row

    Thanks Champ

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,004

    Re: Need formula help in adding sum of every 3rd cell in a row

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  8. #8
    Registered User
    Join Date
    03-13-2017
    Location
    Bangalore
    MS-Off Ver
    2007
    Posts
    10

    Re: Need formula help in adding sum of every 3rd cell in a row

    Sorry, I missed to mark it as solved.
    Now I have done it
    Once again Thank you.

+ 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] Adding Value to a cell which contain formula
    By Naveed Raza in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-05-2016, 08:47 AM
  2. [SOLVED] Formula for adding a percentage from one cell and adding the total of 2 others
    By Kandra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 06:48 AM
  3. Replies: 1
    Last Post: 02-24-2013, 06:27 PM
  4. [SOLVED] Adding Formula to cell in VBA
    By rlpowers in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2012, 11:28 AM
  5. Replies: 8
    Last Post: 03-21-2012, 12:04 PM
  6. Adding numbers to cell references in formula, rather than cell values
    By stanja in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2009, 07:41 PM
  7. Adding formula to a cell with VB
    By Willow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2006, 07:30 AM

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