Find/Mid formula to find report name within long name

DShack

Board Regular
Joined
Jan 15, 2014
Messages
64
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi I am looking for a formula that would provide the name of the reports with the below array of report paths. I have several thousand like this. For example, the first url, the report name is AP Invoice Details and as you can see they are not all in the same format and length.

Custom/Financials/Payables/Invoices/Test Report/invoices/AP Invoice Details
Custom/Financials/Payables/Invoices/Test Report/CHK Payment report
Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account
Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account - Static filters
Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account concatenation segments
Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account cross SA
Custom/Financials/Payables/Invoices/Test Report/FP&A - AP Invoice Details by Account
Custom/Financials/Payables/Invoices/Test Report/Mass update for invoices
Custom/Financials/Payables/Invoices/Test Report/NEVANS Division Finance - FP&A - AP Invoice Details by Account
Custom/Financials/Payables/Payables Invoice Register - Copy seeded report
Custom/Financials/Payables/Invoices/Test Report/Payables Invoice Register Seeded Copy
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction / Installments Real Time
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real Time
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real Time demo
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real Time testing
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transactions / Disbursements Real Time
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real Time
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real Time - Site
Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real Time - Site1
Custom/Financials/Payables/Period Close/Report Components/Payables Posted Invoice Register
Custom/Financials/Payables/Period Close/Report Components/Payables Posted Payment Register
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try

Book3
ABC
1Custom/Financials/Payables/Invoices/Test Report/invoices/AP Invoice DetailsAP Invoice Details
2Custom/Financials/Payables/Invoices/Test Report/CHK Payment reportCHK Payment report
3Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by AccountDivision Finance - FP&A - AP Invoice Details by Account
4Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account - Static filtersDivision Finance - FP&A - AP Invoice Details by Account - Static filters
5Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account concatenation segmentsDivision Finance - FP&A - AP Invoice Details by Account concatenation segments
6Custom/Financials/Payables/Invoices/Test Report/Division Finance - FP&A - AP Invoice Details by Account cross SADivision Finance - FP&A - AP Invoice Details by Account cross SA
7Custom/Financials/Payables/Invoices/Test Report/FP&A - AP Invoice Details by AccountFP&A - AP Invoice Details by Account
8Custom/Financials/Payables/Invoices/Test Report/Mass update for invoicesMass update for invoices
9Custom/Financials/Payables/Invoices/Test Report/NEVANS Division Finance - FP&A - AP Invoice Details by AccountNEVANS Division Finance - FP&A - AP Invoice Details by Account
10Custom/Financials/Payables/Payables Invoice Register - Copy seeded reportPayables Invoice Register - Copy seeded report
11Custom/Financials/Payables/Invoices/Test Report/Payables Invoice Register Seeded CopyPayables Invoice Register Seeded Copy
12Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction / Installments Real TimeInstallments Real Time
13Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real TimePayables Invoices - Transaction Real Time
14Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real Time demoPayables Invoices - Transaction Real Time demo
15Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transaction Real Time testingPayables Invoices - Transaction Real Time testing
16Custom/Financials/Payables/Invoices/Test Report/Payables Invoices - Transactions / Disbursements Real TimeDisbursements Real Time
17Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real TimePayables Invoices – Trial Balance Real Time
18Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real Time - SitePayables Invoices – Trial Balance Real Time - Site
19Custom/Financials/Payables/Invoices/Test Report/Payables Invoices – Trial Balance Real Time - Site1Payables Invoices – Trial Balance Real Time - Site1
20Custom/Financials/Payables/Period Close/Report Components/Payables Posted Invoice RegisterPayables Posted Invoice Register
21Custom/Financials/Payables/Period Close/Report Components/Payables Posted Payment RegisterPayables Posted Payment Register
22
Sheet1
Cell Formulas
RangeFormula
B1:B21B1=TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99))
 
Upvote 0
What are the expected results for that data?
If it's everything after the last / try
Excel Formula:
=TEXTAFTER(A2,"/",-1)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,900
Messages
6,175,276
Members
452,629
Latest member
SahilPolekar

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