That one was a bit unusual in that you had to add the NOT to get the result.

Signature
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
> Thanks Bob, that did the trick.
>
[quoted text clipped - 37 lines]
> >>
> >> Seamus
OR ... how about simply using:
=IF(AND($A2<>"",MONTH($A2)=C$1),$B2,"0")
?
Regards,
RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------
That one was a bit unusual in that you had to add the NOT to get the result.

Signature
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
> Thanks Bob, that did the trick.
>
[quoted text clipped - 14 lines]
> >>
> >> If the month in the date in column A matches the month number in the
top
> >> row I want to put the value from column B under the matching month
> >> column otherwise I want to insert a zero. So, in the above example, 100
[quoted text clipped - 6 lines]
> > inserted
> >> in column C, i.e it seems like the MONTH function returns a 1 if the
date
> >> is blank. So, I figured that I needed a formula like
> >>
[quoted text clipped - 9 lines]
> >>
> >> Seamus