J
Jim Berglund
Is there one?
There should be...
Is there a work around for it?
Thanks,
Jim Berglund
There should be...
Is there a work around for it?
Thanks,
Jim Berglund
Jim said:Is there one?
There should be...
Is there a work around for it?
Thanks,
Jim Berglund
Bob Phillips said:Surely, that function should be
Function IsInteger(Target As Range) As Boolean
If Not IsNumeric(Target.Value) Then
IsInteger = False
Else
If Target.Value - Int(Target.Value) = 0 Then
IsInteger = True
Else
IsInteger = False
End If
End If
End Function
but why not just use
=EXACT(F1,INT(F1))
--
HTH
Bob
Steve Dunn said:or even just =int(a1)=a1
Regards,Here is a function I wrote for myself which I use everywhere...
Function IsInteger(Target As Range) As Boolean
If Not IsNumeric(Range(Target).Value) Then
IsInteger = False
Else
If Range(Target).Value - Int(Range(Target).Value) = 0 Then
IsInteger = True
Else
IsInteger = False
End If
End If
End Function
Jim Berglund wrote:
ISINTEGER function
10-May-07
Is there one?
There should be...
Is there a work around for it?
Thanks,
Jim Berglund
Previous Posts In This Thread:
ISINTEGER function
Is there one?
There should be...
Is there a work around for it?
Thanks,
Jim Berglund
What are you trying to accomplish?
What are you trying to accomplish? ISINTEGER does not exist that I am aware
of, but there is INT, ROUND, TRUNC...there are a bunch out there depending
upon what you are trying to do.
KimCo
Re: ISINTEGER function
Jim Berglund wrote:
Jim,
=MOD(cell,1) for an integer is 0, is decimal > 0 for all others
Beege
Thanks a lot - That's what I needed!
Thanks a lot - That's what I needed!
Jim Berglund
I want to select rows based in whether a value is an integer or not.
I want to select rows based in whether a value is an integer or not.
Beege sent me
=MOD(cell,1) for an integer is 0, is decimal > 0 for all others
Which does it. Thanks,
Jim Berglund
"KimCo" <KCostalesATourcoopDOTcomNOSPAM> wrote in message
Submitted via EggHeadCafe - Software Developer Portal of Choice
XAML Organizer
http://www.eggheadcafe.com/tutorials/aspnet/ac373a5d-e497-4e07-9186-12166e83a024/xaml-organizer.aspx
Steve Dunn said:Label me puzzled!
I could have sworn I got FALSE when I tried this the other day, now I get
#VALUE!
Bob, where are you?