+ Reply to Thread
Results 1 to 7 of 7

Vlookup help

  1. #1
    Janet BN
    Guest

    Vlookup help

    Hi,

    Trying to use the VLOOKUP function on a column that has multiple names
    (comma seprated) or with % in brackets. Data originally from MSProject. I
    need to lookup from the left side only, match it with a standard value and
    return the standard value.

    Data to be matched - Bob Smith,Client or Bob Smith [88%]
    Lookup says - Bob Smith

    Can someone please help me with the equation?

    I've tried to keep the equation simple, also tried left, trim etc. with no
    luck. Not convinced INDEX will do the whole trick so tried it in combination
    with vlookup - no luck.

    This is the original equation, it works fine where the value in AA18 is
    exactly the same as Resources!$B.

    =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)

    Any help appreciated




  2. #2
    Peo Sjoblom
    Guest

    Re: Vlookup help

    Try wildcards

    VLOOKUP("*"&$AA18&"*",Resources!$B:$C,1,FALSE)


    --

    Regards,

    Peo Sjoblom

    Excel 95 - Excel 2007
    Northwest Excel Solutions
    www.nwexcelsolutions.com
    "It is a good thing to follow the first law of holes;
    if you are in one stop digging." Lord Healey


    "Janet BN" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Trying to use the VLOOKUP function on a column that has multiple names
    > (comma seprated) or with % in brackets. Data originally from MSProject.
    > I
    > need to lookup from the left side only, match it with a standard value and
    > return the standard value.
    >
    > Data to be matched - Bob Smith,Client or Bob Smith [88%]
    > Lookup says - Bob Smith
    >
    > Can someone please help me with the equation?
    >
    > I've tried to keep the equation simple, also tried left, trim etc. with no
    > luck. Not convinced INDEX will do the whole trick so tried it in
    > combination
    > with vlookup - no luck.
    >
    > This is the original equation, it works fine where the value in AA18 is
    > exactly the same as Resources!$B.
    >
    > =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    >
    > Any help appreciated
    >
    >
    >




  3. #3
    shaunap
    Guest

    RE: Vlookup help

    At the end of your VLookup formula change the False to True. False returns
    exact matches, True returns closest possible match.

    Shauna

    "Janet BN" wrote:

    > Hi,
    >
    > Trying to use the VLOOKUP function on a column that has multiple names
    > (comma seprated) or with % in brackets. Data originally from MSProject. I
    > need to lookup from the left side only, match it with a standard value and
    > return the standard value.
    >
    > Data to be matched - Bob Smith,Client or Bob Smith [88%]
    > Lookup says - Bob Smith
    >
    > Can someone please help me with the equation?
    >
    > I've tried to keep the equation simple, also tried left, trim etc. with no
    > luck. Not convinced INDEX will do the whole trick so tried it in combination
    > with vlookup - no luck.
    >
    > This is the original equation, it works fine where the value in AA18 is
    > exactly the same as Resources!$B.
    >
    > =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    >
    > Any help appreciated
    >
    >
    >


  4. #4
    shaunap
    Guest

    RE: Vlookup help

    At the end of your VLookup formula change the False to True. False returns
    exact matches, True returns closest possible match.

    Shauna

    "Janet BN" wrote:

    > Hi,
    >
    > Trying to use the VLOOKUP function on a column that has multiple names
    > (comma seprated) or with % in brackets. Data originally from MSProject. I
    > need to lookup from the left side only, match it with a standard value and
    > return the standard value.
    >
    > Data to be matched - Bob Smith,Client or Bob Smith [88%]
    > Lookup says - Bob Smith
    >
    > Can someone please help me with the equation?
    >
    > I've tried to keep the equation simple, also tried left, trim etc. with no
    > luck. Not convinced INDEX will do the whole trick so tried it in combination
    > with vlookup - no luck.
    >
    > This is the original equation, it works fine where the value in AA18 is
    > exactly the same as Resources!$B.
    >
    > =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    >
    > Any help appreciated
    >
    >
    >


  5. #5
    Peo Sjoblom
    Guest

    Re: Vlookup help

    TRUE returns the largest value that is less than or equal to the lookup
    value, not the closest. Also for that to work you need to have the first
    column of the lookup table sorted in ascending order

    --

    Regards,

    Peo Sjoblom

    Excel 95 - Excel 2007
    Northwest Excel Solutions
    www.nwexcelsolutions.com
    "It is a good thing to follow the first law of holes;
    if you are in one stop digging." Lord Healey


    "shaunap" <[email protected]> wrote in message
    news:[email protected]...
    > At the end of your VLookup formula change the False to True. False
    > returns
    > exact matches, True returns closest possible match.
    >
    > Shauna
    >
    > "Janet BN" wrote:
    >
    >> Hi,
    >>
    >> Trying to use the VLOOKUP function on a column that has multiple names
    >> (comma seprated) or with % in brackets. Data originally from MSProject.
    >> I
    >> need to lookup from the left side only, match it with a standard value
    >> and
    >> return the standard value.
    >>
    >> Data to be matched - Bob Smith,Client or Bob Smith [88%]
    >> Lookup says - Bob Smith
    >>
    >> Can someone please help me with the equation?
    >>
    >> I've tried to keep the equation simple, also tried left, trim etc. with
    >> no
    >> luck. Not convinced INDEX will do the whole trick so tried it in
    >> combination
    >> with vlookup - no luck.
    >>
    >> This is the original equation, it works fine where the value in AA18 is
    >> exactly the same as Resources!$B.
    >>
    >> =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    >>
    >> Any help appreciated
    >>
    >>
    >>




  6. #6
    Janet BN
    Guest

    Re: Vlookup help

    Thanks for this Peo, it now works a treat.


    "Peo Sjoblom" wrote:

    > TRUE returns the largest value that is less than or equal to the lookup
    > value, not the closest. Also for that to work you need to have the first
    > column of the lookup table sorted in ascending order
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Excel 95 - Excel 2007
    > Northwest Excel Solutions
    > www.nwexcelsolutions.com
    > "It is a good thing to follow the first law of holes;
    > if you are in one stop digging." Lord Healey
    >
    >
    > "shaunap" <[email protected]> wrote in message
    > news:[email protected]...
    > > At the end of your VLookup formula change the False to True. False
    > > returns
    > > exact matches, True returns closest possible match.
    > >
    > > Shauna
    > >
    > > "Janet BN" wrote:
    > >
    > >> Hi,
    > >>
    > >> Trying to use the VLOOKUP function on a column that has multiple names
    > >> (comma seprated) or with % in brackets. Data originally from MSProject.
    > >> I
    > >> need to lookup from the left side only, match it with a standard value
    > >> and
    > >> return the standard value.
    > >>
    > >> Data to be matched - Bob Smith,Client or Bob Smith [88%]
    > >> Lookup says - Bob Smith
    > >>
    > >> Can someone please help me with the equation?
    > >>
    > >> I've tried to keep the equation simple, also tried left, trim etc. with
    > >> no
    > >> luck. Not convinced INDEX will do the whole trick so tried it in
    > >> combination
    > >> with vlookup - no luck.
    > >>
    > >> This is the original equation, it works fine where the value in AA18 is
    > >> exactly the same as Resources!$B.
    > >>
    > >> =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    > >>
    > >> Any help appreciated
    > >>
    > >>
    > >>

    >
    >
    >


  7. #7
    Janet BN
    Guest

    Re: Vlookup help

    Thanks for this Peo, it now works a treat.


    "Peo Sjoblom" wrote:

    > TRUE returns the largest value that is less than or equal to the lookup
    > value, not the closest. Also for that to work you need to have the first
    > column of the lookup table sorted in ascending order
    >
    > --
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Excel 95 - Excel 2007
    > Northwest Excel Solutions
    > www.nwexcelsolutions.com
    > "It is a good thing to follow the first law of holes;
    > if you are in one stop digging." Lord Healey
    >
    >
    > "shaunap" <[email protected]> wrote in message
    > news:[email protected]...
    > > At the end of your VLookup formula change the False to True. False
    > > returns
    > > exact matches, True returns closest possible match.
    > >
    > > Shauna
    > >
    > > "Janet BN" wrote:
    > >
    > >> Hi,
    > >>
    > >> Trying to use the VLOOKUP function on a column that has multiple names
    > >> (comma seprated) or with % in brackets. Data originally from MSProject.
    > >> I
    > >> need to lookup from the left side only, match it with a standard value
    > >> and
    > >> return the standard value.
    > >>
    > >> Data to be matched - Bob Smith,Client or Bob Smith [88%]
    > >> Lookup says - Bob Smith
    > >>
    > >> Can someone please help me with the equation?
    > >>
    > >> I've tried to keep the equation simple, also tried left, trim etc. with
    > >> no
    > >> luck. Not convinced INDEX will do the whole trick so tried it in
    > >> combination
    > >> with vlookup - no luck.
    > >>
    > >> This is the original equation, it works fine where the value in AA18 is
    > >> exactly the same as Resources!$B.
    > >>
    > >> =VLOOKUP($AA18,Resources!$B:$C,1,FALSE)
    > >>
    > >> Any help appreciated
    > >>
    > >>
    > >>

    >
    >
    >


+ 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