+ Reply to Thread
Results 1 to 3 of 3

vlookup with offset...issue

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Prefer Excel 2003 but 2007 is great!
    Posts
    1,139

    vlookup with offset...issue

    hello

    i have a simply inquiry that i cant seem to tackle

    i have 2 columns of data *see sample attached*

    column A = weeks
    column B = headcount

    essentially my criteria is "looking for last week and give me headcount"

    however....if the last week is not populated...i would like for it to take the data from the row above or last active row

    can someone pls help?
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Prefer Excel 2003 but 2007 is great!
    Posts
    1,139

    Re: vlookup with offset...issue

    i tried this but getting a ref error

    =VLOOKUP($F$5,OFFSET($F$5,,,COUNTA($B$3:$C$33)-1,1),2,FALSE)

    can someone pls help

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,136

    Re: vlookup with offset...issue

    hi jw01, will the headcount ever be 0? i'm doing a formula that says if the VLOOKUP returns 0, then find the last value.

    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

+ 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