+ Reply to Thread
Results 1 to 3 of 3

Help with Forumula for Whole Numbers

Hybrid View

  1. #1
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Help with Forumula for Whole Numbers

    Hello -

    I have a column full of numbers. I need to a formula for the adjacent column that will allow me to identify only those that are whole numbers. How would I specify a criteria of whole number in an if function? For example, if I have 5.447, 6, 10, 8.76, and 4.53 in the first column, I would want to see only 6 and 10 identified as 'whole' in the new column, with all the others identified as 'decimal' or something. I know how to structure if functions, but I'm unclear as how to build the whole number criteria. Any help is much appreciated!

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Hi,

    With your first number in cell A1 :
    =IF(INT(A1)=A1,"OK","Not Ok")
    will do the job ...

    HTH
    Carim

  3. #3
    Registered User
    Join Date
    04-07-2005
    Posts
    19

    Thanks!

    Thank's so much for the help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1