Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
laskuh
 
Posts: n/a
Default help with excel (maybe macros)


wow. that is awesome. now, is there any way that i can edit to make it,
when it finds a blank cell, to ignore those, but to also go to the next
column (f1) and starts putting the next part of the data there? i have
blank cells separating my data and it is just running the sets together
as is.

thank you so much for your help.

John Mansfield Wrote:
laskuh,

This macro will take the data in the range A1:C9 and load it into
column E
while ignoring any blank cells in the original range:

Sub RangeToColumn()
Dim Rng1 As Range
Dim Rng2 As Range
Set Rng2 = Range("E1")
For Each Rng1 In Range("A1:C9")
If IsEmpty(Rng1.Value) = True Then GoTo Branch:
Rng2.Value = Rng1.Value
Set Rng2 = Rng2.Offset(1, 0)
Branch:
Next
End Sub

----
Regards,
John Mansfield
http://www.pdbook.com


"laskuh" wrote:
-

you guys are the most technical people i know, so i thought i would
bring this to you. his is my problem:

i have data in an excel sheet. its in a matrix and reads from left to
right and top to bottom, as if you were reading a book (A1, B1... A2,
B2... etc).

A B C D E
1 . . . . .
2 . . . . .
3 . . . . .

i need to somehow transfer this to another part of the sheet in excel
and have all my data in one column:

A1
B1
C1
D1
E1
A2

i know i can do this by just making a certain cell equal to another
cell, etc, but i have 4 new data files a day and thousands of data
points per file. so, i need some sort of formula or a macro that can
do
this, but im not quite sure how to get this done.

can anyone help? or refer me to someone that might be able to?

i hope this makes sense.


--
laskuh
-



--
laskuh
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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
help with excel (maybe macros) laskuh Excel Worksheet Functions 1 March 20th 05 12:03 PM
How do I update Excel 2000 macros to work in Excel 2002? BobPetrich Excel Discussion (Misc queries) 3 January 4th 05 04:06 PM
how can i edit excel 4 macros in Excel 2003 Pedrito1967 Excel Worksheet Functions 0 December 7th 04 07:21 PM
Is there a way to sort by color in excel? using macros? PJ456 Excel Worksheet Functions 2 November 8th 04 03:36 PM


All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Excel"