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
 
Glad to hear the first formula worked :)

Have you tested : In Cell H4 =OFFSET($C$1,COLUMN()-8,0) and copy to right
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Yes it took from left table and put there qwerty but this is not what I need. I am not going to put datas from left to right table.
I always take data from right table rows to put them in left table as columns.
 
Upvote 0
James this is what I want to do.
Formula in red worked and took yellow data and put it in column going down.
Let me select red area, drag it right and so that formula takes data from blue and put in green area.
I want to put that formula in red for once only and be able to drag to right. So it always takes rows from right table (from another file) and put them in left table as rows to columns.
Kitap3.xlsx.xlsm
ABCDEFGHIJKLMNO
11aqq12345678
22bwwabcdefgh
33ceeqwertyui
44drrcarpinkdog0catMondayjamesexcel
55ett
66fyy
77guu
88hii
Sayfa1
Cell Formulas
RangeFormula
C1:D8C1=OFFSET($H$3,0,ROW()-1)
 
Upvote 0
OK....

So let's change the formula in your cell C1:
Excel Formula:
=OFFSET(INDIRECT("H"&COLUMN()),0,ROW()-1)
and you can copy it down till C8

then, you can select the range C1:C8 ... and drag it to Column D ... to get your result ....
 
Upvote 1
Solution
OK....

So let's change the formula in your cell C1:
Excel Formula:
=OFFSET(INDIRECT("H"&COLUMN()),0,ROW()-1)
and you can copy it down till C8

then, you can select the range C1:C8 ... and drag it to Column D ... to get your result ....
Worked thank you but of course with my poor English, there are other things I need to add but this is enough for you. Thank you.
 
Upvote 0
Glad to hear it is finally working ... :)

İngilizceniz kötü değil ... ;)

If your next question is about the source which would be in a different worksheet, you only need to insert the Sheet Name and the Column Letter in the Indirect () section ...
 
Upvote 0
Glad to hear it is finally working ... :)

İngilizceniz kötü değil ... ;)

If your next question is about the source which would be in a different worksheet, you only need to insert the Sheet Name and the Column Letter in the Indirect () section ...
Teşekkür ederim :)
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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