How can I fix #VALUE! error

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
Please see minsheet below.
The intent is when value in F is 0.00, the row below (from A to F) should return empty cells. (see A73 to F73)
But Excel is returning #VALUE! in C74 to F74 and C75 to F75.
Could you help with a fix?


Cell Formulas
RangeFormula
A71:A75A71=IF(B71>$B$4,"",IF(B71="","",DATE(YEAR(A70),MONTH(A70)+1,DAY(A70))))
B71:B75B71=IF(B70>=$B$4,"",IF(B70="","",B70+1))
C71:C72C71=IF(F70=0,"",C70)
D71:D72D71=IF(F70=0,"",IPMT($B$3/12,1,$B$4,F70,0)*-1)
E74:E75,E71:E72E71=IF(F70=0,"",C71-D71)
F71F71=ROUND(F70-E71,2)
F72,F74:F75F72=F71-E72
C73,C75C73=IF(ROUND(F72,2)=0,"",C72)
D73:D75D73=IF(ROUND(F72,2)=0,"",IPMT($B$3/12,1,$B$4,F72,0)*-1)
E73E73=IF(ROUND(F72,2)=0,"",C73-D73)
F73F73=IF(ROUND(F72,2)=0,"",F72-E73)
C74C74=IF(ROUND(F73,2)=0,"",IF(F73="","",C73))
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
To turn #VALUE from a formula into "", try:
=IFERROR(formula,"")

For ex, C74:
=IFERROR(IF(ROUND(F73,2)=0,"",IF(F73="","",C73)),"")
 
Upvote 0
Please see minsheet below.
The intent is when value in F is 0.00, the row below (from A to F) should return empty cells. (see A73 to F73)
But Excel is returning #VALUE! in C74 to F74 and C75 to F75.
Could you help with a fix?


Cell Formulas
RangeFormula
A71:A75A71=IF(B71>$B$4,"",IF(B71="","",DATE(YEAR(A70),MONTH(A70)+1,DAY(A70))))
B71:B75B71=IF(B70>=$B$4,"",IF(B70="","",B70+1))
C71:C72C71=IF(F70=0,"",C70)
D71:D72D71=IF(F70=0,"",IPMT($B$3/12,1,$B$4,F70,0)*-1)
E74:E75,E71:E72E71=IF(F70=0,"",C71-D71)
F71F71=ROUND(F70-E71,2)
F72,F74:F75F72=F71-E72
C73,C75C73=IF(ROUND(F72,2)=0,"",C72)
D73:D75D73=IF(ROUND(F72,2)=0,"",IPMT($B$3/12,1,$B$4,F72,0)*-1)
E73E73=IF(ROUND(F72,2)=0,"",C73-D73)
F73F73=IF(ROUND(F72,2)=0,"",F72-E73)
C74C74=IF(ROUND(F73,2)=0,"",IF(F73="","",C73))

I would start with the IF Blank part in your formulas. For example:

Instead of:

=IF(ROUND(F73,2)=0,"",IF(F73="","",C73))

Use:

=IF(F73="","",IF(ROUND(F73,2)=0,"",C73))
 
Upvote 0
Solution

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top