+ Reply to Thread
Results 1 to 3 of 3

Using IF and ROUND in same calculation

  1. #1
    Registered User
    Join Date
    02-11-2009
    Location
    Raglan
    MS-Off Ver
    Excel 2003, 2007
    Posts
    28

    Using IF and ROUND in same calculation

    Hi all, I'm using Excel 2002.

    I'm creating a spreadsheet to calculate materials with the following columns Cost/10% of Cost/Customer Cost/Qty/Total cost.

    I understand that whilst showing rounded to 2 decimal places excel stores more than this in the cell. which then throws out the Total cost by a few pence.

    My research leads me to believe I need to use the ROUND function but I'm unsure which cell to use it or how.

    I attach an example to show my problem. You will note cell E7 shows the incorrect answer.

    Any help much appreciated
    Attached Files Attached Files
    Last edited by BongoBill; 10-23-2009 at 11:29 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using IF and ROUND in same calculation

    New formula in C3:

    =IF(COUNT(A3:B3)<2,"",ROUND(A3+B3,2))

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor jj72uk's Avatar
    Join Date
    03-22-2008
    Location
    Essex, England
    MS-Off Ver
    Work - Office 2000, Home - Office 2007E
    Posts
    360

    Re: Using IF and ROUND in same calculation

    Yes, you can use round and if

    Like..

    =ROUND(IF(COUNT(A5)<1,"",A5*(10/100)),2)

    See sheet
    Attached Files Attached Files

+ 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