Hide Rows Without Specifying the Row Numbers

megalamchops

New Member
Joined
Mar 31, 2021
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Is it possible to to hide rows based on a cell value of N/A or Not Specified, but without specifying exactly the row number? N/A will always be in the same column and I just want to hide the row N/A is on and the next 3 rows following it. I have a long spreadsheet that is generated so its not the same every time. I don't think it's a good idea to manually specify hundreds of rows to hide.
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Which column are these values in?
Is the a text value of "N/A", or is it the "#N/A" error that Excel returns?
 
Upvote 0
The rows hidden would be separated by an empty row (without any text in it) if that makes it easier.

ex.
1617640231877.png
 
Upvote 0
Is N/A the only text that will appear in Column J (as your example seems to be showing)?

And to be clear, you only want to hide that row, the one with N/A in it, and no other, correct?
 
Upvote 0
Hi Rick - Other text may appear in column J, but only the ones with N/A would be hidden if that makes sense. I guess it complicates things. Thanks!
 
Upvote 0
Is the a text value of "N/A", or is it the "#N/A" error that Excel returns?

Hi Joe - the column would be J and is text value N/A. Thanks!

They would be formulas. N/A is the result from a lookup.

If it is the result of a LOOKUP formula, then that IS actually the result of error that Excel is returning, and not a text value.
That is, unless you actually have the values of N/A in your lookup table, and it is returning that value, and not the #N/A error value it returns when it does not find a match.
So which one is it (it makes a very big difference in how we have to do this)?
 
Upvote 0

Forum statistics

Threads
1,214,984
Messages
6,122,601
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top