Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2017, 07:13 AM
Jo Freeman Jo Freeman is offline #div/0! Windows 7 64bit #div/0! Office 2016
Novice
#div/0!
 
Join Date: Mar 2015
Posts: 19
Jo Freeman is on a distinguished road
Default #div/0!

Hi All



I have a spreadsheet that calculates an average per week per item. Column A has a "From Date", Column B is the "To Date", Column C is the income and Column D has a formula to calculate the average per week. When there are no dates in a particular row, the above appears. I don't want to delete the formula as there will be data entered. Can I stop #DIV/0! from appearing and just show an empty cell?

Many thanks.
Reply With Quote
  #2  
Old 08-24-2017, 08:46 AM
xor xor is offline #div/0! Windows 10 #div/0! 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

=IFERROR(your formula, "")
Reply With Quote
  #3  
Old 09-01-2017, 04:40 AM
Jo Freeman Jo Freeman is offline #div/0! Windows 7 64bit #div/0! Office 2016
Novice
#div/0!
 
Join Date: Mar 2015
Posts: 19
Jo Freeman is on a distinguished road
Default

Thank you Xor for looking. I'm sorry, but I still can't get it work. This is the formula I am using: =G6/((F6-E6)/7

I typed in =IFERROR(G6/((F6-E6)/7,"")) What am I doing wrong?

Many thanks
Reply With Quote
  #4  
Old 09-01-2017, 05:24 AM
NBVC's Avatar
NBVC NBVC is offline #div/0! Windows 10 #div/0! Office 2013
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:

=IFERROR(G6/((F6-E6)/7),"")
Reply With Quote
  #5  
Old 09-01-2017, 05:43 AM
Jo Freeman Jo Freeman is offline #div/0! Windows 7 64bit #div/0! Office 2016
Novice
#div/0!
 
Join Date: Mar 2015
Posts: 19
Jo Freeman is on a distinguished road
Default

Perfect! Thank you so much.
Reply With Quote
  #6  
Old 09-01-2017, 06:13 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline #div/0! Windows 7 64bit #div/0! 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

Quote:
Originally Posted by Jo Freeman View Post
I typed in =IFERROR(G6/((F6-E6)/7,"")) What am I doing wrong?

Many thanks
The total number of opening parenthesis must equal the number of closing parentheis
__________________
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
  #7  
Old 09-01-2017, 07:34 AM
NBVC's Avatar
NBVC NBVC is offline #div/0! Windows 10 #div/0! Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

Pecoflyer,

The number of parentheses are equal... they are just misplaced
Reply With Quote
  #8  
Old 09-01-2017, 08:42 AM
Jo Freeman Jo Freeman is offline #div/0! Windows 7 64bit #div/0! Office 2016
Novice
#div/0!
 
Join Date: Mar 2015
Posts: 19
Jo Freeman is on a distinguished road
Default

Thank you all for your time.
Reply With Quote
  #9  
Old 09-01-2017, 09:22 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline #div/0! Windows 7 64bit #div/0! 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

Quote:
Originally Posted by NBVC View Post
Pecoflyer,

The number of parentheses are equal... they are just misplaced
I'm getting too old for this...
__________________
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
  #10  
Old 09-01-2017, 09:30 AM
xor xor is offline #div/0! Windows 10 #div/0! 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

Pecoflyer

I guess you referred to the formula in the first line of #3.
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 12:58 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