Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sue Smith
 
Posts: n/a
Default How do I display contents of an adjoining cell?

Hello,

I need to search alphanumeric contents of column A with the contents of
column c. If a match is found, I want to display the contents of the
adjoining cell in column b.

Ex:
A B C E
e21f Smith 23f4 Miller
r42e Jones 43kf Not found
23f4 Miller e4hh Not found

I should get a result of Miller in col E.

I have an array setup using 'exact' which gives me a True or False answer.
Is there a way to have excel display the contents of the adjoining cell in
col b for all true results?

Any assistance would be appreciated.

Thank you






  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

I have an array setup using 'exact' which gives me a True or False answer.
Is there a way to have excel display the contents of the adjoining cell in
col b for all true results?


Not sure what that means but would these be considered a match?

23F4 and 23f4

Is that why you want "exact"?

In column E you can just use a Vlookup:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:A$100,2,0 ),"Not found")

Biff

"Sue Smith" wrote in message
...
Hello,

I need to search alphanumeric contents of column A with the contents of
column c. If a match is found, I want to display the contents of the
adjoining cell in column b.

Ex:
A B C E
e21f Smith 23f4 Miller
r42e Jones 43kf Not found
23f4 Miller e4hh Not found

I should get a result of Miller in col E.

I have an array setup using 'exact' which gives me a True or False answer.
Is there a way to have excel display the contents of the adjoining cell in
col b for all true results?

Any assistance would be appreciated.

Thank you








  #3   Report Post  
Biff
 
Posts: n/a
Default

Ooops!

Typo:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:A$100,2,0 ),"Not found")


Should be:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:B$100,2,0 ),"Not found")

Biff

"Biff" wrote in message
...
Hi!

I have an array setup using 'exact' which gives me a True or False answer.
Is there a way to have excel display the contents of the adjoining cell in
col b for all true results?


Not sure what that means but would these be considered a match?

23F4 and 23f4

Is that why you want "exact"?

In column E you can just use a Vlookup:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:A$100,2,0 ),"Not found")

Biff

"Sue Smith" wrote in message
...
Hello,

I need to search alphanumeric contents of column A with the contents of
column c. If a match is found, I want to display the contents of the
adjoining cell in column b.

Ex:
A B C E
e21f Smith 23f4 Miller
r42e Jones 43kf Not found
23f4 Miller e4hh Not found

I should get a result of Miller in col E.

I have an array setup using 'exact' which gives me a True or False
answer. Is there a way to have excel display the contents of the
adjoining cell in col b for all true results?

Any assistance would be appreciated.

Thank you










  #4   Report Post  
Sue Smith
 
Posts: n/a
Default

Hi Biff!
Thanks so much. It worked great and made my day a lot easier.

You have a wonderful weekend. =)

Sue
"Biff" wrote in message
...
Ooops!

Typo:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:A$100,2,0 ),"Not found")


Should be:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:B$100,2,0 ),"Not found")

Biff

"Biff" wrote in message
...
Hi!

I have an array setup using 'exact' which gives me a True or False
answer. Is there a way to have excel display the contents of the
adjoining cell in col b for all true results?


Not sure what that means but would these be considered a match?

23F4 and 23f4

Is that why you want "exact"?

In column E you can just use a Vlookup:

=IF(COUNTIF(A$1:A$100,C1),VLOOKUP(C1,A$1:A$100,2,0 ),"Not found")

Biff

"Sue Smith" wrote in message
...
Hello,

I need to search alphanumeric contents of column A with the contents of
column c. If a match is found, I want to display the contents of the
adjoining cell in column b.

Ex:
A B C E
e21f Smith 23f4 Miller
r42e Jones 43kf Not found
23f4 Miller e4hh Not found

I should get a result of Miller in col E.

I have an array setup using 'exact' which gives me a True or False
answer. Is there a way to have excel display the contents of the
adjoining cell in col b for all true results?

Any assistance would be appreciated.

Thank you












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
How can I display a cell range in a text box in excel? Pat Hughes Excel Discussion (Misc queries) 3 September 22nd 05 05:13 PM
cell contents Kevin Excel Discussion (Misc queries) 1 March 8th 05 11:23 AM
Can I use the contents of a cell to satisfy the result_vector arg. robh_2 Excel Worksheet Functions 3 February 24th 05 08:14 PM
display values in cell Vincent Excel Discussion (Misc queries) 2 February 21st 05 04:16 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 12:53 AM.

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

About Us

"It's about Microsoft Excel"