+ Reply to Thread
Results 1 to 3 of 3

Checking if non-integer values exist in a range

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    Checking if non-integer values exist in a range

    Hi

    I want to make a macro whether columns R-Z contain values which don't end in 0.25, 0.5, 0.75 or 0.0 (with the aim of deleting the rows that do). I'm thinking that multiplying the cell value by 4 and testing whether the number is an integer will be the best way about it, but can't find a way to check for integers.

    Is there an IsInteger type function?

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Checking if non-integer values exist in a range

    davidman1,

    Generally speaking, a common method to check for an integer is:
    Please Login or Register  to view this content.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-01-2012
    Location
    United Kingdom
    MS-Off Ver
    Office 2010
    Posts
    71

    Re: Checking if non-integer values exist in a range

    Thanks, works perfectly.

+ 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