Was using this formula SheetName!CellAddress
I need to import Data that is available on other 2 sheets namely (sheet2 and sheet3) into sheet 1 in a way such that
the row values will be alternate i.e one value from sheet 2 and other value from sheet 3 respectively
Have tried like this
=Sheet2!C2
=Sheet3!D2
when i dragged for other values i was get only values in the even cell like(c4,d4,c6,d6)
If i change the for formula to
=Sheet2!C1
=Sheet3!D1
i was get only values in the even cell like(c3,d3,c5,d5)
But what i need is continous cells in row( c1,d1,c2,d2,c3,d3…)
So what formula i need to use for getting this result
I am still not 100% clear on what the question is asking, so let me know if the below answer doesn’t work for you.
It sounds like what you’re looking for can be accomplished with
OFFSETand clever use ofIFstatement.Suppose your formulas will be in column
A, starting inA2. Then enter the following formula intoA2(line split added for readability; remove it):Then drag the formula down.
What it does:
MOD(COUNTA(A$1:A1),2)=0– checks whether we’re in odd row or even row.COUNTA(A$1:A1)/ 2– takes half of the number of non-empty cells immediately above the current cell.OFFSET(Sheet2!$C$1, COUNTA(A$1:A1) / 2, 0)– takes the cell which isCOUNTA(A$1:A1)/ 2cells belowSheet2!$C$1.