Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nackington
 
Posts: n/a
Default Help with a formula please

Help please... I have a worksheet with rows and rows of data (text) in one
column. For each row in the next column I need to write a formula that looks
at the corresponding value in the first column and looks it up in a list on
worksheet 2. If it finds it in the list on worksheet 2 then return a value
which is in the next column (same row) on worksheet 2.

example
column 1, row 1 on worksheet 1 value = "GP"
formula checks through a list of 15 values on worksheet 2 and finds the
value "GP" in column 1, row 8. It returns value from column 2, row 8 which =
16 and displays it in column 2, row 1 on worksheet 1.

Thanks in anticipation!!
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:


=IF(ISNA(MATCH(A1,Sheet2!A:A,FALSE)),"",VLOOKUP(A1 ,Sheet2!A:B,2,FALSE))


In article ,
"nackington" wrote:

Help please... I have a worksheet with rows and rows of data (text) in one
column. For each row in the next column I need to write a formula that looks
at the corresponding value in the first column and looks it up in a list on
worksheet 2. If it finds it in the list on worksheet 2 then return a value
which is in the next column (same row) on worksheet 2.

example
column 1, row 1 on worksheet 1 value = "GP"
formula checks through a list of 15 values on worksheet 2 and finds the
value "GP" in column 1, row 8. It returns value from column 2, row 8 which =
16 and displays it in column 2, row 1 on worksheet 1.

Thanks in anticipation!!

  #3   Report Post  
nackington
 
Posts: n/a
Default

Thanks JE... works great.....!

"JE McGimpsey" wrote:

One way:


=IF(ISNA(MATCH(A1,Sheet2!A:A,FALSE)),"",VLOOKUP(A1 ,Sheet2!A:B,2,FALSE))


In article ,
"nackington" wrote:

Help please... I have a worksheet with rows and rows of data (text) in one
column. For each row in the next column I need to write a formula that looks
at the corresponding value in the first column and looks it up in a list on
worksheet 2. If it finds it in the list on worksheet 2 then return a value
which is in the next column (same row) on worksheet 2.

example
column 1, row 1 on worksheet 1 value = "GP"
formula checks through a list of 15 values on worksheet 2 and finds the
value "GP" in column 1, row 8. It returns value from column 2, row 8 which =
16 and displays it in column 2, row 1 on worksheet 1.

Thanks in anticipation!!


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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Cell shows formula and not the result of the formula. stumpy1220 Excel Worksheet Functions 2 January 14th 05 05:11 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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