Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default lookup a text cell and return text

Hi Guys,

I need your help, and I hope I'll make myself clear. So, I have to
workshhets. In sheet A there is a database, and one of the columns consists
of different email addresses. In sheet B, there is another database, and one
of the columns is again containing email addresses. Some of them match with
the column from sheet A. Now on sheet 2, to each email address corresponds a
certain PIN number. What I want to do is: search if each of the email
addresses from Sheet A is found on sheet B, and if it is, then I want to
return in a cell the PIN number corresponding to it.

sheet A sheet B

434
545
655
434

So, in the above example, I need to see if
appears in the column
from sheet B, and then to return the # 434 in a cell next to the entry from
sheet A.

I hope I made myself clear enough. Help please!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default lookup a text cell and return text


INDEX and MATCH works

INDEX(<Insert Range of PIN Numbers from Sheet B,MATCH(<insert Email
Address from Sheet A,<insert Range of Email Addresses from Sheet
B,0),0)

Make sure that the ranges selected for PIN Numbers and Email Addresses
are equivalent (i.e. rows 1-100 for both, not rows 1-50 for one and
1-400 for the other), else you can end up with errors.


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=567116

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY Scott Lolmaugh Excel Worksheet Functions 3 March 9th 06 11:05 PM
How do you make cell 2 return data if cell 1 contains text? jermsalerms Excel Discussion (Misc queries) 3 January 5th 06 10:44 PM
Return of blank cell if lookup fails TimM Excel Worksheet Functions 4 November 23rd 05 04:40 PM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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

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

About Us

"It's about Microsoft Excel"