Formula copies auto when we go vertical but what about go vertical and take data from horizontal?

cadandcode

Board Regular
Joined
Jan 21, 2023
Messages
125
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
Hi, I manage and edit more than 2 different sheets from different files. When we drag cell vertical down, it copies formula and automatically perform process. (like A1=B300, A2=301 and so) But how can I take datas from in horizontal condition to vertical condition? (like A1=B300, A2=C300, A3=D300)
Example;

sheet 1Asheet 2AB
1=pinkcar1 (=A1 in sheet 2)1=pinkcar1=pinkcar2
2=pinkcar3 (=A1 in sheet 2)2=pinkcar3
3=pinkcar2 (=B1 in sheet 2)3
44
 
OK...
If you only have one row in Sheet 2.... it is much easier and in sheet1, in cell A1, you can test:
Excel Formula:
=OFFSET(Sheet2!$B$1,0,ROW()-1)
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Is the simple formula allowing to make a progress ?
 
Upvote 0
As I said earlier ... not working is not very precise ... always better to explain the result you get ... and explain why it is not the result you want ...

But I understand you have decided to give up :)
 
Upvote 0
İmagine you have things to fill cells.
Like row 1 is, a b c d e and so.
Like row 2 is, 1 2 3 4 5 and so.
Now let me change rows with columns eachother.
Make column A is going down a b c d e and so
Make column B is going down 1 2 3 4 5 and so.

Or let me share a part of worksheet with you.
Kitap3.xlsx.xlsm
ABCDEFGHIJKLMNOP
11aq.12345678
22bw.abcdefgh
33ce.qwertyui
44dr...
55et
66fyI need a formula which takes yellow ones to place in C column in red ones shape.
77guThere is like more than 400 rows in the file that yellow comes from
88hiSo the file (red column one) will have the rows (like yellow one) in columns.
9Whenever I put numbers in yellow part, it will go to other file in going down sorting.
10In other words, I want to select C1 to C8 and drag it to D1 to D8, I expect yellow ones appear there like red ones.
Sayfa1
 
Upvote 0
As I said earlier ... not working is not very precise ... always better to explain the result you get ... and explain why it is not the result you want ...

But I understand you have decided to give up :)
Forgot to mention you.
 
Upvote 0
May be the problem is only when you say .... Drag ....;)

With your very last example ... let me make two proposals :

1. In Cell D2 =OFFSET($H$3,0,ROW()-1) and you copy down

2. In Cell H4 =OFFSET($C$1,COLUMN()-8,0) and copy to right

Let me have your comments
 
Upvote 0
Have you used the two formulas .... in the modified post # 17 ....
 
Upvote 0
Have you used the two formulas .... in the modified post # 17 ....
This worked.
"D1 =OFFSET($H$3,0,ROW()-1) and you copy down"
But I want to drag the columns to right in left table to get right table data.
I am trying to get right table's rows as columns in left table.
Once I use your formula to put rows in column, I want to drag that column to right and make formula take next row.
Kitap3.xlsx.xlsm
ABCDEFGHIJKLMNO
11aqq12345678
22bwwabcdefgh
33ceeqwertyui
44drr...
55ett
66fyy
77guu
88hii
Sayfa1
Cell Formulas
RangeFormula
D1:D8D1=OFFSET($H$3,0,ROW()-1)

I want to see . . . instead of same with last one.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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