+ Reply to Thread
Results 1 to 3 of 3

problems with obtaing month and YTD amounts with index & Match

Hybrid View

  1. #1
    Registered User
    Join Date
    03-03-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    34

    Question problems with obtaing month and YTD amounts with index & Match

    Morning all

    I am not getting the correct results return on the attached sheet can any one assist as to what I have done wrong on my formula

    There are two tabs - first tab is reading from the second - I am trying to get the month Plan and YTD plan to return by changing the date in cell B1 on the first tab

    I am getting a result but not the correct ones

    appreciate it if anyone can spot my mistakes !!!

    thanks
    Attached Files Attached Files
    Last edited by bumpty; 03-09-2011 at 09:03 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: problems with obtaing month and YTD amounts with index & Match

    Either:

    J9:
    =SUM(INDEX('london plan'!$C$4:$C$31,MATCH($C9,'london plan'!$A$4:$A$31,0)):INDEX('london plan'!$C$4:$N$31,MATCH($C9,'london plan'!$A$4:$A$31,0),MONTH(1&$B$1)))
    copied down
    or

    J9:
    =SUM(OFFSET('london plan'!$C$4,MATCH($C9,'london plan'!$A$4:$A$31,0)-1,0,1,MONTH(1&$B$1)))
    copied down
    the latter is volatile unlike the former (semi volatile)

    Regards your PLAN month column:

    F9:
    =INDEX('london plan'!$C$4:$O$31,MATCH(C9,'london plan'!$A$4:$A$31,0),MONTH(1&B$1))
    copied down
    or

    =SUMIF('london plan'!$A$4:$A$31,$C9,INDEX('london plan'!$C$4:$O$31,0,MONTH(1&B$1)))
    copied down
    I prefer the latter.

  3. #3
    Registered User
    Join Date
    03-03-2011
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: problems with obtaing month and YTD amounts with index & Match

    thanks that works

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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