+ Reply to Thread
Results 1 to 1 of 1

Get ytd sum

  1. #1
    Forum Contributor
    Join Date
    06-23-2012
    Location
    Singapore
    MS-Off Ver
    Excel 2010
    Posts
    127

    Get ytd sum

    Hi

    Just need some help to get the YTD sum depending on the selected Item and Month.

    For example, if selected Item 1 and month June, the formula will get the sum of Jan to June numbers from the data tab.

    Please refer to the attached file for reference.


    Many thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Get ytd sum

    Give this a try:

    =SUM(OFFSET(DATA!$C$3,MATCH($C$2,DATA!$B$4:$B$6,0),0):OFFSET(DATA!$B$3,MATCH($C$2,DATA!$B$4:$B$6,0),MATCH($C$3,DATA!$C$3:$N$3,0)))

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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