Defined Names in Workbook

B

Beaniecounter

Rather than referencing a range for a given Name, I have typed in a formula,
which typically works. However, I have noted that when using a formula that
includes other named ranges, I get the #VALUE error. Is there a way around
this, or is it simply a weakness in Excel?
 
B

Beaniecounter

Yes, I'm new to this so I apologize. I have a named range called CurrMo,
which references Row 1 of the worksheet, each successive cell containing
dates as follows: 1/1/07, 2/1/07, and so on. In addition to using the CurrMo
reference in a large formula I have created, I also need to make reference to
the month following the current month (CurrMo). In order to do so, I defined
a Name in the workbook using a formula rather than a range, calling it
NextMo. The formula is as follows:

=Date(Year(CurrMo),Month(CurrMo)+1,1)

Typically, using a formula to define a Name works fine. But in this
instance, and in others, when I use another named range rather than actual
cell references, the #VALUE error is returned.
 

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