Searching with Excel

clemkonan

Active Member
Joined
Jun 21, 2003
Messages
259
I have an audit coming up and I need to be able to find information quickly to satisfy the auditor

At A1 I have the thing I need information on this is my search box :

A1= Risk assessment ( I want to know which clause this is under ( the clause # ) and what the clause says)

B1: B52 = a range of clause numbers for example 1.11, 1.3, 4,2, 7,4, etc

C1: C52 = a range of clauses for example
The company shall undertake a documented risk assessment of each raw material or group of raw materials including packaging to identify potential risks to product safety, legality and quality.

In this case the clause number I need is 1.11 and the clause wording is as above.

A1 is going to be my serch box here I enter what I am looking for. How can I set his up without visual basic so that it returns not an identical match but all clauses and clause numbers matching my query.

If visual basic is my only hope then reluctantly I accept.

Thanks for your help.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
.
I have a small project that will do what you are wanting .. but ... (yes there is a caveat) ... it won't be perfect.
By that I mean you could search for the term "risk" or "assessment" or "risk assessment" or "raw" or "material" or "raw material" ... or you could search for the
clause number if you know it ( 1.11 or 1.3 or 4.2, etc).

This is part of the code :

Code:
Sub FilterClear()
Dim sh As Shape
Application.ScreenUpdating = False


With ActiveSheet
On Error Resume Next


    ActiveSheet.ListObjects("Searchtable").Range.AutoFilter


    ActiveSheet.ListObjects("Searchtable").Range.AutoFilter
ActiveSheet.TextBox1.text = ""
.Range("A5").Select
End With
    Application.ScreenUpdating = True
End Sub

It combines VBA with formulas. Let me know if you are interested and I can post it for download from another site.
 
Upvote 0
.
I have a small project that will do what you are wanting .. but ... (yes there is a caveat) ... it won't be perfect.
By that I mean you could search for the term "risk" or "assessment" or "risk assessment" or "raw" or "material" or "raw material" ... or you could search for the
clause number if you know it ( 1.11 or 1.3 or 4.2, etc).

This is part of the code :

Code:
Sub FilterClear()
Dim sh As Shape
Application.ScreenUpdating = False


With ActiveSheet
On Error Resume Next


    ActiveSheet.ListObjects("Searchtable").Range.AutoFilter


    ActiveSheet.ListObjects("Searchtable").Range.AutoFilter
ActiveSheet.TextBox1.text = ""
.Range("A5").Select
End With
    Application.ScreenUpdating = True
End Sub

It combines VBA with formulas. Let me know if you are interested and I can post it for download from another site.

Thanks, yes please send me the rest of the solution
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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