Hi,
Can anyone explain this formula in layman language please.
=INDEX($F$1:$F$10000,3+(45*(ROW()-4)),1)
What it does is, it goes down every 45 rows down in an array $F$1:$F$10000 and returns the content of the cell.
I, can't, for heaven's blessings, understand how it works, but it does beautifully. So if anyone can kindly explain the formula step by step, I would be extremely grateful.
Thank You in advance for the answer/s.
Best regards,
Subash SD
Hello,
This formula works between rows 4 and 227.
If you highligt certain part of the formula, for example (ROW()-4) and then press F9 you will see the result of that part of the formula. CTRL+Z to revert back to the formula text.
=INDEX($F$1:$F$10000,3+(45*(ROW()-4)),1)
If you have this formula in a cell on row 4, for example A4, you will get the content from cell F3.
This is because of the 3 in the formula, as (ROW()-4) results to 0 and 45 * 0 = 0 and 3 + 0 = 3.
In row 5 you will get the content from F48, as (ROW()-4) results to 1 and 45 * 1 = 45 and 3 + 45 = 48.
If you want to get the content from every 15th row you just change 45 to 15.
Br,
Anders
Hi Andres,
Thanks for your reply. But I am still lost as to how does each function work.....Sorry, am a bit lame that is why wanted layman language explanation of the steps.
Thanks in advance please.
Best Regards,
Subash
Hi Subash,
I think Anders did a great job of explaining what the formula does. But maybe you don't know that INDEX returns a value of reference to a cell or range of cells. Please watch this video for an understanding of what INDEX does.
The ROW function is in the INDEX function's row_num argument. ROW() returns the row number of the current row. It returns the current row occupied by the formula. It returns the current row because there is no reference in the ROW function's argument i.e. the parentheses are empty.
The last argument for INDEX is 1, which instructs Excel to return data from the first column in INDEX's array argument, but since there is only one column being referenced, i.e. column F, this argument could have been omitted.
The rest is just basic math.
Mynda
Thank You Mynda
Thank You Anders