offset function and formulas

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Offset function and formulas

Offset function and formulas

resolvedResolved · Low Priority · Version 2007

Elizabeth has attended:
Excel Advanced course
Excel Intermediate course

Offset function and formulas

Can I be cheeky and ask 2 questions?

Firstly I hear you have a useful example on how the offset function works, could you send it to me?

Secondly is there a way to display the formula you are using in a cell? I know that you can see it when selected but if you move around a sheet how can you still see it?

Thanks

Liz

RE: Offset function and formulas

Hi Elizabeth

Thanks for your question

First I have created a workbook that uses the offset function to create a dynamic named range. In this example we have a column of names, and a dynamic named range that will grow or shrink as we add or delete names from the list this is then used to populate a drop down list that will always include items in the list.
If you click on the name manager you will see the formula which is

=OFFSET(Sheet1!$B$1,0,0,COUNTA(Sheet1!$B:$B),1)

Regarding displaying formulas in cells, simply click on the office button, select excel options and go to advanced. scroll down until you get to the display options for worksheet and select "Show formulas in cells instead of calculated results".

Hope this is useful

Stephen


Attached files...

Dynamic Ranges.xls

Wed 28 Apr 2010: Automatically marked as resolved.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Stop Formula Returning A "#DIV/0" Error

If a formula returns a #DIV/0 error message there is a way to avoid such results.

For example the formula =A1/B1 will return a #DIV/0 if B1 is empty or a zero.

If you protect your formulas with the ISERROR function, the formula will then look like this:

=IF(ISERROR(A1/B1),0,A1/B1)

In plain English: should the result of A1 divided by B1 be an error change the result to 0 else show the result of A1/B1.

View all Excel hints and tips


Server loaded in 0.08 secs.