Search Entire Table?

Necroscope

Board Regular
Joined
Jul 7, 2004
Messages
72
Hi, I have a fairly standard table containing columns with office names, addresses, site codes, server numbers and contact names for each site.

I want to be able to have a search box that I can type a word into and have matching results returned. I can do this using formula to search one column (the office name field) but I want to be able to search ALL columns because - for example - if I were to type "London" in to a search field, I'd want all the London offices to be listed but some of these are mostly known by other names like "Victoria House" or "Alexandra Park". However, if the search looked at the address column too, it would find everything. Also, searching all columns would also help me if I knew a server number but didn't know the office that has that server. I could type that in and it would return the office name/address details too...

Ideally, I'd like a little mini table to show under the search box and have Office Name > Address > Site Code > Server Number > Contact name details.

I've no preference on whether this is done via formula, VBA, a Userform or something like that. The database is on one sheet and my current search attempt is on a separate sheet but I am happy to go with whatever is easier, if this is possible in the first place of course... Can anyone please help?

Thanks.
 
Hi Akuini.

That code works perfectly, thank you so much for taking the time to help with this; it is much appreciated.
 
Upvote 0

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi Akuini.

That code works perfectly, thank you so much for taking the time to help with this; it is much appreciated.

You're welcome, glad to help, & thanks for the feedback. (y)
 
Upvote 0

Forum statistics

Threads
1,216,093
Messages
6,128,784
Members
449,468
Latest member
AGreen17

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