LOGO
General Discussion Undecided where to post - do it here.

Reply to Thread New Thread
Old 03-24-2009, 10:37 PM   #1
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default excel question
I have a question regarding excel. My girlfriend has to change all addresses on this list to a horizontal way. This is the original list: http://www.vzls.ch/fr/mitgl_alpha.html

The way it should be done is like this:

Zahntechnische Werkstatt GmbH Hinterdorf 106 7220 Schiers / GR 081 330 44 77 081 330 44 78 zahnwerkstatt@bluewin.ch

So the whole thing should be on one line. I know the transpose function, but the other addresses need to be on different rows and when I transpose all it will all be on a horizontal line.
Suvaxal is offline


Old 03-24-2009, 10:50 PM   #2
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
I have a question regarding excel. My girlfriend has to change all addresses on this list to a horizontal way. This is the original list: http://www.vzls.ch/fr/mitgl_alpha.html

The way it should be done is like this:

Zahntechnische Werkstatt GmbH Hinterdorf 106 7220 Schiers / GR 081 330 44 77 081 330 44 78 zahnwerkstatt@bluewin.ch

So the whole thing should be on one line. I know the transpose function, but the other addresses need to be on different rows and when I transpose all it will all be on a horizontal line.
Use a macro to transpose one entry (four colums) at a time (1 column with four rows into 4 colums with 1 row)

Something like:

intCell = 2
While (Range("A" & intCell).value "")
....

Bah, just got called into a meeting. I will come back here to help if you still need it. Sorry
Ervntewc is offline


Old 03-25-2009, 10:40 PM   #3
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
I still need help for this.. changing 450 addresses is just a big hassle
Suvaxal is offline


Old 03-25-2009, 10:50 PM   #4
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
Alright, my friend, are you familiar with VBA or writing macros in Excel?

If so, I can write something really grimy up for you and you can fix it however you see fit. Sound good? I will just email/FTP you the file. Should not take long.
Ervntewc is offline


Old 03-25-2009, 10:55 PM   #5
AlbrtJhnsqw

Join Date
Oct 2005
Posts
377
Senior Member
Default
Do you have them in an Excel file already, or are they being copied from the website?

You need to give us more information about how they are stored in the spreadsheet i.e. are there 6 entries in a single column for the 6 data items (cells A1 to A6 for example).
AlbrtJhnsqw is offline


Old 03-25-2009, 11:11 PM   #6
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
I myself am not really familiar with excel but I have an idea what macros are.

All the addresses that are on the website I posted have to be inserted in an excel spreadsheet. The way it should be done is all horizontal.

Instead of having data on different rows it should all be on one row next to eachother.

Example:

Company Name, Owner Name, Adress, Telephone Number, Fax, Email, Website Link

All on one row and no different columns..

thx for the help
Suvaxal is offline


Old 03-25-2009, 11:16 PM   #7
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
So, all in one column? Just delimited by comma.
Ervntewc is offline


Old 03-25-2009, 11:22 PM   #8
AlbrtJhnsqw

Join Date
Oct 2005
Posts
377
Senior Member
Default
Pulling the information from HTML to the format you specify is a completely different world to transposing data items already within a spreadsheet.

Is there no database with the originals in?
AlbrtJhnsqw is offline


Old 03-25-2009, 11:27 PM   #9
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
Pulling the information from HTML to the format you specify is a completely different world to transposing data items already within a spreadsheet.

Is there no database with the originals in?
Yeah, the raw data would be super easy, but this is not bad so long as the OP describes the job thoroughly.
Ervntewc is offline


Old 03-25-2009, 11:28 PM   #10
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
unfortunately not.. I guess my girlfriend just has to do one address at a time..

Ooh and not all in 1 column.. Everything that's seperated by a coma in a different column.. All just on 1 row..

right now she's using the transpose function, but 450 addresses take a looong time..
Suvaxal is offline


Old 03-25-2009, 11:31 PM   #11
77chawzence

Join Date
Oct 2005
Posts
546
Senior Member
Default
You can record a macro for one line and then repeat it for all others

search macro in the online help
77chawzence is offline


Old 03-25-2009, 11:32 PM   #12
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
unfortunately not.. I guess my girlfriend just has to do one address at a time..

Ooh and not all in 1 column.. Everything that's seperated by a coma in a different column.. All just on 1 row..

right now she's using the transpose function, but 450 addresses take a looong time..
Tell her to stop. I am almost done.

I am writing this assuming that you just copy and pasted the entire HTML table into Excel starting at row 2.
Ervntewc is offline


Old 03-25-2009, 11:33 PM   #13
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
example:

http://img141.imageshack.us/my.php?image=excel.jpg
Suvaxal is offline


Old 03-25-2009, 11:37 PM   #14
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
Tell her to stop. I am almost done.

I am writing this assuming that you just copy and pasted the entire HTML table into Excel starting at row 2.
She did something like that yes... wondering how can do it that fast... thx though
Suvaxal is offline


Old 03-26-2009, 12:21 AM   #15
Ervntewc

Join Date
Oct 2005
Posts
531
Senior Member
Default
DONE!!!! Give me an email addy or something to send it to you.

I will post the code here in a bit.
Ervntewc is offline


Old 03-26-2009, 01:15 AM   #16
Suvaxal

Join Date
Oct 2005
Posts
515
Senior Member
Default
thx I sent you a pm
Suvaxal is offline



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 03:18 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity