Hiding values in cells


  1. Posts : 331
    windows 10
       #1

    Hiding values in cells


    Hi all,
    I have drawn a blank on how to hide cells that are empty, as in no data to display.
    I set up the formula and it calculates properly, but if it gets to an empty cell, it will continue to display the results from the previous cell all the way to the bottom of the sheet, see picture below.
    Would like some help in hiding the cells that don’t have any data yet. I have done that before, but can’t remember how I did it.
    Thanks
    Sven
    Hiding values in cells-capture.png
      My Computer


  2. Posts : 1,524
    Win10 Pro
       #2

    Sven1458 said:
    Hi all,
    I have drawn a blank on how to hide cells that are empty, as in no data to display.
    I set up the formula and it calculates properly, but if it gets to an empty cell, it will continue to display the results from the previous cell all the way to the bottom of the sheet, see picture below.
    Would like some help in hiding the cells that don’t have any data yet. I have done that before, but can’t remember how I did it.
    Thanks
    Sven
    Hiding values in cells-capture.png
    Hi Sven1458. Here is how to do it. Assuming the the Credit Column is "F" and the Debit Column is "G" and the Balance Column is "H" ans the last row (with 1,000.00) in it is "50" then the formula you want to put in the Balance cell is:
    =IF(AND(ISBLANK(F50),ISBLANK(G50)),"",OFFSET(H50,-1,0,1,1)-F50+G50)
    what this formula says is:
    if the two cells to the left are empty then the subject cell is blank, if not then it is equal to the algebraic sum of the cell immediately above and any credit or deposit to the left.

    Be sure to copy the formula correctly. Let me know how it works for you.
      My Computers


  3. Posts : 331
    windows 10
    Thread Starter
       #3

    SoFine406,
    Thanks, that did the trick, I did find the "ifblank" syntax, but I get confused with all the """ and (())and ,,
    Thanks again great job
    Sven


    PS> I think I need to take a refresher course in Spreadsheet programming. It has been a while
      My Computer


  4. Posts : 1,524
    Win10 Pro
       #4

    Sven1458 said:
    SoFine406,
    Thanks, that did the trick, I did find the "ifblank" syntax, but I get confused with all the """ and (())and ,,
    Thanks again great job
    Sven


    PS> I think I need to take a refresher course in Spreadsheet programming. It has been a while
    Glad it worked for you. Excel is such an amazing product, it’s so versitile.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:02.
Find Us




Windows 10 Forums