Showing only multiple rows where column A = x

SW1044

New Member
Joined
Nov 4, 2010
Messages
16
Hi,

I have a spreadsheet with 4 digit numbers in column A and a text string in column B

I would like to hide all the rows except those where the value in column A matches the value in a certain cell (which the user will type in)

I know autofilter can do this but the data is confidential so the purpose is to rectrict access rather than just filter the data.

Rather like a Vlookup reading from a hidden sheet, but with the ability to return multiple rows.

Many thanks in advance for any suggestions!

Cheers, Scott.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Hi
i think the best way to use Autofilter
or you can by formula to do it
see if this example will help you
Excel Workbook
ABCDEFG
1CodeName1114
21112Yahya 1CodeName
31114Yahya 21114Yahya 2
41114Yahya 31114Yahya 3
51112Yahya 41114Yahya 6
61115Yahya 51114Yahya 8
71114Yahya 61114Yahya 10
81115Yahya 7
91114Yahya 8
101113Yahya 9
111114Yahya 10
121112Yahya 11
131111Yahya 12
141111Yahya 13
151113Yahya 14
161113Yahya 15
171112Yahya 16
Sheet6
Excel 2007
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,865
Members
452,948
Latest member
UsmanAli786

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