• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

excel cell

vijaynpd

New Member
i have given formula on cells D10 to AF10 =IF(AF5="","",SUM(AF5:AF9)), if any numbers are not there in reference cells (AF5:AF9), then the AF10 cell shows empty this is what my requirement. then i plot the chart, if no value is there in that cell the chart has been taken '0' value. and my chart coming not properly. how to solve this, regarding this you i want help form you. i have little knowledge in English.
 
Hi vijaynpd,


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


Regarding uploading file,please see the below link:

http://chandoo.org/forums/topic/posting-a-sample-workbook


Now regarding your question, lets us talk about the second part of your requirement where you want to remove the "zero" from chart data label (correct me if I am wrong!).


You can do this by using custom number format. Select the chart data label> right click on any data label> select "format data labels"> select "Number" from left hand side> select "custom" from category> in Format code box write 0.0;-0.0;> click on add and close it.


The data label with zero should be removed.


Now regarding your first part, where you want your formula to return "blank" when there is no value in the range AF1:AF9, you can use the either of the below formulae:


=IF(AF1:AF9="","",SUM(AF1:AF9)) enter as array formula by pressing CTRL+SHIFT+ENTER from your key board; or,


=IF(SUM(AF1:AF9)=0,"",SUM(AF1:AF9)) ENTER


Please let us know if this is fine.


Kaushik
 
Back
Top