Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default changing text in multiple cells by pattern

I have excel workbook which contains column of cells with web adresses(as
text, not hyperlinks), which lead to *.jpg files.
All the web links have the exact same adress, except the jpg filename,
for example: http://www.microsoft.com/pics/1.jpg,
http://www.microsoft.com/pics/2.jpg and so on.

Is there a possibility to rename multiple cells by pattern and remove all
text, except the actual filenames(1.jpg, 2.jpg..)?

Thx in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default changing text in multiple cells by pattern

In a helper column enter:

=SUBSTITUTE(A1,"http://www.microsoft.com/pics/","")

then copy the helper column and paste/special/value back onto the original
column
--
Gary''s Student - gsnu200769


"forxigan" wrote:

I have excel workbook which contains column of cells with web adresses(as
text, not hyperlinks), which lead to *.jpg files.
All the web links have the exact same adress, except the jpg filename,
for example: http://www.microsoft.com/pics/1.jpg,
http://www.microsoft.com/pics/2.jpg and so on.

Is there a possibility to rename multiple cells by pattern and remove all
text, except the actual filenames(1.jpg, 2.jpg..)?

Thx in advance.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default changing text in multiple cells by pattern

thx for the solution :)

"Gary''s Student" wrote:

In a helper column enter:

=SUBSTITUTE(A1,"http://www.microsoft.com/pics/","")

then copy the helper column and paste/special/value back onto the original
column
--
Gary''s Student - gsnu200769


"forxigan" wrote:

I have excel workbook which contains column of cells with web adresses(as
text, not hyperlinks), which lead to *.jpg files.
All the web links have the exact same adress, except the jpg filename,
for example: http://www.microsoft.com/pics/1.jpg,
http://www.microsoft.com/pics/2.jpg and so on.

Is there a possibility to rename multiple cells by pattern and remove all
text, except the actual filenames(1.jpg, 2.jpg..)?

Thx in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default changing text in multiple cells by pattern

Why not just use REPLACE? Select the column containing your list. Hit
CTRL-H. In the FIND WHAT box, type "http://www.microsoft.com/pics/"
and leave the REPLACE WITH box empty. Press REPLACE ALL button. Tada!

All done.


Seth


On Mon, 18 Feb 2008 17:02:01 -0800, forxigan
wrote:

I have excel workbook which contains column of cells with web adresses(as
text, not hyperlinks), which lead to *.jpg files.
All the web links have the exact same adress, except the jpg filename,
for example: http://www.microsoft.com/pics/1.jpg,
http://www.microsoft.com/pics/2.jpg and so on.

Is there a possibility to rename multiple cells by pattern and remove all
text, except the actual filenames(1.jpg, 2.jpg..)?

Thx in advance.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default changing text in multiple cells by pattern

thx for the solution :)

"Maxwell" wrote:

Why not just use REPLACE? Select the column containing your list. Hit
CTRL-H. In the FIND WHAT box, type "http://www.microsoft.com/pics/"
and leave the REPLACE WITH box empty. Press REPLACE ALL button. Tada!

All done.


Seth


On Mon, 18 Feb 2008 17:02:01 -0800, forxigan
wrote:

I have excel workbook which contains column of cells with web adresses(as
text, not hyperlinks), which lead to *.jpg files.
All the web links have the exact same adress, except the jpg filename,
for example: http://www.microsoft.com/pics/1.jpg,
http://www.microsoft.com/pics/2.jpg and so on.

Is there a possibility to rename multiple cells by pattern and remove all
text, except the actual filenames(1.jpg, 2.jpg..)?

Thx in advance.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing a formula in multiple cells casdaq Excel Worksheet Functions 2 April 30th 07 11:54 PM
Copy formula into multiple cells without changing range frankjh19701 Excel Worksheet Functions 4 December 28th 06 03:45 PM
help me is it possible to add to multiple cells without changing t wishing well Excel Worksheet Functions 1 August 25th 06 08:20 AM
Pasting a formula in multiple cells without changing the range Jeff Wheeler Excel Discussion (Misc queries) 3 June 15th 06 04:52 PM
changing cells in multiple worksheets boyd Excel Worksheet Functions 2 May 23rd 05 10:10 PM


All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"