Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is there a way that I can use OR and NOT statements in Countif statements?
I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Look at SUMPRODUCT:
=SUMPRODUCT(--(a5:a7<"Good Monitor"),--(b5:b7<"Good Keyboard,"),--(B5:b7<"So So Keyboard")) The -- coercises the TRUE/FALSE conditions to 1/0. HTH "Chart_Maker_Wonderer" wrote: Is there a way that I can use OR and NOT statements in Countif statements? I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Will that produce a result that if I put that in a spreadsheet and if there
are 5 rows that do not have any of the stuff I am putting into the formula it will return a value of 5? "Toppers" wrote: Look at SUMPRODUCT: =SUMPRODUCT(--(a5:a7<"Good Monitor"),--(b5:b7<"Good Keyboard,"),--(B5:b7<"So So Keyboard")) The -- coercises the TRUE/FALSE conditions to 1/0. HTH "Chart_Maker_Wonderer" wrote: Is there a way that I can use OR and NOT statements in Countif statements? I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If all entries are blank for "n" rows you will get "n" as an answer.
Why not try it? "Chart_Maker_Wonderer" wrote: Will that produce a result that if I put that in a spreadsheet and if there are 5 rows that do not have any of the stuff I am putting into the formula it will return a value of 5? "Toppers" wrote: Look at SUMPRODUCT: =SUMPRODUCT(--(a5:a7<"Good Monitor"),--(b5:b7<"Good Keyboard,"),--(B5:b7<"So So Keyboard")) The -- coercises the TRUE/FALSE conditions to 1/0. HTH "Chart_Maker_Wonderer" wrote: Is there a way that I can use OR and NOT statements in Countif statements? I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am currently trying it and it looks like it will only return the number of
times that the conditions are matched in the first column of calculations. "Toppers" wrote: If all entries are blank for "n" rows you will get "n" as an answer. Why not try it? "Chart_Maker_Wonderer" wrote: Will that produce a result that if I put that in a spreadsheet and if there are 5 rows that do not have any of the stuff I am putting into the formula it will return a value of 5? "Toppers" wrote: Look at SUMPRODUCT: =SUMPRODUCT(--(a5:a7<"Good Monitor"),--(b5:b7<"Good Keyboard,"),--(B5:b7<"So So Keyboard")) The -- coercises the TRUE/FALSE conditions to 1/0. HTH "Chart_Maker_Wonderer" wrote: Is there a way that I can use OR and NOT statements in Countif statements? I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() There was a typo im my formula .. an extraneous "," in the second parameter {"Good Keyboard,"} but if I have the following in A2:B7 A3="Good Monitor" B4="Good Keyboard" B6="So so keyboard" I get a result of 3 i.e. Rows 2,5 and 7 are blank Is this correct? "Chart_Maker_Wonderer" wrote: I am currently trying it and it looks like it will only return the number of times that the conditions are matched in the first column of calculations. "Toppers" wrote: If all entries are blank for "n" rows you will get "n" as an answer. Why not try it? "Chart_Maker_Wonderer" wrote: Will that produce a result that if I put that in a spreadsheet and if there are 5 rows that do not have any of the stuff I am putting into the formula it will return a value of 5? "Toppers" wrote: Look at SUMPRODUCT: =SUMPRODUCT(--(a5:a7<"Good Monitor"),--(b5:b7<"Good Keyboard"),--(B5:b7<"So So Keyboard")) The -- coercises the TRUE/FALSE conditions to 1/0. HTH "Chart_Maker_Wonderer" wrote: Is there a way that I can use OR and NOT statements in Countif statements? I am working on an inventory sheet where it will count how many stations do not working. To determine that the station is good I have some different text, and if the station is not working I have other text the person can type. What I would like to do is to have Countif(a5:a7<"Good Monitor",b5:b7<"Good Keyboard,B5:b7<"So So Keyboard") |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF with multiple conditions? | Excel Worksheet Functions | |||
COUNTIF with multiple conditions | Excel Discussion (Misc queries) | |||
COUNTIF Multiple Conditions | Excel Discussion (Misc queries) | |||
COUNTIF and multiple conditions | Excel Worksheet Functions | |||
COUNTIF - multiple conditions | Excel Worksheet Functions |