Help with isblank

murraythek

Board Regular
Joined
Aug 31, 2015
Messages
61
Bit of a novice here so please bare with me.

Trying to use an ISBLANK formula like so: =IF(ISBLANK(B26),"","Food Cost: "&B26)

B26 is the cost of food. I want this formula to tie into a text line and reference both "Food Cost and cell B26 together. For the life of me and cant get this to work.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
You're welcome, just so that you know it means that your cell isn't blank (it has an empty string in it).
 
Upvote 0
I have food cost broken down into months, Food Cost Jan, Food Cost Feb etc so using the formula above I want to collect the cost from B1-B12 and return "Total Food Cost" with =IF(B1:B12="","","Total Food Cost: "&B1:12)
 
Upvote 0
If you mean you want "" returned if every cell has an empty string then...

=IF(COUNT(B1:B12)=0,"","Food Cost: "&SUM(B1:B12))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,971
Members
452,371
Latest member
Frana

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