LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default

Hi Adie
I think you would be best served by adjusting your source table to correct
the trailing -ves rather than attempting a complication to your VLOOKUP.
In a spare column on the source table, assuming the column containg the
values is column C enter
=IF(RIGHT(C1)<"-",C1,RIGHT(C1)&LEFT(C1,LEN(C1)-1)
Copy down the column for the full extent of your data.
Copy the new Column, move your cursor to cell C1 and Paste SpecialValues

Change ranges to suit.
N.B.Make a BACKUP of your data before you begin!!!

--
Regards

Roger Govier


"addie" wrote in
message ...

Is there an 'If / Then' formula that can adjust a vlookup's value?

When I use "VLOOKUP($A43,'Line Items'!$A$2:$M$6000,5,FALSE)" I
sometimes come across a few negative numbers that appear as " 1000- ".
How can I revise the vlookup formula to ensure that such negative
numbers appear as " -1000 "?

Addie


--
addie
------------------------------------------------------------------------
addie's Profile:
http://www.excelforum.com/member.php...o&userid=25526
View this thread: http://www.excelforum.com/showthread...hreadid=392498



 
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 to sum cell values Zakynthos Excel Worksheet Functions 4 July 26th 05 12:05 PM
vlookup only a set of values. sansk_23 Excel Worksheet Functions 7 May 18th 05 01:31 PM
Vlookup based on two lookup values Trip Excel Worksheet Functions 2 April 8th 05 06:25 PM
VLOOKUP: type or paste values Rochelle Excel Worksheet Functions 5 April 8th 05 03:23 PM
vlookup to see 2 values? alex Excel Worksheet Functions 12 March 21st 05 08:47 PM


All times are GMT +1. The time now is 07:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"