2
A---------------------------B
2012-04-12 12:52...... FC
2011-06-24 10:07...... FC
2011-06-24 10:08...... FC
2012-04-17 0:00 ...... COH
2012-04-12 12:22 ...... FC
2011-06-24 10:08......COH
2011-09-06 14:10......COH
2011-09-01 0:00 ...... COH
Goal: To count the amount of "COH" in field B, within a certian timeframe. This example I'd like to try for June 1 2011 - June 30 2011
=COUNTIF(A1:A6, ("<2011-06-30" & ">2011-06-01") & IF(B(At current number) "=COH",1,0)
My problem is trying to get that (At current number), because I want to check the value of D at the current selection.
Ex. When the COUNTIF runs, I want it to execute like this
- Date is not in range //////////////// Count = 0
- Date is in range, B != COH ///// Count = 0
- Date is in range, B != COH ///// Count = 0
- Date is not in range //////////////// Count = 0
- Date is not in range //////////////// Count = 0
- Date is in range, B = COH ////// Count = 1
- Date is not in range //////////////// Count = 1
- Date is not in range //////////////// Count = 1
Non-programming q is offtopic. Should be asked at Super User – brettdj – 2012-05-27T05:31:44.417
It seems a bit like the jury is out on whether or not this doesn't count as programming: http://meta.stackexchange.com/questions/22922/which-site-do-excel-or-other-spreadsheet-formulas-belong-on
– None – 2012-05-28T01:17:29.133