Remove text in a string

Melanie_B1

New Member
Joined
Aug 21, 2017
Messages
7
Hi there,

I am trying to eliminate text that has been returned in a report. This is what has been returned:

xyzcompany.sharepoint.com\/operations\/Pages\/F18-Week-6-Store-Managers-Operations-Update.aspx","UserId":"r.wood@totaltools.com.au","CustomUniqueId":false,"EventSource":"SharePoint","ItemType":"Page","ListId":"604f6a4a-685e-422d-befd-cfc55f935957","ListItemUniqueId":"2d65d1ff-a705-4198-a673-781d221c1b98","Site":"320aeeeb-716c-443a-8596-bd01b8f2a75b","UserAgent":"Mozilla\/5.0 (Windows NT 6.1; WOW64; Trident\/7.0; rv:11.0) like Gecko","WebId":"83380220-8290-4529-991d-daa4b2b20c18"}

Basically, all I want to see is:
F18-Week-6-Store-Managers-Operations-Update

I have gone through the threads to try to find the answer and I tried a couple of the examples but it didn't work for me. I'm barely an intermediate Excel user at best!

Many thanks,
M
 
Here is another formula that should work...
Code:
=REPLACE(LEFT(A1,FIND(".aspx",A1)-1),1,FIND("Pages\/",A1)+6,"")
 
Last edited:
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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