Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2010, 11:59 AM
hypertyper hypertyper is offline Make row in one sheet equal column of another Windows 7 Make row in one sheet equal column of another Office 2010 (Version 14.0)
Novice
Make row in one sheet equal column of another
 
Join Date: Mar 2010
Posts: 3
hypertyper is on a distinguished road
Default Make row in one sheet equal column of another

I'm calculating an "complaint index" in one sheet where it ends up in a row and I want the values from that row to be copied to another sheet where they are meant to fill a column.



I can get single values via this:

='complaint index'!G9

but when I try to "drag it out" so that Excel realises that after G9 H9 I9 comes J9 it doesn't get it. I'm not keen on entering the letter for each field individually.

I hope you know what I mean and sorry for the basic question but it's driving me nuts and google didn't help me out...

Thanks!
Reply With Quote
  #2  
Old 03-23-2010, 03:52 PM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline Make row in one sheet equal column of another Windows XP Make row in one sheet equal column of another Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

Hi,

The simplest solution would be to highlight your 'complaint index' range, select copy, then move to your other sheet, select the first cell of your destination column, and use "Paste Special..." with "Transpose".

If you need a formula, please identify the size of the source range and the first cell of your destination column.

Cheers,
Reply With Quote
  #3  
Old 03-24-2010, 05:45 AM
hypertyper hypertyper is offline Make row in one sheet equal column of another Windows 7 Make row in one sheet equal column of another Office 2010 (Version 14.0)
Novice
Make row in one sheet equal column of another
 
Join Date: Mar 2010
Posts: 3
hypertyper is on a distinguished road
Default

Thanks for your reply.

The problem with the copy paste solution is that I don't have all the values yet (they will get updated every day so the formula solution would be best).

Quote:
size of the source range and the first cell of your destination column
I'm not exactly sure what you mean. If you mean the range as in size then it will be between 1 and 10. The first cell of the destination column is "E9" if that's what you mean.

Cheers
Reply With Quote
  #4  
Old 03-24-2010, 01:37 PM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline Make row in one sheet equal column of another Windows XP Make row in one sheet equal column of another Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

Insert this formula in cell E9 of your destination sheet:

Code:
=INDEX('complaint index'!$G$9:$P$9,1,ROW()-8)
Then autofill down.

Cheers,
Reply With Quote
  #5  
Old 03-24-2010, 02:52 PM
hypertyper hypertyper is offline Make row in one sheet equal column of another Windows 7 Make row in one sheet equal column of another Office 2010 (Version 14.0)
Novice
Make row in one sheet equal column of another
 
Join Date: Mar 2010
Posts: 3
hypertyper is on a distinguished road
Default

It seems like an elegant solution but I can't get it to work.

I get an "Invalied cell reference error".

Is there any chance you can explain what each part of the formula means?

I can get this to work for a single field but autofill doesn't work...

Quote:
=INDEX('complaint index'!G9:P9,1,1)
Thanks for your help.
Reply With Quote
  #6  
Old 03-25-2010, 12:23 AM
ConneXionLost's Avatar
ConneXionLost ConneXionLost is offline Make row in one sheet equal column of another Windows XP Make row in one sheet equal column of another Office 2003
Simulacrum
 
Join Date: Jan 2010
Location: Victoria, Canada
Posts: 86
ConneXionLost is on a distinguished road
Default

This INDEX function will return any value from a range where the row and column within the range is identified.

The first portion:

Code:
'complaint index'!$G$9:$P$9
refers to the source range. As per your description, it is one row deep and ten columns wide. Note that the dollar signs (absolute reference) must remain in place to prevent the formula from losing it's focus while you auto-fill.

The second portion:

Code:
1
identifies which row of the source range to return.

The third/final portion:

Code:
ROW()-8
does all the work here. It identifies which column of the source range to return. You indicated the destination cell would begin in cell E9, so the ROW() will read that the formula is on the ninth row then subtract 8 from it. As you auto-fill this formula down from the ninth row on the destination sheet, the ROW()-8 will increment 1,2,3,... and provide the formula with a column number. Remember, you're trying to transpose the rows & columns, that's why a row is acting as a column reference.

Hope this helps,

Cheers,
Reply With Quote
  #7  
Old 01-31-2012, 03:48 PM
Galauras Galauras is offline Make row in one sheet equal column of another Windows 7 32bit Make row in one sheet equal column of another Office 2007
Novice
 
Join Date: Jan 2012
Posts: 1
Galauras is on a distinguished road
Talking Thanks!

I registered just so I could say that this formulaic discovery was AMAZING! Thanks for sharing it!
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Make row in one sheet equal column of another If A1 greater than or equal to 1 Then A3 = A2*A1 brians Excel 5 03-09-2010 12:04 PM
copy cell from sheet 2 to sheet 3 macro slipperyjim Excel Programming 1 02-18-2010 01:31 AM
Template for Noting Sheet. Goldenbird Word 8 05-25-2009 05:48 AM
sheet linking, sorting nickbfe Excel 0 05-19-2006 11:00 AM
Make row in one sheet equal column of another Enter Number on any sheet one time only. paulrm906 Excel 1 04-28-2006 07:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft