Ignore formula if cell is blank?

sammipd

Board Regular
Joined
Jun 6, 2010
Messages
67
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 find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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