Instances of DBA

Welsh Mark3

Board Regular
Joined
Apr 7, 2014
Messages
164
Office Version
  1. 365
Is there a formula that can give me the string of text after an intsance of DBA.

Assuming the original text is in Column A

Original TextDesired Result
Elite Southern Construction LLC dba Master RoofingMaster Roofing
Riland Richardson, Inc. Dba C & R TruckingC & R Trucking

<tbody>
</tbody>
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Assuming your data is in column A starting at row 2, place this formula in cell B2 and copy it down as far as there is data in column A.
=RIGHT(A2,LEN(A2)-SEARCH("DBA",A2,1)-3)
 
Last edited:
Upvote 0
This will take care of any case regardless if uppercase, lowercase, or camelcase and will trim the space after DBA which can help when you have something like "DBAC & R Trucking" when someone forgets the space

=TRIM(RIGHT(A2,LEN(A2)-SEARCH("dba",A2)-2))


EDIT: Ahh someone beat me to it lol, now you have two options
 
Last edited:
Upvote 0
Hi,

Another way:


Book1
AB
1Original TextDesired Result
2Elite Southern Construction LLC dba Master RoofingMaster Roofing
3Riland Richardson, Inc. Dba C & R TruckingC & R Trucking
Sheet271
Cell Formulas
RangeFormula
B2=MID(A2,SEARCH("Dba",A2)+4,255)


Formula copied down.
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

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