Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Can I do this without an array formula

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","")}
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default Can I do this without an array formula

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","")}



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 740
Default Can I do this without an array formula

maybe can be..
=IF(LOOKUP(DATE($AM$10,Brad!$AM11,Brad!B$10),Holid ays!$F$5:$F$12)=DATE($AM$10,Brad!$AM11,Brad!B$10), "H","")
not entered as array formula...
--
*****
birds of the same feather flock together..



"Brad" wrote:

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","")}

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default Can I do this without an array formula

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","")}




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use of Offset function in array formula scabHead Excel Worksheet Functions 4 December 23rd 06 01:16 AM
Array formula returning wrong results TUNGANA KURMA RAJU Excel Discussion (Misc queries) 1 November 19th 05 10:29 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 01:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"