I think I may have figured it out. What format can I use in the 2nd sheet
that has the links, that will leave the cell blank other than the link?The
dashes are there because of the format I have it set on for the link. So,If
I could just get a blank cell with the link it would do what I want it todo.
I think you need to understand that there is a difference between a
cell that __appears__ to be blank because of some format trick v. a
cell whose __value__ is truly blank (the null string "") or empty.
If you want to use the simple formula AVERAGE(B38:M38), the __value__,
not just the appearance, of the cells that should be excluded from the
average must be empty or some text, which could be the null string
("") to appear blank, or it could be an explicit dash if you prefer.
(In the latter case, you might want to set the Horizontal Alignment to
be Right so that the dash aligns with the rightmost digits of
numbers.)
But this must be accomplished by using a formula or constant, not a
format. For example, if B37:M37 contains the dates 1/1/2008, 1/2/2008
etc, which you can format to show just the month or month and year if
you like, then B38 might have the formula:
=if(month(B37) < month(today()), 'Monthly Sales Chart'!C30, "-")
Alternatively, the text (null string or dash) could be in 'Monthly
Sales Chart'!C30 -- again, as a constant or formula, not a format
trick. In that case, the simple AVERAGE() function should work with
your original referring formula in B38, namely:
='Monthly Sales Chart'!C30
Does this help?
PS: Instead of using TODAY() in those formulas, it would be prudent
to put the date of the worksheet in some cell and refer to it. And
instead of using TODAY() explicitly even there, you can use a
keystroke operation to insert the current date into the cell as a
constant when you are ready to update the worksheet.
----- original posting -----