Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-25-2017, 08:07 AM
John 1978 John 1978 is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Novice
IFERROR not (consistently) working
 
Join Date: Apr 2017
Posts: 3
John 1978 is on a distinguished road
Default IFERROR not (consistently) working

I have a fairly simple equation with an IFERROR function to calculate some currency ---> =IFERROR(K67+(K67*L67),"")



If there is no input I want it to show nothing ("") and if there is input it shows the amount in dollars. That function works fine and comes back quite a bit in this sheet. Nevertheless, it stops working fine after line 66 so line 67 - which is just a copied version of the 66 one - does not show a blank (empty) cell but $0.00. Does anyone have an idea how this is possible? All functions are exactly the same.

Working function ---------> =IFERROR(K60+(K60*L60),"")
Not working function ----> =IFERROR(K67+(K67*L67),"")
Reply With Quote
  #2  
Old 04-25-2017, 08:21 AM
xor xor is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

You might want to try:

=IF(COUNT(K60:L60)<2;"",K60+(K60*L60))
Reply With Quote
  #3  
Old 04-25-2017, 09:01 AM
John 1978 John 1978 is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Novice
IFERROR not (consistently) working
 
Join Date: Apr 2017
Posts: 3
John 1978 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
You might want to try:

=IF(COUNT(K60:L60)<2;"",K60+(K60*L60))
I tried that but that doesn't work... Excel says there is something wrong with the formula. What I think is weird that it does go right in the cells above.
Reply With Quote
  #4  
Old 04-25-2017, 09:25 AM
xor xor is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Can't you upload your file?
Reply With Quote
  #5  
Old 04-25-2017, 10:18 AM
NBVC's Avatar
NBVC NBVC is offline IFERROR not (consistently) working Windows 7 64bit IFERROR not (consistently) working Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Try replacing the semicolons in xor's formulas with commas...
Reply With Quote
  #6  
Old 04-25-2017, 10:21 AM
xor xor is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Thank you NBVC.

Now and then I unfortunately forget to replace some semicolons (which is default for me) with commas.
Reply With Quote
  #7  
Old 04-25-2017, 10:51 AM
NBVC's Avatar
NBVC NBVC is offline IFERROR not (consistently) working Windows 7 64bit IFERROR not (consistently) working Office 2007
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

no problem
Reply With Quote
  #8  
Old 04-25-2017, 01:51 PM
John 1978 John 1978 is offline IFERROR not (consistently) working Windows 10 IFERROR not (consistently) working Office 2016
Novice
IFERROR not (consistently) working
 
Join Date: Apr 2017
Posts: 3
John 1978 is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Can't you upload your file?
See attachment. But the problem has been solved, there are two ways to fix the problem.

First is changing the formaula to this one: =IFERROR(1/(1/(K60+(K60*L60))),"") (ChemistB deserves the credits for this solution)

The second solution is by formatting the cell from currency to customs and type $0.00;-0;"" in the 'type' bar.

I have showed both options in the red sections of the Excel-sheet with option one on the right red cell and option two on the left.

I'm sure there are more options but these work.


ChemistB described the root cause for those who want to know:
In some of your earlier cells, you were using =IFERROR(VLOOKUP($C$2,$M$1:$N$6,2,0),"")
This does not produce a "Blank" cell. If you use the formula =ISBLANK(K62), it will come up false. It is a null set and excel sees it as text. (=ISTEXT(K62) = TRUE). When you try to add or multiply text, you get an error so the IFERROR function takes over and you get "" in your cell.
If the cell is really blank or is 0, then the arithmetic works perfectly and you get a result of 0, not an error.

Since you don't seem to want zero's or errors, one way to fix your problem would be with this equation
=IFERROR(1/(1/(K60+(K60*L60))),"")
Attached Images
File Type: jpg Capture.jpg (95.2 KB, 15 views)
Attached Files
File Type: xlsx Book1.xlsx (9.0 KB, 7 views)
Reply With Quote
  #9  
Old 04-26-2017, 12:05 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline IFERROR not (consistently) working Windows 7 64bit IFERROR not (consistently) working Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!


Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).
https://www.excelforum.com/excel-for...working-2.html
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
IFERROR not (consistently) working TOC Not Working Gary91 Word 3 01-21-2015 05:52 AM
Visio 2010: Polygons not closing consistently Orthoducks Visio 0 07-14-2014 04:52 PM
IFERROR not (consistently) working working 4 10's, need help to set up rkirkland Project 1 12-19-2012 02:47 PM
Autocomplete not working? waltdisneypixar Excel 3 07-30-2012 09:44 AM
Is it possible for Excel print consistently with any printer? avoid awkward page brea William C Excel 1 12-21-2010 01:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:33 AM.


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