![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I was able to find resolution to two different issues with the search mechanism, but I need to stick them together. The issue: Data in column A worksheet1 has a character(A)and 10 numbers with a leading 0. Column A worksheet2 has no character, but a leading zero. using VLOOKUP to populate column B worksheet1 with data from column B worksheet2 without the #N/A Can the IF(ISNA function be linked with a LEN function?? Have tried =Right, but the leading zero is a problem. I know this will be a lengthy formula. Thanks Keith |
|
|
|
#2 | |
|
Guest
Posts: n/a
|
Quote:
=IF(ISNA(VLOOKUP(RIGHT(A1,10),Sheet2!$A$1:$B$300,2)),"",VLOOKUP(RIGHT(A1,10),Sheet2!$A$1:$B$300,2)) If it is numeric, use this formula: =IF(ISNA(VLOOKUP(VALUE(RIGHT(A1,10)),Sheet2!$A$1:$B$300,2)),"",VLOOKUP(VALUE(RIGHT(A1,10)),Sheet2!$A$1:$B$300,2)) Hope this helps you out. |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|