-
Formula with no error message?
How would I write this formula to round without it displaying an error message if the cell is left blank?
=IF(ISERROR(F17*H17),"",IF(F17=-1,H17,F17*H17))
I tried:
=ROUND(IF(ISERROR(F17*H17),"",IF(F17=-1,H17,F17*H17)),2)
it returns #VALUE! if left blank.
-
=IF(ISERROR(F17*H17),"",ROUND(IF(F17=-1,H17,F17*H17)),2)
-
I don't get an error with a blank cell, but I do if I enter text. Anyway, try
=IF(ISERROR(F17*H17),"",IF(F17=-1,ROUND(H17,2),ROUND(F17*H17,2)))
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
THANK YOU!!!
THANK YOU! THANK YOU!
I love this site already!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules