I'm receiving an Error in Value error for the following formula when there is a blank cell. How can I make the cell value simply =0 whenever it is blank?
=(B15*D15+B16*D16+B17*D17)/SUM(B15:B17)
I'm receiving an Error in Value error for the following formula when there is a blank cell. How can I make the cell value simply =0 whenever it is blank?
=(B15*D15+B16*D16+B17*D17)/SUM(B15:B17)
Will this work?
Hope this helps!![]()
Please Login or Register to view this content.
Spread the love, add to the Rep
"None of us are as smart as all of us."
Maybe try IFERROR((B15*D15+B16*D16+B17*D17)/SUM(B15:B17), 0)
Formula:
Please Login or Register to view this content.
or
Formula:
Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
That won't work for my purpose, unfortunately. I don't want the formula result to equal 0; I want the problematic blank cell(s) to be treated as if they were 0.
Maybe:
Formula:
Please Login or Register to view this content.
Regards, TMS
It may be time to post a sample workbook if you are able to...
It worked! Thank you.
You're welcome.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
New quick method:
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Or you can use this way:
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks