+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP Formula using variable for lookup_value

  1. #1
    Los in RI
    Guest

    VLOOKUP Formula using variable for lookup_value

    I have a cell format search criteria over a specified column range. When the
    criteria is satified, I need to enter a formula using VLOOKUP in an adjacent
    column that uses the value in the cell that satisfied my format search
    criteria as the lookup value.

    I used the formaul:
    "=VLOOKUP(Target,'C:\Documents and
    Settings[SummaryByProject(111005).xls]Current'!$B$1:$D$585,2,FALSE)"
    , where I tried to define Target as the cell that satisfied teh search
    criteria, but it does not work.

    I'd apprecaite any help you can give on this
    Thanks
    --
    Los

  2. #2
    Gazeta
    Guest

    Re: VLOOKUP Formula using variable for lookup_value

    check for additional spaces or if format is the same ( if you are lookingi
    foir numbers )
    mcg
    Użytkownik "Los in RI" <[email protected]> napisał w
    wiadomości news:[email protected]...
    > I have a cell format search criteria over a specified column range. When

    the
    > criteria is satified, I need to enter a formula using VLOOKUP in an

    adjacent
    > column that uses the value in the cell that satisfied my format search
    > criteria as the lookup value.
    >
    > I used the formaul:
    > "=VLOOKUP(Target,'C:\Documents and
    > Settings[SummaryByProject(111005).xls]Current'!$B$1:$D$585,2,FALSE)"
    > , where I tried to define Target as the cell that satisfied teh search
    > criteria, but it does not work.
    >
    > I'd apprecaite any help you can give on this
    > Thanks
    > --
    > Los




  3. #3
    L. Howard Kittle
    Guest

    Re: VLOOKUP Formula using variable for lookup_value

    Hi Los,

    I named a cell Target and used it in this simple test formula and it worked
    fine.

    =VLOOKUP(Target,A1:B5,2,0)

    If you did not name the lookup value cell Target, the the lookup value in
    your formula is the word Target and would have to be in quotes...
    =VLOOKUP("Target",A1:B5,2,0). If a named range then as above without the "
    "s.

    HTH
    Regards,
    Howard

    "Los in RI" <[email protected]> wrote in message
    news:[email protected]...
    >I have a cell format search criteria over a specified column range. When
    >the
    > criteria is satified, I need to enter a formula using VLOOKUP in an
    > adjacent
    > column that uses the value in the cell that satisfied my format search
    > criteria as the lookup value.
    >
    > I used the formaul:
    > "=VLOOKUP(Target,'C:\Documents and
    > Settings[SummaryByProject(111005).xls]Current'!$B$1:$D$585,2,FALSE)"
    > , where I tried to define Target as the cell that satisfied teh search
    > criteria, but it does not work.
    >
    > I'd apprecaite any help you can give on this
    > Thanks
    > --
    > Los




+ 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