#Value Error

hannakaram

New Member
Joined
Aug 9, 2019
Messages
6
I create statement sheet, which have Debit (H), Credit (F) and Balance (G) Column.
Both Debit (H) and Credit (F) have Formulas to to calculate them Values.
In Balance I make this Formula, =IF(ISBLANK(C8),"",H7+F8-G8)
I use IF(ISBLANK just to keep the cell blank if there are no Data in that raw.
The problem is that I am getting #Value in Balance because either the (H) or the (F) Column have no Value.
How I can fix this??
Thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I don't think it like setting numeric fields equal to "".
What if you try:
Code:
[COLOR=#333333]=IF(ISBLANK(C8),0,H7+F8-G8)[/COLOR]
If that does not work, please tell us the contents of C8, H7, F8 and G8.
 
Upvote 0
Both Debit (H) and Credit (F) have Formulas to to calculate them Values.

If the result of these formulas is "" (Blank), you should change it to 0 (zero), so you would not have problems.
But if you want to leave the result as "" (Blank), then try:

=IF(ISBLANK(C8),0,H7+IF(F8="",0,F8)-IF(G8="",0,G8))
 
Upvote 0
=IF(ISBLANK(C8),"",H7+F8-G8)
[....]
The problem is that I am getting #Value in Balance because either the (H) or the (F) Column have no Value.

No. If H7 and F8 truly have "no value" (empty), they are interpreted as zero.

They might appear to be empty because their value (or G8) is the null string ("").

Moreover, your test ISBLANK(C8) might not always do what you intended if C8 might be the null string (""), not empty (no value).

To correct all of that, try:

=IF(C8="", "", SUM(H7,F8)-N(G8))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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