Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi
Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#2
![]() |
|||
|
|||
![]()
Try this:
=VLOOKUP(LEFT(A1,4),EmailList!A:C,3,FALSE) -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Gus" wrote in message ... Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#3
![]() |
|||
|
|||
![]()
Try the following...
=VLOOKUP(A1,LEFT(EmailList!A1:C100,4),3,0) ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER, and where A1 contains your lookup value. Hope this helps! In article , Gus wrote: Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#4
![]() |
|||
|
|||
![]()
If Column A contains numbers, try:
=VLOOKUP(--LEFT(A1,4),EmailList!A:C,3,FALSE) -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "RagDyeR" wrote in message ... Try this: =VLOOKUP(LEFT(A1,4),EmailList!A:C,3,FALSE) -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "Gus" wrote in message ... Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#5
![]() |
|||
|
|||
![]()
Hi Domenic
The formula below returned the #N/A value but a manual calculation should have returned the value 2? Rgds Gus "Domenic" wrote: Try the following... =VLOOKUP(A1,LEFT(EmailList!A1:C100,4),3,0) ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER, and where A1 contains your lookup value. Hope this helps! In article , Gus wrote: Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#6
![]() |
|||
|
|||
![]()
Try it this way:
=VLOOKUP(LEFT(A1,4)&"*",EmailList!A1:C100,3,0) This is a "regular" formula, entered with just ENTER, not an array formula. On Sat, 19 Feb 2005 09:11:03 -0800, Gus wrote: Hi Domenic The formula below returned the #N/A value but a manual calculation should have returned the value 2? Rgds Gus "Domenic" wrote: Try the following... =VLOOKUP(A1,LEFT(EmailList!A1:C100,4),3,0) ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER, and where A1 contains your lookup value. Hope this helps! In article , Gus wrote: Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
#7
![]() |
|||
|
|||
![]()
Thank you to all who replied and helped on this matter!
"Myrna Larson" wrote: Try it this way: =VLOOKUP(LEFT(A1,4)&"*",EmailList!A1:C100,3,0) This is a "regular" formula, entered with just ENTER, not an array formula. On Sat, 19 Feb 2005 09:11:03 -0800, Gus wrote: Hi Domenic The formula below returned the #N/A value but a manual calculation should have returned the value 2? Rgds Gus "Domenic" wrote: Try the following... =VLOOKUP(A1,LEFT(EmailList!A1:C100,4),3,0) ....confirmed with CONTROL+SHIFT+ENTER, not just ENTER, and where A1 contains your lookup value. Hope this helps! In article , Gus wrote: Hi Any help with the following would be greatly appreciated - I'm trying to do a vlookup whereby it only searches/has to match the first 4 characters in the utmost left column of the table and return the associated cell. My non working formula is: =VLOOKUP(A:A(left4),EmailList!A:C,3,FALSE) whereby the A:A(left4) is meant to be the first 4 characters from the left of the column. Thks Gus |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add the same character(s) to multiple cells in a column (or row) . | Excel Discussion (Misc queries) | |||
How can I automatically update column index number in VLookup whe. | Excel Worksheet Functions | |||
Remove 1st 3 characters in each field of Excel column | Excel Worksheet Functions | |||
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? | Excel Worksheet Functions | |||
vlookup change column index position - without changing formulae | Excel Worksheet Functions |