Search Sheets Help

Dishboy09

New Member
Joined
Jun 11, 2017
Messages
34
Office Version
  1. 365
Platform
  1. Windows
I have an idea for a search sheet that i have no idea how to create, and am looking for help.

I would like Sheet 1 to just be a search box and you can type in an address, and below it will be a table that will show the results that match your search. The matched search data will be stored on sheet 2 with a large list of addresses.

How would i go about creating something like this??


Thanks!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

Here's a formula version, it will return rows that match from partial street address. Adjust the ranges to the size of your data set on sheet 2.

On the Search sheet make sure the formula is copied past maybe 500 rows past what the total results should be.


Book1
BCD
2Partial SearchMatches #
3Mar7
4
5Search Results
6
7StreetSuburbPostcode
810 Mary St1Port Adelaide15015
912 March St1Port Adelaide35015
1013 Mary St1Port Adelaide45015
114 MargeretPort Adelaide55015
1216 Mary St1Port Adelaide75015
1366 Marigold AvePort Adelaide105015
1420 Mary St1Port Adelaide115015
Sheet1
Cell Formulas
RangeFormula
C3=COUNTIF(Sheet2!D:D,1)
B8{=IF(ROWS(Sheet1!$B$8:B8)>$C$3,"",INDEX(Sheet2!A$2:A$10,SMALL(IF(Sheet2!$D$2:$D$10=1,ROW(Sheet2!$A$2:$A$10)-ROW(Sheet2!$A$2)+1),ROWS(Sheet1!$B$8:B8))))}
Press CTRL+SHIFT+ENTER to enter array formulas.



Book1
ABCD
1StreetSuburbPostcodePartial Match
210 Mary St1Port Adelaide150151
32 Mickey PlaceDisneyland5015
412 March St1Port Adelaide350151
513 Mary St1Port Adelaide450151
64 MargeretPort Adelaide550151
710 Peppercorn DriveSalisbury5015
816 Mary St1Port Adelaide750151
966 Marigold AvePort Adelaide1050151
1020 Mary St1Port Adelaide1150151
Sheet2
Cell Formulas
RangeFormula
D2=IF(ISNUMBER(SEARCH(Sheet1!$B$3,Sheet2!A2)),1,"")
 
Upvote 0
Hi,

Here's a formula version, it will return rows that match from partial street address. Adjust the ranges to the size of your data set on sheet 2.

On the Search sheet make sure the formula is copied past maybe 500 rows past what the total results should be.


Book1
BCD
2Partial SearchMatches #
3Mar7
4
5Search Results
6
7StreetSuburbPostcode
810 Mary St1Port Adelaide15015
912 March St1Port Adelaide35015
1013 Mary St1Port Adelaide45015
114 MargeretPort Adelaide55015
1216 Mary St1Port Adelaide75015
1366 Marigold AvePort Adelaide105015
1420 Mary St1Port Adelaide115015
Sheet1
Cell Formulas
RangeFormula
C3=COUNTIF(Sheet2!D:D,1)
B8{=IF(ROWS(Sheet1!$B$8:B8)>$C$3,"",INDEX(Sheet2!A$2:A$10,SMALL(IF(Sheet2!$D$2:$D$10=1,ROW(Sheet2!$A$2:$A$10)-ROW(Sheet2!$A$2)+1),ROWS(Sheet1!$B$8:B8))))}
Press CTRL+SHIFT+ENTER to enter array formulas.



Book1
ABCD
1StreetSuburbPostcodePartial Match
210 Mary St1Port Adelaide150151
32 Mickey PlaceDisneyland5015
412 March St1Port Adelaide350151
513 Mary St1Port Adelaide450151
64 MargeretPort Adelaide550151
710 Peppercorn DriveSalisbury5015
816 Mary St1Port Adelaide750151
966 Marigold AvePort Adelaide1050151
1020 Mary St1Port Adelaide1150151
Sheet2
Cell Formulas
RangeFormula
D2=IF(ISNUMBER(SEARCH(Sheet1!$B$3,Sheet2!A2)),1,"")


I really appreciate the response, but i have no idea what to do with this or where to put it to make it work?
 
Upvote 0
When the website was upgraded this code doesnt work. I'll post a link to my mock up sheet for you soon.
 
Upvote 0
Here's a link to the sample version I made,

Adjust the ranges to the size of your data set on sheet 2.

On the Search sheet make sure the formula is copied past maybe 500 rows past what the total results should be.


Search Sheets Help_Dishboy09.xlsx
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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