ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do you ignore blank cells (https://www.excelbanter.com/excel-discussion-misc-queries/13345-how-do-you-ignore-blank-cells.html)

Kerry

how do you ignore blank cells
 
I am trying to write a formula that results in the earliest date but a blank
cell results in a 0.
=MIN('1Jan-9Jan'!R196,'10Jan-16Jan'!R196,'17Jan-23Jan'!R196)
What do I need to do to this formula to ignore blank cells

Don Guillett

This is the idea. Modify this array formula to suit your needs. An array
formula must be entered/edited using control+shift+enter vs just enter

=MIN(IF(A1:A100,A1:A10))

--
Don Guillett
SalesAid Software

"Kerry" wrote in message
...
I am trying to write a formula that results in the earliest date but a

blank
cell results in a 0.
=MIN('1Jan-9Jan'!R196,'10Jan-16Jan'!R196,'17Jan-23Jan'!R196)
What do I need to do to this formula to ignore blank cells





All times are GMT +1. The time now is 10:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com