Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Yet another lookup question

I have two sheets.

on sheet one
Column C = CommCode
Column E = %

on sheet two
Coulmn C = CommCode
Column I = %

I would like the value in column I on sheet two equal the value of Column E
on sheet one when the CommCodes match (Column C of both sheets are equal)

What is the best way to make this happen?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Yet another lookup question

Try this in I2 of sheet2, copied down......

=IF(C2=Sheet1!C2,Sheet1!E2,"NoMatch")

Vaya con Dios,
Chuck, CABGx3



"diaare" wrote:

I have two sheets.

on sheet one
Column C = CommCode
Column E = %

on sheet two
Coulmn C = CommCode
Column I = %

I would like the value in column I on sheet two equal the value of Column E
on sheet one when the CommCodes match (Column C of both sheets are equal)

What is the best way to make this happen?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 50
Default Yet another lookup question

Thanks for the quick response.

Unfortuantley your suggestion does not work because I did not give you
enough information.

On sheet one I have each CommCode listed once...but on sheet two they are
listed multiple times...so the row numbers do not correlate.

I tried =LOOKUP(C$3:C$667,Summary!C$2:C$68,Summary!E$2:E$6 8) and it works
for most of the cells, but a few I get the #N/A error.

I think the error is due to the fact that I do not have the CommCodes in
alphabetical order on sheet one.

Is there a way to make this work without changing their order...I am
thinking that I need to use the INDEX or MATCH functions, but I am not sure
exactly how.

Thanks again
Diane



"CLR" wrote:

Try this in I2 of sheet2, copied down......

=IF(C2=Sheet1!C2,Sheet1!E2,"NoMatch")

Vaya con Dios,
Chuck, CABGx3



"diaare" wrote:

I have two sheets.

on sheet one
Column C = CommCode
Column E = %

on sheet two
Coulmn C = CommCode
Column I = %

I would like the value in column I on sheet two equal the value of Column E
on sheet one when the CommCodes match (Column C of both sheets are equal)

What is the best way to make this happen?

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 Question Carl Excel Worksheet Functions 2 September 1st 06 04:29 PM
Lookup Question jam Excel Worksheet Functions 3 July 2nd 06 11:58 AM
LOOKUP Question shakey1181 Excel Discussion (Misc queries) 4 May 31st 06 01:59 PM
LOOKUP question DJ Excel Worksheet Functions 5 October 11th 05 02:01 AM
Lookup question Ntisch Excel Discussion (Misc queries) 4 June 27th 05 07:00 AM


All times are GMT +1. The time now is 02:34 PM.

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"