Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 10-13-2014, 10:22 AM
gebobs gebobs is offline Trying to round up a field based on a calculation but getting error messages Windows 7 64bit Trying to round up a field based on a calculation but getting error messages Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

The reason this happens is because of your IF statement in P. If there is no data, the formula returns "". While it may look like a blank cell, Excel doesn't treat it the same and any formula that uses it as an operator will result in an error when it is blank.



There are a few ways to get around this. The easiest is to modify your equation as I mentioned above:

=iferror(((round(m28,0)-round(o28,0))*p28),"")
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating new field in pivot table based off existing field laceymarie1987 Excel 0 06-26-2014 12:13 PM
Trying to round up a field based on a calculation but getting error messages Form field calculation returning 2x correct result Jschueller Word 1 08-20-2013 01:51 PM
Trying to round up a field based on a calculation but getting error messages Rules based due date calculation dlowrey Excel Programming 3 05-12-2013 08:30 PM
Prevent Field Calculation with Dates from introducing line break? ztag Word 1 01-13-2012 04:13 PM
Trying to round up a field based on a calculation but getting error messages Mail Merge Calculation Error Lsbutler2000 Mail Merge 1 06-22-2007 06:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft