#1   Report Post  
Posted to microsoft.public.excel.misc
martin
 
Posts: n/a
Default Formula


I need to find the lower number of three numbers but I have a N/A error in
two sometimes due to a vlookup formula. Is their away of ignoreing n/a ERROR
??
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default Formula

your min formula will ignore blank cells so wrap your vlookup formulas
something like this
=IF(ISNA(VLOOKUP(F25,D25:E27,2,FALSE)),"",VLOOKUP( F25,D25:E27,2,FALSE))

--
paul

remove nospam for email addy!



"martin" wrote:


I need to find the lower number of three numbers but I have a N/A error in
two sometimes due to a vlookup formula. Is their away of ignoreing n/a ERROR
??

  #3   Report Post  
Posted to microsoft.public.excel.misc
Zygan
 
Posts: n/a
Default Formula


if your looking up the lowest number in a table scrap the vlookup and
try

= MIN("your range")

exmaple
Column A
1
2
3
4
5
0
6
7

code would be
=MIN("A1:A8")
would return the value 0

however there is a way of not returning the balue of n/a and you need
the code

add

=isna("your formula")

this will return the word TRUE if the real value is n/a

i know it is a long winded formula however does work
=IF(ISNA(VLOOKUP(value,range,column,FALSE)),"",(VL OOKUP(value,range,column,FALSE)))

basically what it says is
if the first vlookup is na then return "" - (nothing)
if its not na then do the vlookup


--
Zygan
------------------------------------------------------------------------
Zygan's Profile: http://www.excelforum.com/member.php...o&userid=34423
View this thread: http://www.excelforum.com/showthread...hreadid=549414

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
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Creating a check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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

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"