+ Reply to Thread
Results 1 to 7 of 7

How to sum of specific cells from a table containing years data

  1. #1
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    How to sum of specific cells from a table containing years data

    Hi guys!

    Need your help: I have data from Row:3 to Row:8318 every row containing years from 2013 to 2017
    Row:3 is 2013
    Row:4 is 2014
    Row:5 is 2015
    Row:6 is 2016
    Row:7 is 2017

    after 2017 above mentioned years repeat. Now i need each year's total (for example sum/total of 2013 and other years).

    Hop you understand

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: How to sum of specific cells from a table containing years data

    Use SUMIF function.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: How to sum of specific cells from a table containing years data

    Take a look t SUMIF() for this...
    =SUMIF(range with dates, cell with year that you want, range with values to sum)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: How to sum of specific cells from a table containing years data

    Sample is attached for kind review.
    Attached Files Attached Files

  5. #5
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: How to sum of specific cells from a table containing years data

    Try this in cell D22. Drag across and down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  6. #6
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: How to sum of specific cells from a table containing years data

    if i have data from Row:4 to Row:5933, than what?

  7. #7
    Forum Contributor
    Join Date
    02-10-2016
    Location
    Karachi, Pakistan
    MS-Off Ver
    2016
    Posts
    173

    Re: How to sum of specific cells from a table containing years data

    got it thank you dear mike7952

+ 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. Loading Data from Table into Specific Cells
    By jdude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2016, 07:03 AM
  2. [SOLVED] How Can I: Have My Chart and Associated Data Table Understand Multiple Years?
    By Sandcastle in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2014, 08:24 AM
  3. VBA to get rolling correlation for specific time window, 30 years daily data, 225 stocks
    By jasonleewkd in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-15-2014, 06:43 AM
  4. How to Look-up specific cells in a data table
    By no eye deer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2013, 07:11 PM
  5. I'm having trouble pasting data into specific cells in a table
    By phanjoe in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-21-2012, 11:36 PM
  6. VBA Trying to pull specific Word table cells into specific Excel cells
    By ez08mbba in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-16-2012, 01:11 PM
  7. Chart data from pivot table using overlapping years
    By SueWithQuestion in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-18-2011, 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