Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
How can excel identify a number when it is whole or it has decimals.
I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A1=INT(A1),TRUE,FALSE)
-- Best Regards, Luke M "ileanardz" wrote in message ... How can excel identify a number when it is whole or it has decimals. I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=A1=INT(A1)
-- Biff Microsoft Excel MVP "Luke M" wrote in message ... =IF(A1=INT(A1),TRUE,FALSE) -- Best Regards, Luke M "ileanardz" wrote in message ... How can excel identify a number when it is whole or it has decimals. I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(INT(A1)=A1,"YES","NO")
ileanardz wrote: How can excel identify a number when it is whole or it has decimals. I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
On Feb 24, 11:27*am, ileanardz wrote:
How can excel identify a number when it is whole or it has decimals. I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? Thank you all. While you were answer me, I searched and found what I need he http://groups.google.com/group/micro...97b20 9ccd85b Thanks a lot! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
how about
=if(rounddown(a1,0)=a1,"Yes","No"). Rounddown will round a number down to the specified number of digits. Allen. "ileanardz" wrote: How can excel identify a number when it is whole or it has decimals. I am doing an IF function. E.I. If(A1=WHOLE NUMBER, YES, NO) Is there some way? . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do identify if a number is NOT in an array? | Excel Discussion (Misc queries) | |||
identify sheet number in header? | Excel Discussion (Misc queries) | |||
Identify the row in which a MAX number in a column resides | Excel Worksheet Functions | |||
Formula to Identify Column Number | Excel Discussion (Misc queries) | |||
identify data in a cell that has a number as the second character | Excel Worksheet Functions |