Problem with autofill incrementing characters when copying

  • Thread starter Thread starter Leonid Nikolayev
  • Start date Start date
L

Leonid Nikolayev

We are trying to copy(drag it horizontally) the following formula so
that underlined characters ("C") progress in the alphabetical order.
=SUM(INDIRECT("C"& A1)):INDIRECT("C"& A5)))
/\ /\
|| ||
We would like the cell in the next position to the right to have "D"s
in it.
=SUM(INDIRECT("D"& 1)):INDIRECT("D"& 1)))

Is there any way to force Excel increment characters inside of
INDIRECT function in alphbetical order?

Thanks a lot!
 
Leonid,

Since the "C" is in quotes, it's text, not a cell reference. Thus, it
doesn't get adjusted when copying. How about this:

=SUM(OFFSET(C1, A1-1, 0, A5-A1+1, 0))
 
add a helper row and autofill with alpha chars in the
appropriate columns. Ref the helper cell containing
the "A" rather than saying "A" in the expression.

hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top