Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Vlookup - picking from a formula.
Hello,
I am using Excel 2007 I have a long GL account number and I only want to pick up a certain account number. I use this in my formula (=MID(F4,5,4), which works fine I get the number (8025), but here is my problem I try to use VLookup based on the number 8025 (logical_test) it does not work. If I remove the =MID(F4,5,4) from the cell and replace it with 8025 the Vlookup works. I want to use my code =MID(F4,5,4), but the VLookup won't work. Is there a work around solution or different way to code? Any tips will be appreciated. Thank you in advance. Cheers |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Vlookup - picking from a formula.
try something like this:
=VLOOKUP(VALUE(D13),F4:H13,2) -- Gary "CAM" wrote in message ... Hello, I am using Excel 2007 I have a long GL account number and I only want to pick up a certain account number. I use this in my formula (=MID(F4,5,4), which works fine I get the number (8025), but here is my problem I try to use VLookup based on the number 8025 (logical_test) it does not work. If I remove the =MID(F4,5,4) from the cell and replace it with 8025 the Vlookup works. I want to use my code =MID(F4,5,4), but the VLookup won't work. Is there a work around solution or different way to code? Any tips will be appreciated. Thank you in advance. Cheers |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Vlookup - picking from a formula.
Thanks Gary,
Works great! "Gary Keramidas" <GKeramidasAtMsn.com wrote in message ... try something like this: =VLOOKUP(VALUE(D13),F4:H13,2) -- Gary "CAM" wrote in message ... Hello, I am using Excel 2007 I have a long GL account number and I only want to pick up a certain account number. I use this in my formula (=MID(F4,5,4), which works fine I get the number (8025), but here is my problem I try to use VLookup based on the number 8025 (logical_test) it does not work. If I remove the =MID(F4,5,4) from the cell and replace it with 8025 the Vlookup works. I want to use my code =MID(F4,5,4), but the VLookup won't work. Is there a work around solution or different way to code? Any tips will be appreciated. Thank you in advance. Cheers |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Picking up part of a formula from another cell | Excel Worksheet Functions | |||
how to put 'SUM' formula in VB after picking up certain names and their bonus | Excel Discussion (Misc queries) | |||
Conditional Vlookup - Cherry picking information from the table ar | Excel Discussion (Misc queries) | |||
VLookup Not Picking Up Entire Phrase | Excel Programming | |||
Cell formula, picking Text | Excel Programming |