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
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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
Hi,

In Sheet 1 cell A1
Excel Formula:
=OFFSET(Sheet2!$A$1,INT((INT(ROW()-1))/2),MOD(ROW()-1,2))
 
Upvote 0
Can you expand on the result you get with the proposed formula ... and more importantly ... Why it is not what you asked for ... ;)
 
Upvote 0
Is it an issue of adjusting the sequence ....from horizontal to vertical ... with odd and even numbers ...???
 
Upvote 0
If in your Sheet 2, column A is holding all your Odd Numbers and Column B is made of all the Even Numbers ...

with the objective to reconstruct the ascending order ...

then in Sheet1, cell A1, you can use =OFFSET(Sheet2!$A$1,INT((INT(ROW()-1))/2),MOD(ROW()-1,2))

and copy this formula down in column A to get your results
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,207
Members
449,214
Latest member
mr_ordinaryboy

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