A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

look up



 
 
Thread Tools Display Modes
  #1  
Old February 4th, 2010, 07:41 AM posted to microsoft.public.excel.worksheet.functions
Nader
external usenet poster
 
Posts: 48
Default look up

hi
i have sheet1:
A B
benz 123
jeep 456
fiat 789
benz asd
benz zxc
jeep qwe
fiat opq
.... ...
.... ...
i wate when i tipe: for example benz it return 123
and ets...

asd

zxc

....
regardes
nader
  #2  
Old February 4th, 2010, 08:02 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default look up

Hi,

You may refer to my article at the following site

http://office.microsoft.com/en-us/ex...260381033.aspx

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"nader" wrote in message
...
hi
i have sheet1:
A B
benz 123
jeep 456
fiat 789
benz asd
benz zxc
jeep qwe
fiat opq
... ...
... ...
i wate when i tipe: for example benz it return 123
and ets...

asd

zxc

....
regardes
nader


  #3  
Old February 4th, 2010, 09:10 AM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default look up

In cell C1 enter the query string

In cell D1 enter the below formula and copy down as required,,Please note
that this is an array formula. You create array formulas in the same way that
you create other formulas, except you press CTRL+SHIFT+ENTER to enter the
formula. If successful in 'Formula Bar' you can notice the curly braces at
both ends like "{=formula}"

=IF(ROW(A1)=COUNTIF($A$1:$A$10,$C$1),INDEX($B$1:$ B$10,
SMALL(IF($A$1:$A$10=$C$1,ROW($A$1:$A$10)),ROW(A1)) ),"")

--
Jacob


"nader" wrote:

hi
i have sheet1:
A B
benz 123
jeep 456
fiat 789
benz asd
benz zxc
jeep qwe
fiat opq
... ...
... ...
i wate when i tipe: for example benz it return 123
and ets...

asd

zxc

....
regardes
nader

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.