Q: 18
Which function would you use to reference the last row in a table in Excel?
Options
Discussion
Its A, INDEX works too since you can use INDEX(table, ROWS(table), col) to grab the last row. I always thought of INDEX for direct referencing, but maybe I'm mixing things up a bit.
C or D? I was thinking C because VLOOKUP can pull data from a table, but maybe D if it’s about counting rows specifically.
Had something like this in a mock, pretty sure it's A.
C/D? INDEX can fetch a value if you give it the right row, but ROWS returns the actual count so you know the last row number. I think D is what they're testing here, not C.
It’s D here. ROWS returns the total number of rows, so you can use that to reference the last row in combo with other functions. INDEX is usually how you grab something from the row, but ROWS actually gives the number you need. Pretty sure that’s what they’re after unless there’s some weird Excel setting I’m missing.
Be respectful. No spam.