I need to transpose a large worksheet. This worksheet in turn refers to absolute locations on the other sheet. It looks like this:

       A                  B              C
1 Alternatives                      Hardware Costs
2                                   PC desktops / Windows 7
3 Desktops (100%)  Number           123
4                  Capital expenses $123,456
5                  Per client       $789

C5 has a formula: ='Variables and sources'!$C$4

When I transpose via select > Copy > Paste > Transpose, this piece is transposed OK, except C5. I expected the formula to be left unchanged: it refers to a separate sheet; it uses an absolute reference; the MS article at http://office.microsoft.com/en-us/excel-help/switch-transpose-columns-and-rows-HP010224502.aspx says "To make sure that formulas continue to refer correctly to data in non-transposed cells, use absolute references in the formulas before you transpose them.".

The result though is ='Variables and sources'!$D$47. Why? Is there any way to solve this problem? I tried both Excel 2007 for Windows and Excel 2008 for Mac.

I am stumped: the worksheet is large; I do need to transpose it.

link|improve this question
feedback

1 Answer

Try using a named range/cell.

Go to Formula > Name Manager > New

Enter your preferred name e.g. "per_client"

In "Refers To" enter the following (don't forget the "="):

='Variables and sources'!$C$4

In cell C5, use this formula:

=per_client

Transpose your data range again.

link|improve this answer
Interesting. It could have been a solution. I have actually around 60 variables defined on the "Variables and sources" worksheet. I was able to create Names in bulk using Create from Selection. However, the problem is applying these names. Whenever I try to apply them I get "Microsoft Excel cannot find any references to replace.". I found this KB article about this problem, but it only applies to Excel 2000: support.microsoft.com/kb/268974. Secondly, what in the world is the purpose of names' scope = Workbook if I can't apply a name on any other worksheet? – DKroot May 23 '11 at 21:30
Make sure that the cell references in your name include the sheetname. By setting the scope to Workbook, the name can be used in all other sheets in your file, but not in any other workbooks that you have open. Setting the scope to a single sheet means you can only use that name within that sheet. To call on a "local" name from another sheet, precede it with the sheet name (e.g. Sheet 1!MyRange). For more info: office.microsoft.com/en-us/excel-help/… – Kaze May 23 '11 at 22:34
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.