#1   Report Post  
Benj
 
Posts: n/a
Default Who buys the apples

Hi all again!

here is the deal, I have one column to enter say WHO BUYS so say A2
contains Mike, next column WHAT DOES HE BUY say B2 contains apples, A3=
Orange, B3 = John.
At the end I want to know who bought the apples and who the orange say I
take E2 contains apples then I want F2 to tell me Mike and so on.

Thank you all so much for sharing your knowledge,
All the best

Thanx for you David O & David McRitchie for answering my previous questions.
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Assume the "Who" range is A2:A50 and the "What" range is B2:B50.

E2 = apples

Formula in F2:

=INDEX(A2:A50,MATCH(E2,B2:B50,0))

Biff

"Benj" wrote in message
...
Hi all again!

here is the deal, I have one column to enter say WHO BUYS so say A2
contains Mike, next column WHAT DOES HE BUY say B2 contains apples, A3=
Orange, B3 = John.
At the end I want to know who bought the apples and who the orange say I
take E2 contains apples then I want F2 to tell me Mike and so on.

Thank you all so much for sharing your knowledge,
All the best

Thanx for you David O & David McRitchie for answering my previous
questions.



  #3   Report Post  
paul
 
Posts: n/a
Default

another way,=vlookup(e2,A2:B50,2,false).In cell e2 you can type or return
from a list the item you are looking for and the lookup wil tell you who
bought em
--
paul
remove nospam for email addy!



"Biff" wrote:

Hi!

Assume the "Who" range is A2:A50 and the "What" range is B2:B50.

E2 = apples

Formula in F2:

=INDEX(A2:A50,MATCH(E2,B2:B50,0))

Biff

"Benj" wrote in message
...
Hi all again!

here is the deal, I have one column to enter say WHO BUYS so say A2
contains Mike, next column WHAT DOES HE BUY say B2 contains apples, A3=
Orange, B3 = John.
At the end I want to know who bought the apples and who the orange say I
take E2 contains apples then I want F2 to tell me Mike and so on.

Thank you all so much for sharing your knowledge,
All the best

Thanx for you David O & David McRitchie for answering my previous
questions.




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
SUMIF positive values only from database gmac Excel Worksheet Functions 4 June 29th 05 09:51 AM
HELP! Filtering and sorting lists. [email protected] Excel Worksheet Functions 3 March 25th 05 01:31 PM


All times are GMT +1. The time now is 09:52 AM.

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"