Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I want to write a formula where if a cell contains a whole number a certain
value will be returned (true) but if its not a whole number (false) another value will be returned. Thanks for any help |
#2
![]() |
|||
|
|||
![]()
Hi
One way =IF(INT(A1)=A1,1,2) Replace 1 and 2 with your values or cell references. Regards Roger Govier Jez wrote: I want to write a formula where if a cell contains a whole number a certain value will be returned (true) but if its not a whole number (false) another value will be returned. Thanks for any help |
#3
![]() |
|||
|
|||
![]()
Hi, Thanks very much for that - fantastic
"Roger Govier" wrote: Hi One way =IF(INT(A1)=A1,1,2) Replace 1 and 2 with your values or cell references. Regards Roger Govier Jez wrote: I want to write a formula where if a cell contains a whole number a certain value will be returned (true) but if its not a whole number (false) another value will be returned. Thanks for any help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does a spreadsheet sent in Excel round numbers when mailed? | New Users to Excel | |||
Cells User Select Locked after upgrade to Excel 2002 | Excel Discussion (Misc queries) | |||
How to Round Whole Numbers? | Excel Discussion (Misc queries) | |||
Conversion | Excel Worksheet Functions | |||
Mouse continues to select after clicking on a cell in excel. | Excel Discussion (Misc queries) |