#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Vlookup question

Hello. Per the extremely helpful advice of a contributor last week, I
have created a table for a vlookup to reference. This table's range
is -100 to 100 and each number within that range is accompanied by a
color. For example, numbers 0 thru -100 are accompanied by green.
While my vlookup works for positive numbers (and returns the correct
color), I am having trouble getting it to work for negative numbers.
My current vlookup formula is =VLOOKUP(Z64, my color table, 2,
FALSE). All of my data columns are formatted the same way. Any idea
why I might be pulling N/A's for the negative numbers? Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Vlookup question

My current vlookup formula is =VLOOKUP(Z64, my color table, 2,
FALSE). All of my data columns are formatted the same way.


So, I assume your color table looks something like this:

-100...red
...-99...blue
...-98...yellow
......0...green
......1...green
..... 2...green
..100...green

If Z64 is a negative number your formula *should* work just fine. There's
nothing wrong with your formula.


--
Biff
Microsoft Excel MVP


wrote in message
...
Hello. Per the extremely helpful advice of a contributor last week, I
have created a table for a vlookup to reference. This table's range
is -100 to 100 and each number within that range is accompanied by a
color. For example, numbers 0 thru -100 are accompanied by green.
While my vlookup works for positive numbers (and returns the correct
color), I am having trouble getting it to work for negative numbers.
My current vlookup formula is =VLOOKUP(Z64, my color table, 2,
FALSE). All of my data columns are formatted the same way. Any idea
why I might be pulling N/A's for the negative numbers? Thanks!



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
IF/AND VLOOKUP question... Kevin Excel Discussion (Misc queries) 3 December 16th 07 10:41 PM
VLOOKUP question Jonah Excel Discussion (Misc queries) 1 November 9th 06 05:18 AM
VLOOKUP question Diane Excel Discussion (Misc queries) 1 November 2nd 06 09:40 PM
vlookup question Pakmount Excel Discussion (Misc queries) 1 October 21st 06 07:46 AM
VLOOKUP Question.. nastech Excel Discussion (Misc queries) 8 February 12th 06 11:22 AM


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