I have a list of 5 columns (A-E) and multiple rows (2-89), and need to derive select rows (e.g. 1, 4, 6, 8, 10, 11, 14, 21) from the list with only two of the columns I am interested in (e.g. col A and C).
I have picked out all the values of column A (since my data set is irregular, and i can't figure out a way to automate this), is there a way to copy just the row value, but change the column value to "C" in the other cell?
I have:
A1
A4
A6
A8
A10
A11
A14
A21
So I want effectively:
A1 C1
A4 C4
A6 C6
A8 C8
A10 C10
A11 C10
A14 C14
A21 C21
Thanks in advance, and sorry if this question is really trivial! I can't seem to find the right answers googling.
You can use this :
=SUBSTITUTE(A1;"A";"C")
Related
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.)
I want to change cell value according to my sum means if i give total 2000 in "A5" than value change automatic in cell range A1 to A4.
It's confusing to answer your question without knowing more.
Assuming you are working in Excel, if you have the following numbers
A1 A2 A3 A4 A5
5 6 7 8 1000
you can set the following formula for A1, A2, etc.
=IF($A$5=2000,*value that you want cells to read, "")
Essentially if the condition on cell A5 is met, in this case reaching 2000, you will change the value of cell A1 - A4 to a specified amount. If it doesn't reach 2000, you will keep the original value.
You could have formulas in A1 to A4 as percentages of A5,
for example,
A1: =0.1*A5
A2: =0.2*A5
A3: =0.3*A5
A4: =0.4*A5
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:
I have a column:
a1
a10
a11
a12
a13
a14
a15
a16
a17
a18
a19
a2
a20
a21
a22
a23
a24
a25
a26
a27
a28
a29
a3
a30
a31
a4
a5
a6
a7
a8
a9
But I need to sort it like this:
a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13....
Does anyone know how to do it?
Assuming your data is in column A, put this formula in column B (or wherever is handy) and sort by it:
=LEFT(A1,1) & TEXT(SUBSTITUTE(A1,LEFT(A1,1),""),"00")
This assumes that you have one character in each cell in column A, followed by a number.
I'm not aware of an option that allows you to sort the way you like - however, you could help yourself with a a helper column that extracts the number - and then sort both columns by this column (and delete the helper column afterwards if you wish.
Assuming your text would always be a, you could extract the number with this formula: =VALUE(RIGHT(A1,LEN(A1)-1)).
In case you have different strings, use this formula:
=1*MID(A2,MATCH(TRUE,ISNUMBER(1*MID(A2,ROW($1:$9),1)),0),COUNT(1*MID(A2,ROW($1:$9),1)))
You need to enter it as an array formula, i.e. instead of pressing Enter, press Ctrl-Shift-Enter.
Credits for the latter formula go here.
Copy your column somewhere with a spare column to its immediate right, split that added column Fixed width at the first character with Text to Columns and use the numbers-only column for sorting.
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))