Share via

Why am I getting #REF! error when using OFFSET?

Anonymous
2011-06-14T20:30:47+00:00

Hi,

I'm learning about OFFSET. 

So I have ABCDEFG in A1:A7. 

This formula in B7 =OFFSET($A$1,,,COUNT($A$1:$A$7))

F9

Always returns #REF!

What am I doing wrong?

TIA,

PS

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2011-06-14T20:57:56+00:00

What are you expecting to get with the formula?  COUNT($A$1:$A$7) with alpha characters in them will return 0.  COUNTA() will give you a 7 as it will count the text entries.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2011-06-14T21:55:38+00:00

    Of course! My data is 'text' and therefore needs counta. Only ever used it to return numbers and dates before.

    Thanks Sir.

    Was this answer helpful?

    0 comments No comments