View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Sandy Mann Sandy Mann is offline
external usenet poster
 
Posts: 2,345
Default Can I do this without an array formula

"daddylonglegs" wrote in message
...
Don't think you need all that, Sandy


Very true! Good thinking. That's one of the things that I like about being
in these NG's, it helps you get out of the *straightjacket* thinking.

--
Regards,

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"daddylonglegs" wrote in message
...
Don't think you need all that, Sandy. Why not just

=IF(ISNA(MATCH(DATE($AM$10,Brad!$AM11,Brad!B$10),H olidays!$F$5:$F$12,0)),"","H")

"Sandy Mann" wrote:

Try the non array formula:

=IF(ISNA(MATCH(DATE($AM$10,Brad!$AM11,Brad!B$10),H olidays!$F$5:$F$12),0)),"",IF(MATCH(DATE($AM$10,Br ad!$AM11,Brad!B$10),Holidays!$F$5:$F$12),0),"H","" ))

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


with @tiscali.co.uk


"Brad" wrote in message
...
What I want to do is to mark a calendar with holiday's (by using an
"H")
the
below equation works - is there a better way to do this?

I have the months starting in row 11 thru row 22 and the days of the
month
starting in column b thru af. This array formula is in every cell of
the
year as defined above.

{=IF(OR(DATE($AM$10,Brad!$AM11,Brad!B$10)=Holidays !$F$5:$F$12),"H","")}