Thread: If then CountIf
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Enigo Enigo is offline
external usenet poster
 
Posts: 4
Default If then CountIf

Thanks that worked perfectly

"Teethless mama" wrote:

=SUMPRODUCT(--('SSC OTCsuresh'!E2:E1272="YSM-France-Order-Committal"),--('SSC
OTCsuresh'!D2:D1272<1))


"Enigo" wrote:

Hi,

I am having a little bit of trouble trying to get the following formula to
work:

=IF('SSC OTCsuresh'!E2:E1272,"YSM-France-Order-Committal",COUNTIF('SSC
OTCsuresh'!D2:D1272,"<1"))

I get a #VALUE! error message when I try this formula.

Can anyone help?