LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Lookup question and iferror compatibility

Experts,

I am currently using a function that seems too complicated and will not work
on excel 2003. What I am trying to accomplish is to match the first 1 to 5
characters (strings contain 1-5 letters then sets of numbers separated by
"x" I am only interested in the first 1-5 letters) from one table to a
second table (on the same sheet) and return the value in the next column.
This is what I am currently doing:

=IFERROR(LOOKUP(LEFT(D6,5),$V$34:$V$52,$W$34:$W$52 ),IFERROR(LOOKUP(LEFT(D6,4),$V$34:$V$52,$W$34:$W$5 2),IFERROR(LOOKUP(LEFT(D6,3),$V$34:$V$52,$W$34:$W$ 52),IFERROR(LOOKUP(LEFT(D6,2),$V$34:$V$52,$W$34:$W $52),IFERROR(LOOKUP(LEFT(D6,1),$V$34:$V$52,$W$34:$ W$52),0)))))

Table 1
D E E(output)
5 A1x23 <equation 1
6 BC4x4 <equation 3
7 AAG2x3 <equation 2
8 BC2x1 <equation 3

Table 2
V W
34 A 1
35 AAG 2
36 BC 3
.... ... ...
54 AECD 4

I would like to accomplish the same task while being compatible with 2003.
Making the formula more straight forward would be a plus however isn't
entirely necessary.

Thank you
Ryan

 
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
function =IFERROR LOOKUP works in excel 2007 not in excel 2003 David Ryan Excel Worksheet Functions 4 April 15th 09 03:25 PM
IFERROR help Pete DeKalb Excel Discussion (Misc queries) 2 April 12th 08 03:42 AM
Testing Reverse Compatibility and Compatibility in General dim Excel Discussion (Misc queries) 4 January 8th 08 01:02 PM
2003/2007 Compatibility Question Ruthe B Excel Discussion (Misc queries) 5 February 28th 07 03:35 PM
PC to MAC Printing Compatibility Question SZEIG89 Excel Discussion (Misc queries) 2 February 21st 07 08:54 PM


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