Worksheet reference behaving funny

D

Dennis

I am trying to perform a simulation in Excel using two different
scenarios each stored in a separate worksheet in the same workbook.

To combine the scenarios which have a certain probability of occurrence
I use a third worksheet as follows.

RN: Either 0 (0.25) or 1 (0.75)

A: = IF(RN = 0,ScenarioA!Cell,0)

B: = IF(RN = 1,ScenarioB!Cell,0)

SUM: = SUM(A,B)

For some reason beyond my understanding Excel doesn't recognize the
cell reference in cell B, it calls me to update values manually each
time through a dialogue box and when I don't the cell displays #REF!
error. Cell A works fine.

I think this might have something to do with range names since the
referenced worksheets share common range names (I tried different
workbooks and the same thing happened) but I can't see how.
 
D

Dennis

I've tried everything and came to understand that Excel (2003) is not
willing to accept a second worksheet reference in the same worksheet.

Am I doing sth wrong? :S

Thanks!
 
D

Dennis

I reduced the name of the referenced worksheets to a single character
and to my amazement Excel recognised the reference.

If I only knew why... :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top