Find and Replace

ronmurtaugh

New Member
Joined
Mar 19, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I am trying to expand my knowledge, please be patient. I get sheets from a variety of 3rd party vendors and their software. I am looking to make a sheet that I can copy and paste the information into the document. I figured out all of it, but description (building permit type). For instance, I want the "master sheet" to be able to find a variety of descriptors and return our internal standard descriptor. For instance, some people list fences, fencing, new fence, etc in their submitted sheet. I need it to return "FENCE". Than you in advance.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
how many different descriptors do you have and how many to convert
 
Upvote 0
can we see them - to see if there is something common that can be used to group
with this it will depend on the text
But to convert 20 to 4 may not be difficult
or a lookup table

BUT I Suspect i'm not following exactly and may not be able to help here
maybe some examples in a sample sheet may help

this may be over simplified

Book4
ABCDEF
1listreturn
2ref table
3new FencesFencefencesFence
4windowsWindowfencingFence
5door handleDoornew fencesFence
6window sillWindowwindowsWindow
7window frameWindow
8window sillWindow
9DoorDoor
10Door handleDoor
11Door frameDoor
12
Sheet1
Cell Formulas
RangeFormula
B3:B6B3=INDEX($F$3:$F$11,MATCH("*"&A3&"*",$E$3:$E$11,0))



A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
Since you have MS 365 this might work for you:

20240320 Reverse Lookup ronmurtaugh.xlsx
ABCDEF
1listreturnStandardMinimum Identifier
2
3new FencesFenceFenceFenc
4windowsWindowWindowWindow
5door handleDoorDoorDoor
6window sillWindow
7FencingFence
XLookup
Cell Formulas
RangeFormula
B3:B7B3=XLOOKUP(1,--ISNUMBER(SEARCH($F$3:$F$5,A3)),$E$3:$E$5,"")
 
Upvote 0
Thanks in advance for your help! Here is a mini-sheet. I can have 200 permits at any time and the permit types can be spread out in the sheet in any cell.

Mr Excel Sample.xlsx
ABCDEF
1TOWN ADATALOAD SHEET
2Building PermitsRETURN THIS
3AddressPermit TypeFEEAddressPermit TypeFEE
4123 MainResidential New Construction250123 MainNew Contruction250
5444 Jones StCommercial Accessory Structure100444 Jones StAddition100
62563 Smith CrNew Pool/Spa502563 Smith CrPool50
7524 Miller AveResidential New Construction250524 Miller AveNew Contruction250
8536 Brown TerrResidential New Construction250536 Brown TerrNew Contruction250
9558 Park AveResidential Alteration/Repair Addition100558 Park AveAddition100
10156 Boyd StNew Pool/Spa50156 Boyd StPool50
11626 Fred StreetDemolition50626 Fred StreetWreck50
12563 AnystreetBathroom Remodel100563 AnystreetBathroom Remodel100
135858 Smithville StBasement Remodel/Finish1005858 Smithville StBasement Fin100
142525 Zoo LnCommercial New Construction5002525 Zoo LnNew Contruction
Sheet1
 
Upvote 0
I don't understand this comment.
the permit types can be spread out in the sheet in any cell.
I also don't understand where the $ 500 comes from on the last New Construction which was spelt Contruction (Missing the "s")

20240320 Reverse Lookup ronmurtaugh.xlsx
ABCDEFGHIJ
1TOWN ADATALOAD SHEETLookup
2Building PermitsRETURN THISPermit TypeUsed AlternativesFEE
3AddressPermit TypeFEEAddressPermit TypeFEENew Construction250
4123 MainResidential New Construction250123 MainNew Construction250AdditionCommercial Accessory100
5444 Jones StCommercial Accessory Structure100444 Jones StAddition100Pool50
62563 Smith CrNew Pool/Spa502563 Smith CrPool50New Contruction250
7524 Miller AveResidential New Construction250524 Miller AveNew Construction250WreckDemolition50
8536 Brown TerrResidential New Construction250536 Brown TerrNew Construction250Bathroom Remodel100
9558 Park AveResidential Alteration/Repair Addition100558 Park AveAddition100Basement FinBasement100
10156 Boyd StNew Pool/Spa50156 Boyd StPool50AdditionAnnex100
11626 Fred StreetDemolition50626 Fred StreetWreck50
12563 AnystreetBathroom Remodel100563 AnystreetBathroom Remodel100
135858 Smithville StBasement Remodel/Finish1005858 Smithville StBasement Fin100
142525 Zoo LnCommercial New Construction5002525 Zoo LnNew Construction250
15Residential AnnexAddition100
New Data
Cell Formulas
RangeFormula
E4:E15E4=XLOOKUP(1,ISNUMBER(SEARCH($H$3:$H$10,$B4))*($H$3:$H$10<>""),$H$3:$H$10,XLOOKUP(1,ISNUMBER(SEARCH($I$3:$I$10,$B4))*($I$3:$I$10<>""),$H$3:$H$10,""))
F4:F15F4=XLOOKUP(1,ISNUMBER(SEARCH($H$3:$H$10,$B4))*($H$3:$H$10<>""),$J$3:$J$10,XLOOKUP(1,ISNUMBER(SEARCH($I$3:$I$10,$B4))*($I$3:$I$10<>""),$J$3:$J$10,""))
 
Upvote 0
You can disregard the permit cost. I wanted to just show a sample sheet of our building permit sheet. The permit type is the only area that I need to return a standardized entry.
 
Upvote 0

Forum statistics

Threads
1,215,140
Messages
6,123,266
Members
449,093
Latest member
Vincent Khandagale

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