+ Reply to Thread
Results 1 to 35 of 35

Empty cells in excel

  1. #1
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Empty cells in excel

    How to get that blank cells are not perceived as zeros?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Empty cells in excel

    It can be done in many ways... but please explain your question in detail for better understanding


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    It's for my other question in thread "Table and chart".
    I think that I could mark larger area but at the moment blank cells are perceived as zeros and damage my chart.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Empty cells in excel

    Sorry I don't have that much of expertisation with charts, so I believe someone will help you on that.

  5. #5
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    But maybe you can tell me how to manage with that blank cells?

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    If your chart data is in A1 down
    In say C1 enter this CSE array formula, confirm with Ctrl+Shift+Enter before dragging down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will remove any blanks from the list dynamically, refer your chart to this new list.
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    For some reason I can't remove the attachment in post #6

    Here's the workbook with a dynamic chart added.

    Enter/Delete some values in Column A to see the chart working
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Quote Originally Posted by Marcol View Post
    If your chart data is in A1 down
    In say C1 enter this CSE array formula, confirm with Ctrl+Shift+Enter before dragging down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This will remove any blanks from the list dynamically, refer your chart to this new list.
    My data is in A1:AL193. Forward data will be written in columns AN, AO, AP... At the moment there are blank cells but I have to get that if I write data then data automatically will be represent in the chart.
    I am thinking now where and how I have to use that formula.

  9. #9
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Quote Originally Posted by Marcol View Post
    For some reason I can't remove the attachment in post #6

    Here's the workbook with a dynamic chart added.

    Enter/Delete some values in Column A to see the chart working
    Thanks.

  10. #10
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Up up up up

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    You will need to post a sample of your workbook, explaining what you are trying to do.

    There are to many possibilities from the description you have offered so far.

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  12. #12
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Here is a very simple and unreal example of my exercise.

    So I have to get that if I write more data 05.08.2013, 12.08.2013, 19.08.2013 ... then charts will be supplemented automatically.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    up up up up

  14. #14
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  15. #15
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    Please don't bump your post until at least a day has passed.
    Bumping twice in an hour and a half is not a good idea, it just clutters the thread.
    Remember we are all unpaid volunteers on this forum.

    From the forum rules
    If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.

  16. #16
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Thank you for info.

  17. #17
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    See if this workbook does as you need

    The size of the data is controlled dynamically by the dates in row 1
    Add/Delete dates in this row to see the chart changes, then fill in the item quantities.

    Don't leave blanks in the "header" dates
    Attached Files Attached Files

  18. #18
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Quote Originally Posted by Marcol View Post
    See if this workbook does as you need

    The size of the data is controlled dynamically by the dates in row 1
    Add/Delete dates in this row to see the chart changes, then fill in the item quantities.

    Don't leave blanks in the "header" dates
    It doesn't work. I can't write correct formula. Must I all words input manual in the formula? Excel says that I have wrong references..
    Last edited by Elīna; 07-30-2013 at 10:42 AM.

  19. #19
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    Does the Sample I provided in post #17 work as you need?

    It works for me as I see your question.

    Exactly what doesn't work?

  20. #20
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    In my file Example.xlsx I write formula =SERIES("Books";'Example.xlsx'!Dates;'Example.xlsx'!Books;1) and then I see: "A formula in this worksheet contains one or more invalid references. Verify that your formulas contain a valid path, workbook, range name and cell reference."

    Why there are 3 files you send me?

    And - your sample works as I need. But when I want to do the same it doesn't work.
    Last edited by Elīna; 07-31-2013 at 04:02 AM.

  21. #21
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    I supplemented the table with new row "Bags" and write formula exactly like yours only instead word "Books" I wrote "Bags" and get the same error message.

    I don't understand. I can't see mistake.

  22. #22
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    Have you defined the names in the names manager in your workbook?

    The key name for the example in post#17 is "Dates".
    The dynamic width of this range controls the width of the other rows in your table.

    Name:= "Dates"
    Refers to:=
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Each item is now given its own definition
    e.g.
    Name:= "Books"
    Refers to:=
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    If you want to add "Bags" in row 6, you need to add this name
    Name:= "Bags"
    Refers to:=
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Having done this for each item, we can now address your chart.

    Using named ranges in charts can be a bit tricky at first, but once you realise that you need to not only give excel the range name, it also needs the sheet name, then things fall into place.

    Right click on your chart and click "Select Data"

    Click the "Edit" button for the Horizontal Labels and enter the following, where 'Now' is your sheet name
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Excel will magically change this to a workbook reference
    ='Example (3).xlsx'!Dates or similar.

    Do the same for each item/series in your Legend Entries, using either Add or Edit

    The Chart data range will automatically change to suit and read like something on these lines, note that this stays as a sheet reference.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  23. #23
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Thank you very much!

    Now I must try this on real data. I'll hope it works!

  24. #24
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    If I have hided rows and columns could it be a problem? Because in my real workbook I receive the same error message.
    I defined all names, now I try to edit horizontal labels in the chart but I can't.

  25. #25
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    It coluld well be the problem!
    Depends on what you have in these hidden rows/columns.

    If this is to progress any further you would be better providing a sample of your actual workbook showing what is hidden.
    The structure of a workbook is always a major part of any solution.

    From what I have seen so far there is no sensitive data like peoples' personal details, if there is just disguise the data.

  26. #26
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    I am closer to result now. Only with some data it doesn't work. And I think I see a regularity what could be a reason of it. But at the moment I don't know how to manage with it.

    I will not post my workbook here.

    It look's like excel take some hide rows..

  27. #27
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Empty cells in excel

    There is no blank cells in your example file!

  28. #28
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    In one hided column I have position codes like 1.1.1., 1.2.3. ... in other some between - results (dynamics between previous and next). And for some positions excel have take these positions codes, for other not.

  29. #29
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Quote Originally Posted by Rambo4711 View Post
    There is no blank cells in your example file!
    Should it be there?

  30. #30
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    I post a upgraded file with my example. There are hide row and columns like in my workbook. See sheet "Now".
    Unfortunately position codes aren't added to series names there. With file Example. xlsx all is ok but with my file not.
    Attached Files Attached Files

  31. #31
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    I edited legend and achieved that position codes don't appear in series names. But previously mentioned problem still exists. For some series excel doesn't accept the formula.

  32. #32
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    Why all the hidden columns?

    What is the purpose of these "Dynamics" Columns?

    Are they the "Empty cells" you are referring to in your thread title?

  33. #33
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    These hidden columns are needed. But it don't interfere to make a chart, it interfere to make dynamic chart.
    It's not important what hidden columns mean.
    About thread title - I had 2 threads about my problem which was quite related but DIY recommended me to continue discussion here. Should I correct the title?

  34. #34
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Empty cells in excel

    These hidden columns are needed. But it don't interfere to make a chart, it interfere to make dynamic chart.
    You have lost me now ...

    The workbook you posted works for me if the names are adjusted to omit column "Position"

    If you want to omit all the columns called "Dynamic" from the charts, you will be easiest with a seperate calculation sheet for your chart data, (see the formulae in that new sheet), then refer the names to that sheet.
    Attached Files Attached Files
    Last edited by Marcol; 07-31-2013 at 11:48 AM.

  35. #35
    Registered User
    Join Date
    07-29-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Empty cells in excel

    Problem is solved! Thank you all for help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. empty cells not empty according to excel
    By kbka in forum Excel General
    Replies: 3
    Last Post: 06-20-2013, 07:34 AM
  2. MACRO to empty a range of cells based on whether specified cell is empty
    By TBJV in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2013, 10:35 PM
  3. Excel VBA: Find empty cells and Sum Cells before it
    By hampton06 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2012, 04:36 PM
  4. Replies: 0
    Last Post: 08-10-2005, 12:05 PM
  5. macro to colour empty cells (cells not recognized as empty)
    By Gerben in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-30-2005, 11:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1