simple question

alhurayas

Board Regular
Joined
Feb 22, 2008
Messages
62
hi all I have simple question

in sheet1 I have all my data
and sheet 2 to have the same date but the ROWS should be converted to COLUMNS

thanks you very much for any the help
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Mr mrkmzz thank you
I tried it but did not work and I used Ctrl+Shift+Ente

Hi Alhurayas,

Here it works. Look at this:

Layout:

Row01/Col01
Col02
Col03
Col04
Col05
Sheet1
Row02
Name01
110
120
130
Row03
Name02
210
220
230
Row04
Name03
310
320
330
*************
********
********
********
********

<tbody>
</tbody>

Row01/Col01
Row02
Row03
Row04
Sheet2
Col02
Name01
Name02
Name03
Col03
110
210
310
Col04
120
220
320
Col05
130
230
330
*************
********
********
********

<tbody>
</tbody>


Array formula (use Ctrl+Shift+Enter and not only Enter):

Code:
In Sheet2 and cell A1

A1-> =INDEX(IF(Sheet1!$A$1:$E$4="","",Sheet1!$A$1:$E$4),COLUMNS($A1:A1),ROWS(A$1:A1))

Do some tests with my layout and tell me if the array formula work.


Markmzz
 
Upvote 0
mr markzz thank you very very much it worked , but how to change it to be 100 ROWS and 100 COLUMNS


thank you
 
Upvote 0
mr markzz thank you very very much it worked , but how to change it to be 100 ROWS and 100 COLUMNS


thank you

Try this:

Array formula (use Ctrl+Shift+Enter and not only Enter):

Code:
In Sheet2 and cell A1 

A1-> =INDEX(IF(Sheet1!$A$1:$CV$100="","",Sheet1!$A$1:$CV$100),COLUMNS($A1:A1),ROWS(A$1:A1))

Do some tests.

Markmzz
 
Upvote 0
thank you mr Markmzz
it worked but it needed a lot of time to calculate because I have more than 500 rows and column and I set it to 1000 for future use is an easy way
 
Upvote 0
thank you mr Markmzz
it worked but it needed a lot of time to calculate because I have more than 500 rows and column and I set it to 1000 for future use is an easy way

my system hang up

Hi Alhurayas,

Sorry about that.

For that amount of rows and columns (500 - 1,000) my formula isn't suitable.

I don't know another way to speed up the processing of your data.

Lets wait for another user.

Markmzz
 
Upvote 0
=INDEX((Sheet1!$A$1:$C$3),COLUMN(),ROW())

Repalce $A$1:$C$3 with the section of Sheet 1 that you need to transpose.
 
Upvote 0

Forum statistics

Threads
1,216,458
Messages
6,130,754
Members
449,588
Latest member
accountant606

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top