Easy one..?

  • Thread starter Thread starter Gromit
  • Start date Start date
G

Gromit

Hmmm, I need a formula because I'm building an Indirect function.

Unfortunately neither of these formulas work for columns>26...

The one I came up with is hardly very elegant:

=MID(ADDRESS(ROW(),COLUMN()),2,FIND("$",ADDRESS(ROW(),COLUMN()),2)-2)

Maybe there's no easy solution after all?

Cheers

Gromi
 
Hi
as a suggestion: Don't use the A1 reference style but the R1C1 style in
INDIRECT then. Set the second (optional) parameter of INDIRECT to
FALSE.
 
Hmmm, I need a formula because I'm building an Indirect function.

Unfortunately neither of these formulas work for columns>26...

The one I came up with is hardly very elegant:

=MID(ADDRESS(ROW(),COLUMN()),2,FIND("$",ADDRESS(ROW(),COLUMN()),2)-2)

Maybe there's no easy solution after all?

Cheers

Gromit

Well, the ADDRESS function takes numbers as it's argument, so perhaps if you
post the formula you are trying to come up with, we can come up with a more
elegant solution.


--ron
 

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