can worksheets relative referenc

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Can worksheets be relative when referenced in formulas?

Can worksheets be relative when referenced in formulas?

resolvedResolved · High Priority · Version 2010

Hugh has attended:
Excel Advanced course

Can worksheets be relative when referenced in formulas?

Hello,

Is it possible for a formula to use a value in the previous worksheet, regardless of what that worksheet is? For example, if I have a spreadsheet where the formula in 'Feb' uses a value in 'Jan', and the formula in 'March' uses a value in 'Feb' etc., then if I move 'Jan' to just before 'March', the formula in 'March' then uses the value from 'Jan' instead of 'Feb'.

Hope that makes sense. Thanks!

RE: Can worksheets be relative when referenced in formulas?

Hello Hugh,

Thank you for your question. Without VBA, it is not possible to refer to a sheet relatively.

I can suggest using a drop-down and the Indirect function. In the current sheet, create a drop-down of your sheet names. Then create a formula which uses the Indirect function to dynamically refer to your selected sheet.

Here is a sample formula: =SUM(INDIRECT(A1&"!A1:A10"))

This formula adds cells A1 to A10 in your selected sheet. In the formula, the first A1 cell is in the current sheet and contains the drop-down. That which follows is the reference to the cells in the sheet name showing in A1.

To add the values in a different sheet, simply change the drop-down item.

I hope this helps.

Kind regards
Marius Barnard
STL

RE: Can worksheets be relative when referenced in formulas?

Thanks Marius - very helpful.

 

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:

Auto-insert the current time

In Microsoft Excel, to enter the current time into a cell, hold CTRL+SHIFT and press SEMICOLON.

View all Excel hints and tips


Server loaded in 0.08 secs.