+ Reply to Thread
Results 1 to 3 of 3

#VALUE! error on ROUND function

  1. #1
    Forum Contributor
    Join Date
    12-21-2004
    Location
    MN
    MS-Off Ver
    Microsoft 365
    Posts
    213

    #VALUE! error on ROUND function

    I need to add the ROUND function to my formula, but when I do, there will be a #VALUE! error in every cell where S2502 is empty. It works fine with the ROUND function in there, providing S2502 is populated.

    Without the ROUND formula in there, it works perfectly in all the cells whether S2502 is blank or not. So I obviously need to tweak the formula a bit but I cannot seem to get it quite right.

    =ROUND(IF(S2502="","",S2502*Q2502*R2502),2)
    Last edited by karstens; 09-17-2012 at 10:13 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: #VALUE! error on ROUND function

    Did you try IFERROR?

    =IFERROR(ROUND(IF(S2502="","",S2502*Q2502*R2502),2),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    12-21-2004
    Location
    MN
    MS-Off Ver
    Microsoft 365
    Posts
    213

    Re: #VALUE! error on ROUND function

    No, I did not try IFERROR. But it worked, so thank you very much!
    Sweet!

+ 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