ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Display a warning msg if count is over 10. How? (https://www.excelbanter.com/excel-programming/279607-display-warning-msg-if-count-over-10-how.html)

lothario[_18_]

Display a warning msg if count is over 10. How?
 
Hi,

Cell A2 has the formula =COUNTA(A3:A3000) which counts the non-blanks
in the range.

I would like to display a warning message if the count is over 10.

How do I do that?

Thanks,
Luther



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/


Tom Ogilvy

Display a warning msg if count is over 10. How?
 
=if(COUNTA(A3:A3000)10,"Too many blanks!", countA(A3:A3000) & " blanks is
OK")

--
Regards,
Tom Ogilvy



"lothario" wrote in message
...
Hi,

Cell A2 has the formula =COUNTA(A3:A3000) which counts the non-blanks
in the range.

I would like to display a warning message if the count is over 10.

How do I do that?

Thanks,
Luther



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/




lothario[_19_]

Display a warning msg if count is over 10. How?
 
Thanks Tom



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



All times are GMT +1. The time now is 02:28 PM.

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