Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default error when blank - please help

Good morning,

When $N$16:$N$25 in the formula below contains blanks, it returns #NA How
can i modify this formula to ignore blanks?

{=INDEX([NEAST2_1.XLW]Sheet1!$A$16:$A$25,
IF(ISERROR(MATCH(-MIN(ABS([NEAST2_1.XLW]Sheet1!$N$16:$N$25)),
[NEAST2_1.XLW]Sheet1!$N$16:$N$25,
0)),MATCH(MIN(ABS([NEAST2_1.XLW]Sheet1!$N$16:$N$25)),
[NEAST2_1.XLW]Sheet1!$N$16:$N$25,
0),MATCH(-MIN(ABS([NEAST2_1.XLW]Sheet1!$N$16:$N$25)),
[NEAST2_1.XLW]Sheet1!$N$16:$N$25, 0)))}

The formula is finding the # closest to 0 (negatives first) should 0 not
exist and retunring the corresponding rate in column A.

Entering a number into the blank fields is not an option as I have 20 sheets
with many tables.

Thank you in advance for your help!
Jeze

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
Leaving a cell blank when there is an error message - HELP mercedes Excel Discussion (Misc queries) 4 March 13th 07 08:08 PM
#DIV/0! Error - Need to display 0 or blank Brooks W. Excel Worksheet Functions 5 February 14th 07 03:36 PM
Leave Cell Blank if value is an error, below 0 or above 80 SteveC Excel Discussion (Misc queries) 4 May 12th 06 02:24 PM
Mystery: System Error and blank squares Bettergains Excel Discussion (Misc queries) 0 September 7th 05 05:56 PM
How to display a blank cell with no error message Juco Excel Worksheet Functions 11 January 31st 05 08:24 AM


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