ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If then CountIf (https://www.excelbanter.com/excel-worksheet-functions/168707-if-then-countif.html)

Enigo

If then CountIf
 
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?

Bob Phillips

If then CountIf
 
IF what? You have only specified a range, not a condition.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Enigo" wrote in message
...
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?




Teethless mama

If then CountIf
 
=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?


Enigo

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?



All times are GMT +1. The time now is 04:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com