Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jd jd is offline
external usenet poster
 
Posts: 91
Default Lookup or Reference function ignoring errors

I am working on a spreadsheet with alot of lookup and reference functions. I
have gotten to pretty much my last step where i want to pull the lowest
number from a certain range of cells, but in both ranges there are error
values (#N/A).

When I use just the function:
=MIN(N7:N17)
(where N7:N17 is say #N/A,#N/A,#N/A, 16, 18, 20, 22)

it returns #N/A. Is there a way to ignore the errors and just get the
lowest number from that list (16).

Any help would be appreciated,
Thanks JD
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Lookup or Reference function ignoring errors

You could try something like:

=MIN(IF(NOT(ISERROR(N7:N17)),N7:N17))

or maybe:

=MIN(IF(ISNUMBER(N7:N17),N7:N17))

These are array formulas, so should be comitted with CTRL-SHIFT-ENTER
instead of just Enter. If done properly, the formula will be enclosed in { }.

HTH,
Elkar



"JD" wrote:

I am working on a spreadsheet with alot of lookup and reference functions. I
have gotten to pretty much my last step where i want to pull the lowest
number from a certain range of cells, but in both ranges there are error
values (#N/A).

When I use just the function:
=MIN(N7:N17)
(where N7:N17 is say #N/A,#N/A,#N/A, 16, 18, 20, 22)

it returns #N/A. Is there a way to ignore the errors and just get the
lowest number from that list (16).

Any help would be appreciated,
Thanks JD

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jd jd is offline
external usenet poster
 
Posts: 91
Default Lookup or Reference function ignoring errors

It worked !! Thanks so much, I probably would have been working on this for
days before finding the CTRL-SHIFT-ENTER for array functions.

Thanks, Wont be at the office all night
JD

"Elkar" wrote:

You could try something like:

=MIN(IF(NOT(ISERROR(N7:N17)),N7:N17))

or maybe:

=MIN(IF(ISNUMBER(N7:N17),N7:N17))

These are array formulas, so should be comitted with CTRL-SHIFT-ENTER
instead of just Enter. If done properly, the formula will be enclosed in { }.

HTH,
Elkar



"JD" wrote:

I am working on a spreadsheet with alot of lookup and reference functions. I
have gotten to pretty much my last step where i want to pull the lowest
number from a certain range of cells, but in both ranges there are error
values (#N/A).

When I use just the function:
=MIN(N7:N17)
(where N7:N17 is say #N/A,#N/A,#N/A, 16, 18, 20, 22)

it returns #N/A. Is there a way to ignore the errors and just get the
lowest number from that list (16).

Any help would be appreciated,
Thanks JD

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
Can I use LOOKUP as the reference in OFFSET function? Danni2004 Excel Discussion (Misc queries) 5 June 15th 07 07:15 AM
Statistical Functions ignoring errors excelBRISKbaby Excel Discussion (Misc queries) 1 June 7th 07 08:35 PM
Ignoring text and errors with Sumproduct SteveC Excel Worksheet Functions 3 May 1st 06 07:05 PM
Lookup function returning reference, not value Caligula Excel Worksheet Functions 1 May 28th 05 06:35 PM
Ignoring Lines with Errors in Pivot Tables Darren Excel Worksheet Functions 3 March 22nd 05 09:13 PM


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