+ Reply to Thread
Results 1 to 3 of 3

Division of a figure

  1. #1
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117

    Division of a figure

    Just wonder how we can request Excel to return True when we divide 2 numbers together if it is exact figures (ie.. no decimal points).
    Thank you in advance,
    Gilbert

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523
    Hi there,

    Say your numbers are in A1 and B1 (change as required), enter the following formula in whatever cell you wish to see the result in:

    =IF(TRUNC(A1/B1)=TRUNC(A1/B1,1),"TRUE","FALSE")

    HTH

    Robert

  3. #3
    Forum Contributor gilbert's Avatar
    Join Date
    01-08-2004
    Location
    Asia
    MS-Off Ver
    2007
    Posts
    117
    Thanks! It works perfectly..... now my formular is working. Thanks for the tips!

+ 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