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:
Related
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.
I have the following in one column, it keeps going down with random letters but always end with 1.
a1
a1
b1
b1
b1
b1
b1
c1
c1
c1
how can i make it fill series but start again from one when ever a new letter.
It should look like this:
a1
a2
b1
b2
b3
b4
b5
c1
c2
c3
You can genereate a new series in the column beside it. Lets assume your data starts in A1. In put 1 in B1 and in B2 place the following:
=IF(left(A1,len(A1)-1)=left(A2,len(A2)-1),B1+1,1)
Copy B2 down.
When you are done, you can copy your information from column B and paste is a values if you do not want the numbers changing again.
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.
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
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))