#1   Report Post  
Chi
 
Posts: n/a
Default Columns

Hi,
In Word, it has Columns function that is very useful. When the column A is
full in one page, the data automatically go to column B and then C....
-----
In Excel, I would like to create a sheet, which has 5 columns. I hope that
(on column A) after data is entered into row 60, the next data will move to
column B, not go to the row 61. And then when column B is entered to row 60,
the next data will move to column C....
Please help.
Chi
  #2   Report Post  
Max
 
Posts: n/a
Default

One play is to mimic this as an output on another sheet ..

Assume data will be entered in A1:A300 in Sheet1

In Sheet2,

Put in A1:

=IF(INDIRECT("'Sheet1'!A"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1))=0,"",INDIREC
T("'Sheet1'!A"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1)))

Copy A1 across to E1, fill down to E60

A1:E60 will return the desired outputs from the inputs in Sheet1's A1:A300
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Chi" wrote in message
...
Hi,
In Word, it has Columns function that is very useful. When the column A is
full in one page, the data automatically go to column B and then C....
-----
In Excel, I would like to create a sheet, which has 5 columns. I hope that
(on column A) after data is entered into row 60, the next data will move

to
column B, not go to the row 61. And then when column B is entered to row

60,
the next data will move to column C....
Please help.
Chi



  #3   Report Post  
Chi
 
Posts: n/a
Default

Thanks Max, I got it. It is wonderful!

For another case that if data are entered in A1:A300 and B1:B300 (they need
go together)
Ex: A B

Education 2003
Data are entered in A and B columns will stop at row 60 and continue to fill
in D1 and E1 columns and go on....

Please help .
Thanks
Chi


"Max" wrote:

One play is to mimic this as an output on another sheet ..

Assume data will be entered in A1:A300 in Sheet1

In Sheet2,

Put in A1:

=IF(INDIRECT("'Sheet1'!A"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1))=0,"",INDIREC
T("'Sheet1'!A"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1)))

Copy A1 across to E1, fill down to E60

A1:E60 will return the desired outputs from the inputs in Sheet1's A1:A300
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Chi" wrote in message
...
Hi,
In Word, it has Columns function that is very useful. When the column A is
full in one page, the data automatically go to column B and then C....
-----
In Excel, I would like to create a sheet, which has 5 columns. I hope that
(on column A) after data is entered into row 60, the next data will move

to
column B, not go to the row 61. And then when column B is entered to row

60,
the next data will move to column C....
Please help.
Chi




  #4   Report Post  
Max
 
Posts: n/a
Default

.. if data are entered in A1:A300 and B1:B300
(they need go together)


Assume the above is made in Sheet1 as before

In Sheet1,

Put in C1: =TRIM(A1&" "&B1)
Copy down to C300

In Sheet2, change the reference to point to Sheet1's col C instead of col A,
i.e.

Put in A1:
=IF(INDIRECT("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1))=0,"",INDIREC
T("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1)))

Copy A1 across and fill down to E60 as before
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Chi" wrote in message
...
Thanks Max, I got it. It is wonderful!

For another case that if data are entered in A1:A300 and B1:B300 Ex:

A B

Education 2003
Data are entered in A and B columns will stop at row 60 and continue to

fill
in D1 and E1 columns and go on....

Please help .
Thanks
Chi



  #5   Report Post  
Chi
 
Posts: n/a
Default

Hi Max,
Again, excellent!

There is a small thing that I need help in this question. Please.
It returns to my designed outputs. Great! However, the data of combined
field (c)appear very close. I would like to make them separately.

Ex: A B
C
Department 1000 then it becomes
Department 1000
Education 200
Education200
Test 5
Test5
I wish they could show like the format below.

Department 1000
Education 200
Test 5

Please help.

Thank you so much!
Chi

"Max" wrote:

.. if data are entered in A1:A300 and B1:B300
(they need go together)


Assume the above is made in Sheet1 as before

In Sheet1,

Put in C1: =TRIM(A1&" "&B1)
Copy down to C300

In Sheet2, change the reference to point to Sheet1's col C instead of col A,
i.e.

Put in A1:
=IF(INDIRECT("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1))=0,"",INDIREC
T("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1)))

Copy A1 across and fill down to E60 as before
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Chi" wrote in message
...
Thanks Max, I got it. It is wonderful!

For another case that if data are entered in A1:A300 and B1:B300 Ex:

A B

Education 2003
Data are entered in A and B columns will stop at row 60 and continue to

fill
in D1 and E1 columns and go on....

Please help .
Thanks
Chi






  #6   Report Post  
Chi
 
Posts: n/a
Default

My last post is mess . Please read this post. Thanks.
Chi
-------------
There is a small thing that I need help in this question. Please.
It returns to my designed outputs. Great! However, the data of combined
field (c)appear very closely. I would like to make them separately.

Ex: A B C

Department 1000 Department1000
Education 200 Education200

I wish they could show like the format below.( Department is at left align and 1000 is at right align)

Department 1000
Education 200
Test 5




Please help.

Thank you so much!
Chi

"Max" wrote:

.. if data are entered in A1:A300 and B1:B300
(they need go together)


Assume the above is made in Sheet1 as before

In Sheet1,

Put in C1: =TRIM(A1&" "&B1)
Copy down to C300

In Sheet2, change the reference to point to Sheet1's col C instead of col A,
i.e.

Put in A1:
=IF(INDIRECT("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1))=0,"",INDIREC
T("'Sheet1'!C"&COLUMNS($A$1:A1)*60-60+ROWS($A$1:A1)))

Copy A1 across and fill down to E60 as before
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
"Chi" wrote in message
...
Thanks Max, I got it. It is wonderful!

For another case that if data are entered in A1:A300 and B1:B300 Ex:

A B

Education 2003
Data are entered in A and B columns will stop at row 60 and continue to

fill
in D1 and E1 columns and go on....

Please help .
Thanks
Chi




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
Columns FemIce Excel Discussion (Misc queries) 1 September 28th 05 09:29 AM
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
Hidden Columns in Shared Workbooks Rotary Excel Discussion (Misc queries) 1 July 9th 05 12:28 AM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM
Columns in Excel will not allow user to click in them Kim Excel Discussion (Misc queries) 1 December 28th 04 06:37 PM


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

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"