1. ## Nested address inside offset

I am currently building a spreadsheet with integration into other workbooks.

One of the issues that I have this. The source information I have in the outside workbook does not include information for Saturday's and Sunday's - It is information that simply does not (and never will exist in the source info), however the workbook that I am creating will have these 2 days and Month end and Year end can fall on those days and I need to include it.

When I first built this spreadsheet, I did an error check that when the formula returns an error, just look at the above cell (because there won't be a change) and give me that result.

In the end, I did stick with that, but I wanted to teach myself how to use the OFFSET and ADDRESS functions. Individually, I have gotten these formulae to work properly, but putting them together is giving me a problem. Now for this spreadsheet, it is not crucial, however, I would like to understand what I am doing wrong, as I think understanding this could but very useful in future spreadsheets.

I tried to attaching a spreadsheet, but I could not for some reason. Ultimately the formula I am using are these:

OFFSET =OFFSET(F22,-2,0,1,1) – no issues at all – goes to 2 cells above F22

NESTED ADDRESS INSIDE OFFSET =OFFSET((ADDRESS(ROW(),COLUMN(),4)),-2,0,1,1) – just bings at me and I have to hit escape to go back.

2. ## Re: Nested address inside offset

Almost there

Offset requires a Range
Address creates a String, not a Range
Indirect converts a String to a Range

Offset and Indirect are both volatile functions (see link for an explaination of why they can be bad). http://www.decisionmodels.com/calcsecretsi.htm

3. ## Re: Nested address inside offset

To avoid ADDRESS you can use the INDEX function which returns a cell ref

4. ## Re: Nested address inside offset

Perfect, thanks - worked well

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1