DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate

DiscussWorldIssues - Socio-Economic Religion and Political Uncensored Debate (http://www.discussworldissues.com/forums/index.php)
-   General Discussion (http://www.discussworldissues.com/forums/forumdisplay.php?f=27)
-   -   excel question (http://www.discussworldissues.com/forums/showthread.php?t=235636)

Suvaxal 03-24-2009 10:37 PM

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.

Ervntewc 03-24-2009 10:50 PM

Quote:

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

Suvaxal 03-25-2009 10:40 PM

I still need help for this.. changing 450 addresses is just a big hassle

Ervntewc 03-25-2009 10:50 PM

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.

AlbrtJhnsqw 03-25-2009 10:55 PM

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).

Suvaxal 03-25-2009 11:11 PM

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

Ervntewc 03-25-2009 11:16 PM

So, all in one column? Just delimited by comma.

AlbrtJhnsqw 03-25-2009 11:22 PM

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?

Ervntewc 03-25-2009 11:27 PM

Quote:

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. http://www.discussworldissues.com/fo...ies/wacko1.gif

Suvaxal 03-25-2009 11:28 PM

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..

77chawzence 03-25-2009 11:31 PM

You can record a macro for one line and then repeat it for all others

search macro in the online help

Ervntewc 03-25-2009 11:32 PM

Quote:

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.

Suvaxal 03-25-2009 11:33 PM

example:

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

Suvaxal 03-25-2009 11:37 PM

Quote:

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 :)

Ervntewc 03-26-2009 12:21 AM

DONE!!!! Give me an email addy or something to send it to you.

I will post the code here in a bit.

Suvaxal 03-26-2009 01:15 AM

thx I sent you a pmhttp://www.discussworldissues.com/fo...ies/smile1.gif


All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2