the function COUNTIF() in MS Excel?

In MS Excel, the function COUNTIF() works on range of data, ie data has to be contiguous. Is there any similar function that works on non-contiguous data?

CaliforniaDad2007-07-18T07:55:03Z

Favorite Answer

You can simply add multiple COUNTIFs together for each non-contiguous range. ie: countif(a1..c12,"cond") + countif(d4..f16,"cond") + ...

Hope this helps

Anonymous2007-07-18T14:49:42Z

You have to be sorting on something within this excel file in order for a count of something. If you are you could try using Sub-Totals. You can count anything as long as the field is not blank.