Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    May 2001
    Location
    Omaha, NE USA, Nebraska, USA
    Posts
    119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    referencing a moving target

    Excel 97 SR-2: I have a spreadsheet that tracks an employees attendance. One worksheet per employee, customized to that employees anniversary year. Sample attached.

    I am looking for a way to find their current balance of vacation hours. The value I am looking for will be in column
    Attached Files Attached Files

  2. #2
    Lounger
    Join Date
    Apr 2001
    Location
    Michigan, USA
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: referencing a moving target

    assuming every date starts on Sunday, and the date you're trying to match is in a cell named 'MatchDate', the following formula may yield your desired results (or at least get you started towards an answer):

    =IF(ISNA(MATCH(MatchDate,Sheet1!$C:$C,0)),"prior to start",INDEX(Sheet1!$L:$L,MATCH(MatchDate,Sheet1!$ C:$C,0)))

    HTH

    Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •