Eliminating #value when there are blank cells in calculation

Zoycyte

New Member
Joined
May 21, 2015
Messages
2
Hello,

The senario I have is that I want to have a formula calculate even when there is a blank cell in the calculation.

I have 3 canned reports that I drop into excel & format. From there I have a summary by description worksheet with vlookups & a calculation of all 3 reports.

vlookup:
=IFERROR(VLOOKUP(C20,'CPR240 - B'!$J:$K,2,FALSE),"")

Calculation (here is where I am getting the #value error)
=D20+E20-F20

I know the easiest thing to do would be to change the vlookup to return 0 instead of blank but I don't want it to be confused with something that is actually a zero dollar value. I would rather have it blank or something else you can suggest because this will show us that one of the reports is missing that field & we can log an incident with our group to have it updated. In the meantime I still need it to return a dollar value based on the other non-blank cells.

Appreciate any assistance.

Zoycyte
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi Brian,

Beauty. It worked. I think everything I tried was overly complicated thinking when really I should have gone back to basics. :LOL:
Thanks so much.
 
Upvote 0
Try using SUM(D20,E20,-F20)

FYI,
That would still result in #Value! if F20 was a formula returning ""
Because of the -

You'd have to do
SUM(D20,E20,-SUM(F20))

But since the OP said it worked, then F20 must not have been one of the formulas returning "".
 
Upvote 0

Forum statistics

Threads
1,217,367
Messages
6,136,133
Members
449,994
Latest member
Rocky Mountain High

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