How do I reference one OR another worksheet?
On Wednesday, March 13, 2013 3:48:21 PM UTC-5, svongal wrote:
I have three worksheets at the bottom. 'Assumptions'- where info is filled out 'Results 1'- depending on the model, this results tab may be used 'Results 2'- depending on the model, this results tab may be used In the Assumptions tab, I want to reference cells in either the results 1 tab or results 2 tab depending on which model is being used. How do I use an IF or Vlookup or indirect function to do this? This is my formula: (which works great unless I delete 'results 1' in which case, I want it to look at the same cell in 'results 2') =(-1*0.26*($D$2*'results 1'!$C$3*$D$5*$D$53*(1-$D$4)))*0.5 -- svongal
svongal
try this:
=if(model = 1,(-1*0.26*($D$2*'results 1'!$C$3*$D$5*$D$53*(1-$D$4)))*0.5,(-1*0.26*($D$2*'results 2'!$C$3*$D$5*$D$53*(1-$D$4)))*0.5)
Glen
|