Excel formula with diagonal - excel

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

Related

Is there a way I can obtain differences in a list of numbers in a column with Excel?

I have a list of numbers(about 199 in all) in a column. I want to calculate absolute values of the differences between first numbers from top and bottom, second numbers from top and bottom , third numbers from top and bottom until I get to the middle. These will be written in another column next to the existing column. I need the most efficient way to do this. Please kindly help me with possible way to do this in excel.
With Excel 365 and data in A1 throught A8, in C1 enter:
=INDEX(A1:A8,SEQUENCE(4))-INDEX(A1:A8,9-SEQUENCE(4))
With any even number of values in column A, consider:
=LET(x,A1:A8, n,COUNT(x), hlf,SEQUENCE(n/2), INDEX(x,hlf)-INDEX(x,n+1-hlf))
The values in C1 through C4 are equivalent to :
A1 - A8
A2 - A7
A3 - A6
A4 - A5
EDIT#1:
To "reflect" the top rows into C5 through C8, in C5 enter:
=INDEX(C1:C4,SEQUENCE(4,,4,-1))
(You may need to wrap the C1 formula in ABS() to avoid negative values.)

How to convert particular columns into rows?

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.

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:

copying the data from formulated column in Excell?

Hi I have three columns in MS Excell. The columns are A1,B1,C1. C1 is calculated automatically based on formula. The formula defined for C1 is(=A1+B1). I mean C1 is the sum of A1 and B1. Now the problem is I wanted to copy the value of C1 to A1 and want to make the B1 column filled with 0.
The moment i try to copy C1 and paste it into A1 the A1 is displaying as "#href" something like this. so how do i copy the value of C1(without Formula) and then paste it to A1?
When you copy from C1 in A1 Excel is trying to insert in A1 the same formula contained in C1 with your relative addresses adapted to the new position, so the new formula in A1 should sum the two cells at the left of A1, but there are not cells at the left of A1, so the #href error is telling you that.
To do what you want you should paste it like "value". You find that option in the Paste command

Resources