kingsushi001

New Member
Joined
Oct 24, 2017
Messages
13
Office Version
  1. 2016
Platform
  1. Windows
Good day everyone

Can someone please help me with the following...

AB
1
http://www.xyz.co.za/ProdImg/AA13NDfl1uuL2c.jpg

<tbody>
</tbody>
http://www.africaestore.com/esquire/AA13NDfl1uuL2c.jpg

<tbody>
</tbody>
2
http://www.esquireshop.co.za/ProdImg/WDBYFT0020BB.jpg

<tbody>
</tbody>
http://www.africaestore.com/esquire/WDBYFT0020BB.jpg


<tbody>
</tbody>

<tbody>
</tbody>

<tbody>
</tbody>

I need to change A1 and A2 to look like B1 and B2. Basically just replacing before the last /
Is there a function or combination of functions I can use to achieve this?

Any help would be greatly appreciated.
 
Good day everyone

Can someone please help me with the following...

AB
1
http://www.xyz.co.za/ProdImg/AA13NDfl1uuL2c.jpg

<tbody>
</tbody>
http://www.africaestore.com/esquire/AA13NDfl1uuL2c.jpg

<tbody>
</tbody>
2
http://www.esquireshop.co.za/ProdImg/WDBYFT0020BB.jpg

<tbody>
</tbody>
http://www.africaestore.com/esquire/WDBYFT0020BB.jpg

<tbody>
</tbody>

<tbody>
</tbody>

<tbody>
</tbody>

I need to change A1 and A2 to look like B1 and B2. Basically just replacing before the last /
Is there a function or combination of functions I can use to achieve this?

Any help would be greatly appreciated.

Ok, so I have another problem I can't seem to solve.

Some of the URL's contains a sub folder like this
http://www.xyz.co.za/ProdImg/AR-AS5520X4/AR-AS5520X4.jpg

<tbody>
</tbody>

I need it to be the same as my original post. Like so http://www.africaestore.com/esquire/AR-AS5520X4.jpg

Any ideas?
 
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.
Some of the URL's contains a sub folder like this
http://www.xyz.co.za/ProdImg/AR-AS5520X4/AR-AS5520X4.jpg

<tbody>
</tbody>

Hi, here is one option:


Excel 2013/2016
AB
1http://www.xyz.co.za/ProdImg/AA13NDfl1uuL2c.jpghttp://www.africaestore.com/esquire/AA13NDfl1uuL2c.jpg
2http://www.esquireshop.co.za/ProdImg/WDBYFT0020BB.jpghttp://www.africaestore.com/esquire/WDBYFT0020BB.jpg
3http://www.xyz.co.za/ProdImg/AR-AS5520X4/AR-AS5520X4.jpghttp://www.africaestore.com/esquire/AR-AS5520X4.jpg
4http://www.xyz.co.za/A/B/C/D/E/F/G/H/I/AR-AS5520X4.jpghttp://www.africaestore.com/esquire/AR-AS5520X4.jpg
Sheet1
Cell Formulas
RangeFormula
B1="http://www.africaestore.com/esquire/" &TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99))
 
Upvote 0
Dear Sir,

Apologies for replying on this thread , i was not able to figure our how to start a new thread, hence I replied on this one

The 6 line come in 6 different cells , basically the attached image represents a fare which i need to extract specific numbers only

0
 
Upvote 0
Hi, here is one option:

Excel 2013/2016
AB
1http://www.xyz.co.za/ProdImg/AA13NDfl1uuL2c.jpghttp://www.africaestore.com/esquire/AA13NDfl1uuL2c.jpg
2http://www.esquireshop.co.za/ProdImg/WDBYFT0020BB.jpghttp://www.africaestore.com/esquire/WDBYFT0020BB.jpg
3http://www.xyz.co.za/ProdImg/AR-AS5520X4/AR-AS5520X4.jpghttp://www.africaestore.com/esquire/AR-AS5520X4.jpg
4http://www.xyz.co.za/A/B/C/D/E/F/G/H/I/AR-AS5520X4.jpghttp://www.africaestore.com/esquire/AR-AS5520X4.jpg

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
B1="http://www.africaestore.com/esquire/" &TRIM(RIGHT(SUBSTITUTE(A1,"/",REPT(" ",99)),99))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Thank you very much. Worked awesomely:)
 
Upvote 0
Thank you very much. Worked awesomely:)

Great, good to hear :)

i was not able to figure our how to start a new thread

Click the brownish "+ Post New Thread" button towards the top left of the page linked below.

https://www.mrexcel.com/forum/excel-questions/

the attached image represents a fare which i need to extract specific numbers only

Images are not a good way to show your data - see the link below for a few better methods of sharing your expected results.

https://www.mrexcel.com/forum/about-board/508133-attachments.html
 
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

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