Ignore formula if cell is blank?

sammipd

Board Regular
Joined
Jun 6, 2010
Messages
69
Help please. The source data in spreadsheet #1 is linked to spreadsheet #2 by formulas. Pie charts are created from spreadsheet #2 .
The problem is the blank cells in #1 appear in #2 as 0% and then appear in the chart as DataLabel 0%. How can I set it so those labels and 0% do not appear in the charts? The labels often overlap, and it's giving the end user information they don't need. Is there something I can add to the formula which says to ignore if the source cell is blank?
Hidden and Empty Cell/Gaps doesnt work in #2 due to the formula.
Any suggestions are appreciated!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Have you tried if(targetCell = "","",(myCurrentForumula) Or perhaps and if(isblank(targetCell),"",(mycurrentforumula)
 
Upvote 0
Kroneborge, I plugged in your formula, replacing targetCell and mycurrentformula but it resulted in #NAME . Is there another way?
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
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