Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Excel experts if you please

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

Excel experts if you please
Reply
 
Thread Tools
Old 07-05-2005, 12:55   #1
markmarkymark
Inactive
 
Join Date: Jul 2003
Posts: 351
markmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about them
Excel experts if you please

Yo all

I wonder if any of you out there are able to manipulate text in excel? I have three columns.

In the first Column I have some terms such as:

Time
Thermal Neutrons
etc

In the second column I have the following terms which have been derived from the first column (not by excel but by something else). There is therefore no manipulation done in excel - it has just been pasted in:

/glossary/Time.html
/glossary/Thermal_Neutrons.html
/glossary/etc.html

In the the third column I want the following lines to be derived from the previous two columns:

<a href="/glossary/Time.html" target="_top" >Time</a>
<a href="/glossary/Thermal_Neutrons.html" target="_top" >Thermal Neutrons</a>
<a href="/glossary/etc.html" target="_top">etc</a>

What I want is the third column to be something like:

<a href="Second Column" target="_top">First Column</a>

I am just trying to save some time by having all the terms in the first two columns (I have 500!) joined into the standard format in the final column. I then have an easy cut and paste job for future planned work.

Anyone know how to do this - I'm sure it can not be that difficult?!!

many thanks

Mark
markmarkymark is offline   Reply With Quote
Advertisement
Old 07-05-2005, 13:27   #2
Raistlin
Inactive
 
Join Date: Feb 2004
Location: There's no place like 127.0.0.1
Services: Depends on the person and the price they're offering
Posts: 12,384
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Re: Excel experts if you please

This should do the trick.....
__________________

Ok, try again.....

Ok, it won't let me upload an excel file.

try this formula in column three.

Assuming that A1 is "Time" and B1 is the URL etc


="<a href="""&B1&""" target=""_top"" >"&A1&"</a>"
Raistlin is offline   Reply With Quote
Old 07-05-2005, 13:32   #3
bmxbandit
Inactive
 
bmxbandit's Avatar
 
Join Date: Oct 2004
Location: Nottingham
Posts: 1,405
bmxbandit has reached the bronze age
bmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze age
Re: Excel experts if you please

do you just want the html code, or it to actually be a link?

EDIT: ah, been sorted already
bmxbandit is offline   Reply With Quote
Old 07-05-2005, 13:38   #4
markmarkymark
Inactive
 
Join Date: Jul 2003
Posts: 351
markmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about themmarkmarkymark has a spectacular aura about them
Re: Excel experts if you please

Hey thanks Raistlin!!

This works a treat. This is what makes this board so amazing - people prepared to help out like that. Very many thank!!

Mark
markmarkymark is offline   Reply With Quote
Old 07-05-2005, 13:41   #5
MetaWraith
Inactive
 
MetaWraith's Avatar
 
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,949
MetaWraith has a bronzed appealMetaWraith has a bronzed appeal
MetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appeal
Send a message via ICQ to MetaWraith Send a message via AIM to MetaWraith Send a message via MSN to MetaWraith Send a message via Yahoo to MetaWraith
Re: Excel experts if you please

you need to put a formula into the third column
which can then be dragged to replicate it throughout the column

put the cursor in a 3rd column cell and click on the "insert function" icon
select the "text" category of functions
then select the "concatenate" function

build up the formula as required, an example can be found here

http://www.techonthenet.com/excel/formulas/concat.htm

you should now realise that a suitable function could be derived to generate column 3 from columm 1 alone

all that remains now is to drag the formula throught the rest of the column (click bottom right corner of the cell)

Edit
took too long to type that and was beaten by Raistlin
MetaWraith is offline   Reply With Quote
Old 07-05-2005, 13:42   #6
bmxbandit
Inactive
 
bmxbandit's Avatar
 
Join Date: Oct 2004
Location: Nottingham
Posts: 1,405
bmxbandit has reached the bronze age
bmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze agebmxbandit has reached the bronze age
Re: Excel experts if you please

concatenate() went out of fashion a long time ago
bmxbandit is offline   Reply With Quote
Old 07-05-2005, 13:44   #7
Raistlin
Inactive
 
Join Date: Feb 2004
Location: There's no place like 127.0.0.1
Services: Depends on the person and the price they're offering
Posts: 12,384
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Raistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered starsRaistlin is seeing silvered stars
Re: Excel experts if you please

Actually, the ampersand "&" in my equation is simply another form of concatenation.

And, you're welcome
Raistlin is offline   Reply With Quote
Old 07-05-2005, 13:45   #8
MetaWraith
Inactive
 
MetaWraith's Avatar
 
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,949
MetaWraith has a bronzed appealMetaWraith has a bronzed appeal
MetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appeal
Send a message via ICQ to MetaWraith Send a message via AIM to MetaWraith Send a message via MSN to MetaWraith Send a message via Yahoo to MetaWraith
Re: Excel experts if you please

Quote:
Originally Posted by bmxbandit
concatenate() went out of fashion a long time ago
I know that but it's still an easy way to do things and the wizard allows you to click on the cells you want included.
MetaWraith is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:21.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum