David Kemp
New Member
- Joined
- Sep 29, 2013
- Messages
- 20
- Office Version
- 365
- Platform
- Windows
Hi everyone,
I have a named range that refers to a formula. By default the formula always creates a worksheet reference and even if I remove it, when saving the formula, it always creates a worksheet reference.
Is it possible to get the formula in the named range to reference the active sheet, or create a formula in the named range without a worksheet reference?
Eg.
Named Range: Data_Grab
Refers to: =IF(Sheet1!$C109='P&L'!$D$9,IF(Sheet1!$A$1='P&L'!$D$13,VLOOKUP(Sheet1!C$3,'P&L'!$B$22:$D$91,3,0),0),0)
Obviously I could create a seperate named range formula for each worksheet, but with many sheets and VBA that plots this formula in, having no sheet reference would be ideal.
I have a named range that refers to a formula. By default the formula always creates a worksheet reference and even if I remove it, when saving the formula, it always creates a worksheet reference.
Is it possible to get the formula in the named range to reference the active sheet, or create a formula in the named range without a worksheet reference?
Eg.
Named Range: Data_Grab
Refers to: =IF(Sheet1!$C109='P&L'!$D$9,IF(Sheet1!$A$1='P&L'!$D$13,VLOOKUP(Sheet1!C$3,'P&L'!$B$22:$D$91,3,0),0),0)
Obviously I could create a seperate named range formula for each worksheet, but with many sheets and VBA that plots this formula in, having no sheet reference would be ideal.