How to use TRANSPOSE function?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
591
Office Version
  1. 365
Platform
  1. Windows
Hello

I have this formula that returns the right address that I want:

Code:
=CELL("address",INDEX($H$38:$H$136,MATCH(0,$H$38:$H$136,0)))

But when I use the above formula in the TRANSPOSE function, it does not work:

Code:
=TRANSPOSE($H$38:CELL("address",INDEX($H$38:$H$136,MATCH(0,$H$38:$H$136,0))))

Any hint please?
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Try rather: Control+shift+enter...

=TRANSPOSE($H$38:INDEX($H$38:$H$136,MATCH(0,$H$38:$H$136,0)))

Thanks, I tried that but it does not work, at least as I was expecting to.

It populates the formula cell with the first value of the source range. But when I drag it across the row, it does not transpose the range, but repeats the first value
How should it work really? Does it automatically populate the row with the source column? Or it needs me to drag it? And if the latter, why when I drag it, it repeats the value instead of copying the subsequent values from the source range?

Thanks
 
Upvote 0
you can't drag it, it needs to be part of an array. Select the cells that you want to populate (all of them! e.g. select A1:C1), then (with the cells still selected) enter the formula above with ctrl+shift+enter.
 
Upvote 0

Forum statistics

Threads
1,215,135
Messages
6,123,239
Members
449,093
Latest member
Vincent Khandagale

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