I need to change column auto.
Fo example I need fill row a2 , a3,a4,...,zz with column value a1 , b1 , c1,...,zz.
In excel autofill rows.but I don't know about autofill column.
Is it possible with functions?
How can I do it?
You question is not so clear. If you want to obtain values from A1, B1, C1..... and so on then you can use INDIRECT() function like below.
=INDIRECT(CHAR(ROW()+63)&"1")
You can also use INDEX() function to obtain values from row.
=INDEX($A$1:$F$1,1,ROW(1:1))
And if you want to just display A1, B1, C1...... then use
=CHAR(ROW()+63)&1
Related
I have a column that contains text cells and date cells. Next to each cell of text, I need the nearest cell that is above that text and contains a date to be returned.
Example
You can use INDEX/MATCH:
=IFERROR(INDEX($A$1:A1,MATCH(1,$A$1:A1,-1))/(ISTEXT(A1)),"")
You have to use a column agent (English is my second language so please give me a better way to describe it if you know), let's say column C.
Put this formula to C1:
=A1
Put this formula to C2 and fill down:
=IF(ISERROR(DATE(DAY(A2),MONTH(A2),YEAR(A2))), C1, A2)
The above formula check if A2 is a date then copy it or fill it down by the cell above.
Copy the cells you want in column B (B2:B4,...) from column C. Hide column C if you want.
Try below formula.
=IF(ISTEXT(A1),AGGREGATE(15,6,$A$1:$A$10,COUNTIF($A$1:$A1,">1/1/1900")),"")
If there are numbers also in cells rather that names then you can use below formula
=IF(LEFT(CELL("format",A1),1)="D","",AGGREGATE(15,6,$A$1:$A$10,COUNTIF($A$1:$A1,">1/1/1900")))
You can also use the LOOKUP function:
B1: =IF(ISNUMBER(A1),"",LOOKUP(2,1/($A$1:A1),$A$1:A1))
and fill down.
I have the following structured table in excel where 1000s of rows included.
I want to return the Last Cell Value of Column B for Each value in Column A.
For example:
For Cell A1 -> I want to return the Cell B5.
For Cell A6 -> I want to return the Cell B9.
I have tried with VLOOKUP, HLOOKUP, INDEX likewise so many formulas where I ended with more conflict situations. Can anyone please write down a Formula to give my requirement a life?
Array formula (Press Control + Shift + Enter while entering the formula) in cell C1 and copy it down.
=IF(A1="","",IFERROR(INDEX($A2:$B$20,MATCH(FALSE,ISBLANK($A2:$A$20),0)-1,2),LOOKUP(2,1/(B2:$B$20),B2:$B$20)))
if you don't mind using column C as a helper column you could use something like that:
If you won't use Array formula you can Use this solution:
like this image:
use column C as helper with this formula in first cell =OFFSET(A1;SUMPRODUCT(MAX(($A$1:$A1<>"")*(ROW($A$1:$A1))))-ROW(A1);0)
and use this formula in column D's first cell =IF(A1="";"";INDEX($B$1:$B$13;SUMPRODUCT(MAX((ROW($A$1:$A$13))*($C$1:$C$13=A1)))))
and copy fill-down to all cells.
Try this shorter, without helper column and non-array formula solution
In C1, formula copied down :
=IF(A1="","",INDEX(B1:B$9,MATCH(1,FREQUENCY(1,0+(A2:A$9<>"")),0)))
I'm trying to connect to a scada system via DDE function.
First column contains tags of the points that I want to get their values and second column contains the formula.
The formulas I use is as follows: =Datahub|Datasim!AAA_PV1 , Datahub|Datasim!AAA_PV2, ...etc.
Where AAA_PV1, AAA_PV2 are the variables that will be changed located at A1, A2 cells.
So how could I concatinate the constant part of the formula (=Datahub|Datasim!) with the variable part (AAA_PV1) (AAA_PV2) ...etc
Thank u in advance
You can put 'Datahub|Datasim'! in a cell, for example D1, and then use the Indirect() function.
So assuming the values are to be put in B1, B2 etc. (corresponding to the values of A1, A2 etc.) Put this formula in B1:
=Indirect($D$1&A1)
I need to insert a value to a cell in excel using formula in another cell.
Say
A1 = "Test"
B1 = formula to insert A1 to C1
C1 = A1
Can I write a formula in B1 to insert value in C1?
I don't need any formulas in C1.
If Yes, What should be the formula?
If there it is next to the cell AND has no value in B2, it is possible, otherwise it is not.
Use Split()
Split(CONCATENATE("Text for B1#Sperator$$",A1),"#Sperator$$",FALSE)
It really depends.
EDIT
Out dated. Only works in google sheets.
Without using VBA or formulas in column C you can't achieve this.
A simple solution using formulas:
In cell C1, paste the following formula and drag it down:
=IF(B1=1;A1;"")
So if the content of cell B1 is equal to 1, your cell at column C will display the respective value of the same row at column A.
let's say in Cell A1 I have the value "A". In Cell B1 I have the value "2". Is there a way to make a reference to the Cell A2 with the value of these two cells?
I was thinking about something along the way of =A1&B1 , but it does not work.
The reason I want this is I want to generate a dynamic row number e.g. with the MATCH() function and use this row number (e.g. A&MATCH() ). Is there a way to do this?
I know how to do it with VBA, but is there a way to do it without VBA?
Thanks to all in advance.
Use the INDIRECT() Function:
=INDIRECT(A1 & B1)
If The column remains A then you could:
=INDEX(A:A,B1)