Re: New to using VLOOKUP Function
From: john.bedford3 (john.bedford3_at_@ntlworld.com)
Date: 03/18/05
- Next message: Max: "Re: New to using VLOOKUP Function"
- Previous message: Jordon: "Re: Deleting cell contents based on partial content?"
- In reply to: Trevor Shuttleworth: "Re: New to using VLOOKUP Function"
- Next in thread: Max: "Re: New to using VLOOKUP Function"
- Reply: Max: "Re: New to using VLOOKUP Function"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 18 Mar 2005 23:28:20 GMT
Thanks Trevor that certainly finds the first item in the list but what I am
after is to find all entries that match and copy them to a new list. Should
I be using a different function?
--
John
Delete extra @ to reply
"Trevor Shuttleworth" <Trevor@Shucks.demon.co.uk> wrote in message
news:uqh$$3ALFHA.2852@TK2MSFTNGP14.phx.gbl...
> John
>
> for the lookup, you would need something like:
>
> =VLOOKUP("CHUB",'Lookup List'!$B$4:$H$52,2,FALSE)
>
> However, this will always find the first entry. Usually, you use VLOOKUP
to
> find a unique entry in a lookup table.
>
> Use =IF(ISNA(your_lookup),"",your_lookup) to avoid the #N/A
>
> Regards
>
> Trevor
>
>
> "john.bedford3" <john.bedford3@@ntlworld.com> wrote in message
> news:sxI_d.4395$MO6.3501@newsfe2-gui.ntli.net...
> > Hi, I am new to using the VLOOKUP function and would like a bit of help.
> >
> > I have created a sheet labelled 'Lookup List' and have data in the
range
> > B4:H52 and sorted by column B
> >
> > as follows.
> > B C D E F
> > G H
> > Species Date Place lbs ozs
drms
> > Kilos
> > Barbel 25-Aug-1984 River Kennet 2 13 0.0
1.275
> > Chub 01-Jan-1980 Luxborough Pit 1 5 0.0
> > 0.595
> > Chub 01-Mar-1981 R. Roding, Chigwell 1 4 0.0 0.566
> > Chub 01-Mar-1981 R. Roding, Chigwell 1 3 0.0 0.538
> > Chub 10-Sep-1983 R. Lea, 0 15 0.0
> > 0.425
> > Bream 01-Jun-1981 Lower Lough Erne 2 12 0.0 1.247
> > Bream 01-Jul-1982 River Beult, Hunton 1 12 0.0
0.793
> >
> > I have used the following formula to populate a list on a different
sheet.
> >
> > =VLOOKUP("CHUB",'Lookup List'!B4:H52,2,TRUE) amending the Col index
number
> > for each column.
> >
> > The result was as follows producing 5 entries instead of the expected 4
> > and
> > all 5 entries are the details of the last entry for Chub in the lookup
> > list.
> >
> > Date Place lbs ozs drms
> > Kilos
> > 10-Sep-1983 R. Lea, 0 15 00.0 0.425
> > 10-Sep-1983 R. Lea, 0 15 00.0 0.425
> > 10-Sep-1983 R. Lea, 0 15 00.0 0.425
> > 10-Sep-1983 R. Lea, 0 15 00.0 0.425
> > 10-Sep-1983 R. Lea, 0 15 00.0 0.425
> > #N/A #N/A #N/A #N/A #N/A #N/A
> >
> > I have obviously got the formula wrong or misinterpreted the way this
> > function works. Is there any way to get this to work? If so could you
also
> > tell me how I can return a blank cell instead of #N/A when the result is
> > not
> > TRUE?
> >
> > Any help would be gratefully appreciated.
> >
> >
> > --
> > John
> > Delete extra @ to reply
> >
> >
>
>
- Next message: Max: "Re: New to using VLOOKUP Function"
- Previous message: Jordon: "Re: Deleting cell contents based on partial content?"
- In reply to: Trevor Shuttleworth: "Re: New to using VLOOKUP Function"
- Next in thread: Max: "Re: New to using VLOOKUP Function"
- Reply: Max: "Re: New to using VLOOKUP Function"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|