Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Look up, return value

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 833
Default Look up, return value

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 83 (towards the top of the home page at time if posting).

I think that this gives you what you want.

If you agree please hit Yes.

Thanks.

"Katerinia" wrote:

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Look up, return value

company limits internet access. Can you post the answer here?

"trip_to_tokyo" wrote:

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 83 (towards the top of the home page at time if posting).

I think that this gives you what you want.

If you agree please hit Yes.

Thanks.

"Katerinia" wrote:

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 833
Default Look up, return value

EXCEL 2007

This is what I have done:-

1. Sheet1

V1 Old Job Code
V2 A
V3 B
V4 C
V5 D
V6 E


W1 New Job Code
W2 =VLOOKUP(V2,JobCodes,2)
W3 =VLOOKUP(V3,JobCodes,2)
W4 =VLOOKUP(V4,JobCodes,2)
W5 =VLOOKUP(V5,JobCodes,2)
W6 =VLOOKUP(V6,JobCodes,2)

2. Sheet2

A1 Old Job Code
A2 A
A3 B
A4 C
A5 D
A6 E


B1 New Job Code
B2 1
B3 2
B4 3
B5 4
B6 5


Sheet2 cells A 2 to B 6 have a Range Name of JobCodes

Please hit yes if my comments have helped.

Thanks.



"Katerinia" wrote:

company limits internet access. Can you post the answer here?

"trip_to_tokyo" wrote:

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 83 (towards the top of the home page at time if posting).

I think that this gives you what you want.

If you agree please hit Yes.

Thanks.

"Katerinia" wrote:

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Look up, return value

i need to return the value, not the reference.

"trip_to_tokyo" wrote:

EXCEL 2007

This is what I have done:-

1. Sheet1

V1 Old Job Code
V2 A
V3 B
V4 C
V5 D
V6 E


W1 New Job Code
W2 =VLOOKUP(V2,JobCodes,2)
W3 =VLOOKUP(V3,JobCodes,2)
W4 =VLOOKUP(V4,JobCodes,2)
W5 =VLOOKUP(V5,JobCodes,2)
W6 =VLOOKUP(V6,JobCodes,2)

2. Sheet2

A1 Old Job Code
A2 A
A3 B
A4 C
A5 D
A6 E


B1 New Job Code
B2 1
B3 2
B4 3
B5 4
B6 5


Sheet2 cells A 2 to B 6 have a Range Name of JobCodes

Please hit yes if my comments have helped.

Thanks.



"Katerinia" wrote:

company limits internet access. Can you post the answer here?

"trip_to_tokyo" wrote:

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 83 (towards the top of the home page at time if posting).

I think that this gives you what you want.

If you agree please hit Yes.

Thanks.

"Katerinia" wrote:

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default Look up, return value

Managed to figure it out!
Thanks for your help

=IF(LEN(T2)=8,T2,VLOOKUP(TEXT(T2,0),'JOB CODE REFERENCE
SHEET'!$A$2:$C$2500,3,FALSE))

"Katerinia" wrote:

i need to return the value, not the reference.

"trip_to_tokyo" wrote:

EXCEL 2007

This is what I have done:-

1. Sheet1

V1 Old Job Code
V2 A
V3 B
V4 C
V5 D
V6 E


W1 New Job Code
W2 =VLOOKUP(V2,JobCodes,2)
W3 =VLOOKUP(V3,JobCodes,2)
W4 =VLOOKUP(V4,JobCodes,2)
W5 =VLOOKUP(V5,JobCodes,2)
W6 =VLOOKUP(V6,JobCodes,2)

2. Sheet2

A1 Old Job Code
A2 A
A3 B
A4 C
A5 D
A6 E


B1 New Job Code
B2 1
B3 2
B4 3
B5 4
B6 5


Sheet2 cells A 2 to B 6 have a Range Name of JobCodes

Please hit yes if my comments have helped.

Thanks.



"Katerinia" wrote:

company limits internet access. Can you post the answer here?

"trip_to_tokyo" wrote:

EXCEL 2007

I have just put up a file for you at:-

http://www.pierrefondes.com/

Item number 83 (towards the top of the home page at time if posting).

I think that this gives you what you want.

If you agree please hit Yes.

Thanks.

"Katerinia" wrote:

i have a list of job codes in Sheet 1 column V that need to be updated with
new codes listed in Sheet 2 column B.

Sheet 2 column A contains the old job code, column b the new one.

How do I reference on Sheet 1 look at column v, find the matching job code
in Sheet 2 column A and return the value in Sheet 2 Column B.

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
Return a name in the same row Scott J[_2_] Excel Worksheet Functions 3 November 19th 09 11:49 AM
Return date if in range, else return blank LisaL Excel Worksheet Functions 1 July 22nd 09 03:23 PM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM


All times are GMT +1. The time now is 10:48 PM.

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"