How to convert particular columns into rows? - excel

I want to convert particular columns into rows. How can I do that? For example, I want to shift C2 to D1 and C3 to E1 in sheet 1. Below is the link for the same sheet:
https://drive.google.com/open?id=1GifSZqk9UXbne1CORGWEBTjm_ns_U9dI

In cell D1 put formula: =C2
In cell E1 put formula: =C3
Assuming you need this to do the same in D4 and E4 select range D1:E3 and drag down.

Related

increment a column going row wise usering sum product function Excel

Table1 data
i need sumproduct of c1 with c2 , c1 with c3 and so on wile scrolling down the formula like table 2
some thing like this
Paste the below formula to any cell where you would want C1+C2, then drag it down:
=SUM($D$5:$D$12)+SUM(OFFSET($D$4,1,ROW(1:1),8))
What this does is it first sums D5:D12, which is the sum of your C1, then makes use of OFFSET to SUM C2 values in your first cell. Once you drag this down, the ROW(1:1) will move to ROW(2:2), which adjusts the OFFSET to capture the C3 values. This is as well true when you drag it down again for the C4 values.

Excel formula with diagonal

I have a question for executing quickly.
A1:C3 is original. I want to create a new based on it and F1:F3.
A8 is A3 / F1.
A7 is A2 / F2.
A6 is A1 / F3.
B7 is B2 / F1.
B6 is B1 / F2.
C6 is C1 / F1.
I want to use formula to do this rather than input A8 = A3/F1. And do it many times in each cells.
How can I do?
This formula should do it:
=IF(A1<>"",A1/INDEX($F$1:$F$3,1+(ROW()-ROW($A$6)+COLUMN()-COLUMN($A$6))),"")
You have to put it in A6 and copy it to the other cells.
(#Rob Gale: ok :-) )
First you have to check for empty cells (A1<>"").
Then the numerator of the division is simply a reference and can easily copied between the formulas (A1).
The tricky one is the nominator. The sum of the row and column offsets of the respective cell is calculated and used as index into the 'percentage range' in column F.
Select A6:C8
Press F2
Copy and paste this formula
=CHOOSE({1,2,3;4,5,6;7,8,9},A1,B1,C1,A2,B2,C2,A3,B3,C3)/CHOOSE({3,2,1;2,1,1;1,1,1},F1,F2,F3,F1,F2,F3,F1,F2,F3)
Press Ctrl+Shift+Enter

Sub a number with column numbers and show the results in a row

I have a number in cell B2 and I want to make a sub this number with each number in the column C.
The results will be presented in a row (and I want to use the cross in the right corner of the cell to autofill).
Let me explain you what I want to show in each cell:
E2: $B$2-C5
F2: $B$2-C6
G2: $B$2-C7
In order not to write it manually in each cell, how can I change it (autocomplete C5, C6, C7) with the usage of the cross?
I tried to use the dollar like $B$2-$C5 and then drag the cross but it fills all the cells with the C5 value and not C6, C7 etc
In E2 enter:
=$B$2-INDEX($C:$C,COLUMNS($A:E))
and copy across:

Split one column by rows to multiple columns in Excel

I am working in Excel 2013, and I have data like the following:
A1
A2
A3
B1
B2
B3
(The As go to A13, Bs go to B13, Cs go to C13, and so on until you get to row 2495.)
How do I divide this long column where the 14th row moves to the next column? See below:
A1 B1 C1 ...and so on
A2 B2 C2
A3 B3 C3
...
A13 B13 C13
B1: =INDEX($A:$A,(COLUMNS($A:A)-1)*13+ROWS($1:1))
Fill right to AA1
Select B1:AA1 and fill down to row 13
The above assumes you are going A-Z. But you must have other characters also in order to get to 2495 rows. Your real data may require some tweaks from what I have presented -- either filling down further; or filling further to the right, or using a different constant then 13
If you want to parse the data into three separate columns then in B1 enter:
=A1
In C1 enter:
=A14
In D1 enter:
=A27
Then copy these three cells downwards:

Cell address defined by the contents of other cells

How do you define variable cell address in Excel. For example consider the case where the content of cell A1 is 5, cell A2 is 2, cell A3 is 10 and cell A4 is 1. How do I enter a general formula to SUM the content of the cells A7 (A1+A2) through A9 (A3-A4)? I would then like to drag the formula to columns B through CJ,... and repeat similar calculations noting that values of B1 through CJ4 are different than A1 through A4. I appreciate any suggestions.
=SUM(INDEX(A:A,A1+A2,1):INDEX(A:A,A3-A4))

Resources