Re: Nesting Address function in Offset without Quotes???
- From: "David Biddulph" <groups [at] biddulph.org.uk>
- Date: Thu, 31 Jan 2008 22:24:37 -0000
The INDIRECT function will convert your text string "A1" into a cell
reference.
I can't see, however, why you are using ADDRESS and then trying to feed that
into an OFFSET formula.
If you have ADDRESS(row_add,column_add) and then trying to do
OFFSET(INDIRECT(ADDRESS,row_add,column_add),row_offset,column_offset), then
I can't see why you don't just use
OFFSET(A1,row_add+row_offset-1,column_add+col_offset-1)
--
David Biddulph
"Aaron" <Aaron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F0DF5E5E-2050-498C-8629-2389200754B9@xxxxxxxxxxxxxxxx
Hi Niek, thanks for writing back. The first arguement of an offset
function
is a cell reference. I am trying to fill that arguement with the Address
function (because my cell reference is not always the same, I need a
function
to describe it). Address does the trick except that the offset function
thinks of the result of the address functiona as "A1" (literally with the
quotes). But for offset to work properly and recognize the cell it has to
be
A1 (no quotes). =offset(A1,...... not =offset("A1",....
If you want to see for yourself, nest Address in the first arguement of
offset then highlight the nested address function in the formula bar and
hit
F9, you will see what I'm saying. Any help is appreciated!
"Niek Otten" wrote:
What are you trying to achieve?
What formula did you try (with what input values)?
What result did you expect and what did you get instead?
--
Kind regards,
Niek Otten
Microsoft MVP - Excel
"Aaron" <Aaron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:50BAF6AA-D09B-4BA0-A85D-3EBD633F7E67@xxxxxxxxxxxxxxxx
| Actually, I can't use mid, since that also returns text I still get
quotes.
| I'm really stuck, how do I nest the result without the quotes???
Please help!
|
| "Aaron" wrote:
|
| > For the reference syntax of my offset formula I am using the Address
| > function. What I need is A1 but of course the Addres function
returns "A1"
| > which means nothing to the offset function. how do I get the address
formula
| > to just return A1? I suppose I could use MID, but is that the only
way?
.
- Follow-Ups:
- Re: Nesting Address function in Offset without Quotes???
- From: Harlan Grove
- Re: Nesting Address function in Offset without Quotes???
- From: Aaron
- Re: Nesting Address function in Offset without Quotes???
- Next by Date: Re: searching for just the month
- Next by thread: Re: Nesting Address function in Offset without Quotes???
- Index(es):
Relevant Pages
|