#1   Report Post  
Jaco Jacobs
 
Posts: n/a
Default More lookup help

I am trying to lookup 2 values in sheet2 which should go into sheet1. I'll
try to explain.

Sheet 1 needs to look up the name of a person that is in both sheets.
Sheet2 contains all the infomration and the name appears more than once.

I want the cell too automatically look up the name.
After that it needs to look up for the number of "yes" values that are in
sheet 2 clumn D linked to the name on sheet 1 column B

I've tried so many different things but not sure how it should be
Hope this makes sense
  #2   Report Post  
Chad
 
Posts: n/a
Default

Try using the VLOOKUP function.

"Jaco Jacobs" wrote:

I am trying to lookup 2 values in sheet2 which should go into sheet1. I'll
try to explain.

Sheet 1 needs to look up the name of a person that is in both sheets.
Sheet2 contains all the infomration and the name appears more than once.

I want the cell too automatically look up the name.
After that it needs to look up for the number of "yes" values that are in
sheet 2 clumn D linked to the name on sheet 1 column B

I've tried so many different things but not sure how it should be
Hope this makes sense

  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

Assuming the names are listed in col. C in Sheet2:

=SUMPRODUCT((Sheet2!$C$1:$C$20=B1)*(Sheet2!
$D$1:$D$20="yes"))

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to lookup 2 values in sheet2 which should go

into sheet1. I'll
try to explain.

Sheet 1 needs to look up the name of a person that is in

both sheets.
Sheet2 contains all the infomration and the name appears

more than once.

I want the cell too automatically look up the name.
After that it needs to look up for the number of "yes"

values that are in
sheet 2 clumn D linked to the name on sheet 1 column B

I've tried so many different things but not sure how it

should be
Hope this makes sense
.

  #4   Report Post  
Jaco Jacobs
 
Posts: n/a
Default

On sheet2 the names are in column C

"Jason Morin" wrote:

Assuming the names are listed in col. C in Sheet2:

=SUMPRODUCT((Sheet2!$C$1:$C$20=B1)*(Sheet2!
$D$1:$D$20="yes"))

HTH
Jason
Atlanta, GA

-----Original Message-----
I am trying to lookup 2 values in sheet2 which should go

into sheet1. I'll
try to explain.

Sheet 1 needs to look up the name of a person that is in

both sheets.
Sheet2 contains all the infomration and the name appears

more than once.

I want the cell too automatically look up the name.
After that it needs to look up for the number of "yes"

values that are in
sheet 2 clumn D linked to the name on sheet 1 column B

I've tried so many different things but not sure how it

should be
Hope this makes sense
.


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
Lookup using more than one Lookup value Charlou Excel Discussion (Misc queries) 2 February 14th 05 04:31 PM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
Index table lookup anomaly Carole O Excel Worksheet Functions 9 December 9th 04 04:33 PM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 10:15 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"