+ Reply to Thread
Results 1 to 4 of 4

Round formula

  1. #1
    Forum Contributor
    Join Date
    09-15-2011
    Location
    London
    MS-Off Ver
    Excel 2016
    Posts
    135

    Round formula

    Hi All,

    I have a problem with my excel sheet in round formula, in cell A1 =1 then the formula will round up the value like D7/D5 it should come like 2.67% if the value A1=2 then it will work the same way the result could be 3% (Rounded up)

    =IF(A1=2,IFERROR(D7/D5,0),IFERROR(ROUND(D7/D5,0),0))

    Help me to fix the issue. Thanks Raju
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    01-07-2013
    Location
    Michigan
    MS-Off Ver
    O365
    Posts
    601

    Re: Round formula

    Try this formula. Make sure your cell is formatted as a percentage with the number of decimals you want to see.
    Please Login or Register  to view this content.
    Does that give you the results you're looking for?
    If someone helped achieve your solution, consider clicking "* Add Reputation" on their post.

    If your question has been answered, mark the thread as [SOLVED] using the Thread Tools menu at the top of the thread.

  3. #3
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Round formula

    [... deleted ... I did not see the inconsistency between your original formula (round if A1<>2) and your explanation (round if A1=2). Melvosh's response is good enough, although I would simplify the use of IFERROR]
    Last edited by joeu2004; 05-14-2019 at 01:49 PM. Reason: improve readability, emphasis; errata: A1=1

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Round formula

    One way

    Format D9 to display 2 dec. places

    Then D9=
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Fianlly add add a conditional format to D9

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and format thh CF as % with zero dec. places.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. [SOLVED] Custom formulas that will round up when a condition is met or round down
    By cinstanl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2016, 01:32 PM
  2. Replies: 1
    Last Post: 09-04-2015, 04:06 PM
  3. Replies: 2
    Last Post: 12-06-2014, 01:58 PM
  4. [SOLVED] How to round to nearest .01 and round down if thousands place is .005
    By dredre609 in forum Excel General
    Replies: 5
    Last Post: 09-29-2014, 11:47 AM
  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. formula to round up?
    By John in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] How do I ROUND() round off decimals of a column dataset?
    By H&oslash;jrup in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2005, 07:06 AM

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