ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   FIND or SEARCH worksheet function (https://www.excelbanter.com/excel-programming/353161-find-search-worksheet-function.html)

Mike Archer

FIND or SEARCH worksheet function
 
Is there a way to have a worksheet function that does not return an error if
search string is not found. If FIND or SEARCH would return a "0" value, that
is what I want. Idealy, I want to have a worksheet function that returns a
booleen if a number has a dot in it. If there was an ISINTEGER worksheet
function, for example, that would be perfect.
--
Thanks,
Mike

Toppers

FIND or SEARCH worksheet function
 
Mike,
=IF(MOD(A1,1)< 0,"TRUE","") will return TRUE if non-integer in A1
I.e. No digits after decimal point.


HTH

"Mike Archer" wrote:

Is there a way to have a worksheet function that does not return an error if
search string is not found. If FIND or SEARCH would return a "0" value, that
is what I want. Idealy, I want to have a worksheet function that returns a
booleen if a number has a dot in it. If there was an ISINTEGER worksheet
function, for example, that would be perfect.
--
Thanks,
Mike



All times are GMT +1. The time now is 05:28 AM.

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