Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
The caveat with your formula is that it works with logicals only.
Any text in the referenced columns will cause an error. However, that may *not* be a problem, depending on the OP's data. Just an FYI for the OP. -- Regards, RD ----------------------------------------------------------------------------------------------- Please keep all correspondence within the Group, so all may benefit ! ----------------------------------------------------------------------------------------------- "Stephen" <none wrote in message ... "PSmith" wrote in message ... Hi; I am attempting to adapt an existing formula [=COUNTIF(AO$2:AO$2093,TRUE)]so that it further differentiates between those that are also "TRUE" in another range (AD2:AD2093), versus those who are "FALSE". Any suggestions would be greatly appreciated, Peter SUMPRODUCT is a more versatile function than SUMIF or COUNTIF. The equivalent for your COUNTIF formula is: =SUMPRODUCT(--(AO$2:AO$2093)) Then to add in a second condition is simple: =SUMPRODUCT(--(AO$2:AO$2093),--(AD2:AD2093)) You can easily add further conditions if required in the future. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Check if cells contain the word "Thailand", return "TRUE" | Excel Worksheet Functions | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Typing "true" excel 2007 change it to "TRUE" | Excel Discussion (Misc queries) | |||
conditions and count occurrences of "not blank" | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |