+ Reply to Thread
Results 1 to 3 of 3

How to change reference area automatically by dragging Index Match Formula down

  1. #1
    Registered User
    Join Date
    10-08-2012
    Location
    Naas, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    How to change reference area automatically by dragging Index Match Formula down

    Hi All,
    I am really really stuck.
    I have the following formula:
    {=INDEX(A16:A67,MATCH(TRUE,C16:C67<>"",0))} which gives me the result I need which is a date from the very far left of a worksheet
    The worksheet is a wages report from Sage which was exported to excel, unfortunelt the layout is also like a report and not neatly laid out in columns for each categroy of data, they are stacked instead.
    anyway I need to find the fist date a person was paid, I trying to this by locating a the first cell with an entry in a certain area of cells ..... C16:C67... and then returning the value from the far left cell which is the first payment date.
    Simple right?
    Howeve I need to be able to drag the formula or somehow automatically move it to the new cell down but also to change the area of cells being searched downwards by exactly 60 cells so as it searches the area of C76:C127 , and so on downwards through the column with my formula.
    Can anyone please help me , it is very urgent. THANK YOU!!!!!!!!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to change reference area automatically by dragging Index Match Formula down

    Hi,

    You don't say, but I presume that the range in the A column needs to change similarly?

    Try this in your first row and drag down:

    =INDEX(INDIRECT("A"&16+60*(ROWS($A$1:$A1)-1)&":A"&67+60*(ROWS($A$1:$A1)-1)),MATCH(TRUE,INDIRECT("C"&16+60*(ROWS($A$1:$A1)-1)&":C"&67+60*(ROWS($A$1:$A1)-1))<>"",0))

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    Naas, Ireland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: How to change reference area automatically by dragging Index Match Formula down

    Thanks for your help, I will give it a go and get back to you with result, thanks again XOR LX

+ 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