+ Reply to Thread
Results 1 to 3 of 3

IF function to check a cell for a decimal

  1. #1
    Registered User
    Join Date
    04-07-2012
    Location
    Morongo Valley, CA
    MS-Off Ver
    Excel 365
    Posts
    1

    IF function to check a cell for a decimal

    Hi. I am trying to write an Excel formula that checks a cell for a decimal point. If it does, then blank, if not then the contents of that cell.

  2. #2
    Valued Forum Contributor
    Join Date
    11-29-2022
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    435

    Re: IF function to check a cell for a decimal

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,935

    Re: IF function to check a cell for a decimal

    Is that a decimal number or a period in a sentence?
    If decimal number try:
    =IF(MOD(A1,1)>0,"",A1)
    Ben Van Johnson

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 05-03-2022, 05:13 AM
  2. [SOLVED] Formula to check if any decimal exist in the range of values
    By Masa1989 in forum Excel General
    Replies: 3
    Last Post: 07-27-2015, 03:56 AM
  3. Replies: 2
    Last Post: 12-29-2013, 08:37 PM
  4. Check/Validate range for 4 decimal place input only
    By aprusik in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-01-2013, 07:59 PM
  5. Check if the number have two decimal point
    By darkhangelsk in forum Excel General
    Replies: 3
    Last Post: 08-20-2009, 01:14 PM
  6. Check the value decimal
    By ccs1981 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-23-2008, 12:47 AM
  7. [SOLVED] Check for more than 2 decimal places
    By Brian in forum Excel General
    Replies: 3
    Last Post: 12-14-2005, 08:10 PM

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