How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Richard Your Own Question
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 37651
Experience:  Over 15 year experience resolving Microsoft Office Issues
Type Your Microsoft Office Question Here...
Richard is online now
A new question is answered every 9 seconds

I need a formula to hide all blank rows. Please note, each

This answer was rated:

I need a formula to hide all blank rows. Please note, each cell has an if,and,or,then formula in it referencing data from another worksheet within the same file. I tried a formula but even though it didn't show a value in the cell (if "0","") it recognized the formula as being a value so it wouldn't hide the row. If I deleted the formula then it would work but I don't want to have to delete each formula that returned a "0" value nor lose the formula. Please HELP!
Thank you for your question, my name is Richard.

You will need to do this via a Macro.

I can do this for you, but will need a copy of your file

- Click the following link:
- Upload the file to that website
- Once it is uploaded, the resulting page will display a "File ID" number.
- Please, give me that "File ID Number"

Thank you
Customer: replied 3 years ago.

Ok. Thank you. I'll upload the file now. There are 3 worksheets within the file. Pricelist, Lanlogic View, Proposal View. I need the blank rows in the Lanlogic View and Proposal View worksheets hidden after populated.

Thanks Salena.

Please give me the File ID when you have uploaded it.

Customer: replied 3 years ago.

The file ID is 962594


It is the blank rows where QTY goes correct?

Just within that section?

Customer: replied 3 years ago.

The Pricelist tab is the input worksheet. Then the LL view & proposal view sheets get automatically populated. So you put a 1 in any of the rows under qty that row should show up on the following 2 worksheets.


After the user inputs all the qty's they need, you'll notice blank rows in between for all the items they didn't put a qty amount for. I need those rows hidden.

This is done Salena

Go to and download under File ID 190014

You will see the buttons you click to run it.

If you have any problems, or would like any additional information or assistance, please do not hesitate to let me know.

And if you can take a second to rate my service, that would be greatly appreciated.

Thank you
Customer: replied 3 years ago.

WOW!!!! That was awesome! There's only one glitch. When I hit hide rows, the rows with the titles of each section went away also.


So for example if any item under Systems Hardware had a qty listed for it, the title Systems Hardware would show up. (Note, an amt would not be inputted in the qty column for the title rows). So I need those to stay. Is there a way to make that quick fix?

Which row is System Hardware on, as I do not see this Salena.

I can code for this, but need to see where the title is.

Customer: replied 3 years ago.

Oh sorry. If you look on the Pricelist/input sheet all of the titles are in Bold. So for example System Hardware is row 19 and Mass Storage Hardware is row 27, etc.


If you play with it and put a qty amt for any of the items listed under the titles you'll see those titles as well as that item show up on the other 2 sheets.

ok, having a hard time seeing it.

But tell me, when the headers do show, which cell do they show in?

Customer: replied 3 years ago.

So on the pricelist sheet System Hardware is in B19. In the Proposal View sheet is in B21.


If the title is centered it is a main title for a group of subtitles that are also in Bold but left aligned.


So for example if you put a qty in A49 for "S Series...." then the titles System Hardware & Scale will show up.

Customer: replied 3 years ago.

I guess I should state product group titles instead of headers.

Thank you

Download this version from under File ID 405700

Let me know if you have any difficulties please

Richard and other Microsoft Office Specialists are ready to help you