Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cameronfunk
 
Posts: n/a
Default lookup function .... I think???


Hello, this is what I have.

sheet 1
ID(A) Item #(B)
CAFRLT G804170619
CAFRLT G805170652
CAFRLT G812170652
CANGEO G804170619
CANGEO G805170652
CANGEO G812170652

sheet 2
ID(A) G804170619 (B) G805170652(C)
G812170652(D)

CAFRLT $1,057.26 $949.50 $114.40
ALFPET $0.00 $0.00 $0.00
CAWERE $0.00 $0.00 $0.00
CANGEO $265.30 $211.50 $27.20
CARAVE $435.10 $557.10 $30.40

what I need is a formula in sheet 1 that will go and look for the ID
and the Item Code and give a corresponding value. I can't make it work
to save my life. Any help would be greatly appreciated. Thanks


--
cameronfunk
------------------------------------------------------------------------
cameronfunk's Profile: http://www.excelforum.com/member.php...o&userid=34569
View this thread: http://www.excelforum.com/showthread...hreadid=547135

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RichardSchollar
 
Posts: n/a
Default lookup function .... I think???


Hi Cameron

How about something like this:

=VLOOKUP(Sheet1!A2,Sheet2!$A$2:$D$1000,MATCH(Sheet 1!B2,Sheet2!$B$1:$D$1,0),0)

Ranges will need adjusting to suit.

Best regards

Richard


--
RichardSchollar
------------------------------------------------------------------------
RichardSchollar's Profile: http://www.excelforum.com/member.php...o&userid=34698
View this thread: http://www.excelforum.com/showthread...hreadid=547135

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
cameronfunk
 
Posts: n/a
Default lookup function .... I think???


Had some problems with the text but all worked out in the end. I knew it
would work and you proved me right. Thanks so much.


--
cameronfunk
------------------------------------------------------------------------
cameronfunk's Profile: http://www.excelforum.com/member.php...o&userid=34569
View this thread: http://www.excelforum.com/showthread...hreadid=547135

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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Lookup Function help marlea Excel Discussion (Misc queries) 2 August 23rd 05 07:30 PM
Lookup Function Problems FFW Excel Worksheet Functions 2 August 21st 05 04:22 PM
lookup function 1 Colboyfx Excel Worksheet Functions 4 July 15th 05 09:15 AM
How do I use 3 cells to create the string for a lookup function? Bencomo Excel Worksheet Functions 1 May 15th 05 07:17 AM


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