+ Reply to Thread
Results 1 to 5 of 5

Round Function

  1. #1
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    350

    Round Function

    Hi

    How do I add ROUND,0 to the following formula please


    =IF(VLOOKUP($B3, EmployeeMaster!$A:$L, 12, 0)="Y",IF(SUM(V3:AA3)>SUM(P3:U3),0,IF(SUM(P3:U3)>CalculationBasics!$B$5,CalculationBasics!$B$5*CalculationBasics!$B$6%,SUM(P3:U3)*CalculationBasics!$B$6%)),0)

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Round Function

    Looks to me like a series if IF' tests that then lead to a calc. So really, all you need to do is add ROUND to the actual calc, not to the tests...
    round(CalculationBasics!$B$5*CalculationBasics!$B$6%,0),round(SUM(P3:U3)*CalculationBasics!$B$6%,0)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Round Function

    You can also simplify, to wit:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-10-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    350

    Re: Round Function

    Quote Originally Posted by joeu2004 View Post
    You can also simplify, to wit:
    Please Login or Register  to view this content.
    Thank you it worked Great !

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Round Function

    Quote Originally Posted by joeu2004 View Post
    You can also simplify, to wit:
    Please Login or Register  to view this content.
    Nicely done. I didnt even think to see if it could be simplified

+ 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] How to PRESENT round-down, but not perform round-down function?
    By superlative in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2019, 12:06 PM
  2. [SOLVED] If Statement with a Divisible-By function and Round Function
    By thanhie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2013, 01:00 AM
  3. [SOLVED] Conditional Round up or Round up Function
    By cdmterence in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-18-2013, 06:03 PM
  4. Problem Inserting Round function into an IF function
    By Ash87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-11-2013, 05:37 PM
  5. Round Len Function Help
    By [email protected] in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 08-18-2006, 12:50 PM
  6. VB Function Round vs Excel function Round not behaving the same Od
    By Bud in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2006, 12:45 AM
  7. [SOLVED] The ROUND function
    By Louise in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 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