Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

MAX and MIN to ignore ERROR or N/A

$
0
0

I already have a list of auto-generated numbers every few minutes, in which that number fluctuates, but sometimes the number is an ERROR or N/A.

For example my list is:

2621#N/A#N/A45

I want to get the max of this list so I would use =max(B1:B) which I’m taking the whole column. But in this situation the max will come out as #N/A. I need it to ignore the #N/A and ho straight to the highest number, in this case, 6.

As of now I’ve been manually deleting the error values, but I wanted to know if there was a better way to go about this.

That being said, is there also a way to delete all the #N/A values in a single sheet with a command or such?

Note, I need to take the whole column, so I can’t just do =max(B1:B4,B7:B) skipping the error values, as it’s an auto-generating list and the error values are random, not sure where they will land.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>