Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to hide rows in a sreadsheet. I have 150 stores running from A3
to A153. When they call in for an order I either put the quantities in H, I,
J or K. How can i set up a button to hide all rows that do not have data in
H, I, J or K?
 
If K is your last column, put this formula in cell L3 and copy it down

=COUNTIF(H3:K3,"")=4

Then filter on column L = True

Beware that it will show false if there are any cells containing only spaces
 
select everything
record a macro

<data><filter><autofilter>
in H,I,J and K select "non blank" at the bottom of the list
stop recording.
make a figure or button and right click on it assign macro with the macro
name you just generated.

to show everything again go to <data><filter> and select <autofilte> again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top