Formula #VALUE! when blank cell.

rmorg

New Member
Joined
Dec 14, 2018
Messages
1
What i want the formula to do is take the calculated cumulative weight loss in kgs from column F and convert it to Stones and pounds in Column G.

It correctly does the conversion BUT until there is an entry in column F. (ie. while column f is blank for future weeks) then it shows #value ! in Column G

the formula i have used is...

=IF(OR(ISBLANK(F8),ISBLANK(#REF!)),"",(INT(CONVERT(F8,"kg","lbm")/14)&" st "&ROUND(MOD(CONVERT(F8,"kg","lbm"),14),0)&" lbs "))
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Just wrap your existing formula in an IFERROR or use an IF to see if that trigger value is blank.
IFERROR is often easier for the next user to read and understand, but if you have a huge table for this formula, you'll have slightly beter performance use a IF to check for BLANK in "F"
 
Upvote 0
Use F8="" instead of ISBLANK(F8). The latter is true only if the cell has no value (no formula as well as no constant). The null string ("") is a value.

Of course, you also need to fix the #REF error (!). Replace E8 below.

=IF(OR(F8="",E8=""), "", INT(CONVERT(F8,"kg","lbm")/14) & " st " & ROUND(MOD(CONVERT(F8,"kg","lbm"),14),0) & " lbs")
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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