+ Reply to Thread
Results 1 to 3 of 3

formula to round down if exactly 0.5

  1. #1
    Registered User
    Join Date
    08-23-2022
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    66

    formula to round down if exactly 0.5

    Hi,

    I have a formula where I want the result to only be rounded down if the result is exactly .5 (1/2) at the end. All other results should not be rounded. I would like this to be the result of the formula, not cell formatting or anything else.

    IF(A1*A2/(A2+A3) = a value that has exactly .5 at the end")"; ROUNDDOWN(A1*A2/(A2+A3));(A1*A2/(A2+A3))

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: formula to round down if exactly 0.5

    Try:

    =IF(MOD(((A1*A2/(A2+A3)))*2,1)=0,ROUNDDOWN((A1*A2/(A2+A3)),0),(A1*A2/(A2+A3)))

    You'll need ; nstead of ,
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    08-23-2022
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    66

    Re: formula to round down if exactly 0.5

    Fantastic, thanks so much!

+ 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: 5
    Last Post: 05-28-2022, 04:42 PM
  2. round using round function vs the decrease decimal
    By lastnn30 in forum Excel General
    Replies: 3
    Last Post: 10-25-2021, 07:49 PM
  3. Replies: 1
    Last Post: 09-04-2015, 04:06 PM
  4. Replies: 2
    Last Post: 12-06-2014, 01:58 PM
  5. round up round down formula
    By m_789 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-04-2014, 05:34 AM
  6. [SOLVED] How do I ROUND() round off decimals of a column dataset?
    By Højrup in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2005, 07:06 AM

Tags for this Thread

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