Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MrSales
 
Posts: n/a
Default VLOOKUP problem with using a -


I've created a database with parts that have a - prefix before the
actual part number but it is returning n/a. It works fine if I don't
use a dash. Is there a way around this?

example

-04
-06
-08
-3


--
MrSales
------------------------------------------------------------------------
MrSales's Profile: http://www.excelforum.com/member.php...o&userid=32572
View this thread: http://www.excelforum.com/showthread...hreadid=546909

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default VLOOKUP problem with using a -

You don't give very much detail, but I didn't have any problems. Are you
appending a "-" to what you are looking up? For instance:

=VLOOKUP("-"&J9,$H$10:$I$13,2,FALSE)

--
Kevin Vaughn


"MrSales" wrote:


I've created a database with parts that have a - prefix before the
actual part number but it is returning n/a. It works fine if I don't
use a dash. Is there a way around this?

example

-04
-06
-08
-3


--
MrSales
------------------------------------------------------------------------
MrSales's Profile: http://www.excelforum.com/member.php...o&userid=32572
View this thread: http://www.excelforum.com/showthread...hreadid=546909


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Kevin Vaughn
 
Posts: n/a
Default VLOOKUP problem with using a -

Or if instead you need to disregard the - from a value you are looking up
maybe you need something like this:

=VLOOKUP(MID(J9,2,LEN(J9)-1),$H$10:$I$13,2,FALSE)
--
Kevin Vaughn


"Kevin Vaughn" wrote:

You don't give very much detail, but I didn't have any problems. Are you
appending a "-" to what you are looking up? For instance:

=VLOOKUP("-"&J9,$H$10:$I$13,2,FALSE)

--
Kevin Vaughn


"MrSales" wrote:


I've created a database with parts that have a - prefix before the
actual part number but it is returning n/a. It works fine if I don't
use a dash. Is there a way around this?

example

-04
-06
-08
-3


--
MrSales
------------------------------------------------------------------------
MrSales's Profile: http://www.excelforum.com/member.php...o&userid=32572
View this thread: http://www.excelforum.com/showthread...hreadid=546909


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
vlookup problem puiuluipui Excel Discussion (Misc queries) 2 February 5th 06 05:46 PM
Vlookup problem with Date Time normajmarsh Excel Worksheet Functions 0 February 3rd 06 07:33 PM
vlookup Problem marksuza Excel Discussion (Misc queries) 3 December 22nd 05 03:40 PM
VLOOKUP Problem Tosca Excel Worksheet Functions 7 July 23rd 05 10:43 PM
VLOOKUP, OFFSET, MATCH PROBLEM, HELP? Steve Excel Worksheet Functions 0 January 30th 05 09:11 PM


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