We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel Help !
tonyh66
Posts: 1,736 Forumite
in Techie Stuff
Im having a nightmare trying to create a column of formulas from a row of data. i.e. I can create the first formula in the column which is like this - Sheet1!B40, but I cannot replicate this downwards, I want the one below to read Sheet1!C40, Sheet1!D40 etc.
I have $ the 40 to fix it at 40 but cannot get the letter to ascend it stays as B40 in all the formulas if I drag it downwards.
I can copy and transpose the data but I need the location of the data so it changes when I alter the data values.
0
Comments
-
-
Or use the OFFSET function.0
-
Thanks for the replies, I sorted it eventually created a formula for left hand cell, $ the number, drag copied it sideways to the right, then copied these formulas and did a paste special choosing formulas and transpose from the pop up box.
0 -
The ASAP addin has a pretty neat range transpose function that preserves formulae
0 -
That's OK as a one-off. If the formula starts in cell A1 of the other sheet, entertonyh66 said:Thanks for the replies, I sorted it eventually created a formula for left hand cell, $ the number, drag copied it sideways to the right, then copied these formulas and did a paste special choosing formulas and transpose from the pop up box.
=INDIRECT("Sheet1!" & CHAR(65+ROW(A1)) & "40") and copy down.
Note CHAR(65+ROW(A1))="B". So if starting in a row other than 1, the 65 needs to be modified.
EDIT: above only works up to column Z0 -
=INDEX(Sheet1!$40:$40,ROWS($A$1:$A2))
copied down would be an alternative.1 -
Agreed - a better solution.TrickyDicky101 said:=INDEX(Sheet1!$40:$40,ROWS($A$1:$A2))
copied down would be an alternative.0
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.4K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.5K Work, Benefits & Business
- 602.8K Mortgages, Homes & Bills
- 178K Life & Family
- 260.5K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards
