Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi al, Is it possible to write a formula like the one below? of course the one below doesnt work, but i need the formula to count the value in the cell (in this example its E2) but only if the date lies between certain dates in column A, so it would count in multiples of eight each instance of a text found between the first 2 dates and in multiples of 12 in the 2nd two dates etc. =COUNTIF(Hols,E2 OFFSET(0,5) =1/1/06 or <=17/4/06)*8+COUNTIF(Hols,E2 OFFSET(0,5) =18/4/06 or <=8/10/06)*12+COUNTIF(Hols,E2 OFFSET(0,5) =9/10/06 or <=31/12/06)*8+F2 Anyone know how? Hope you can help Simon -- Simon Lloyd ------------------------------------------------------------------------ Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708 View this thread: http://www.excelforum.com/showthread...hreadid=499674 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
COUNTIF - more than one condition | Excel Worksheet Functions | |||
Offset/Countif question | Excel Discussion (Misc queries) | |||
Countif from an offset column | Excel Worksheet Functions | |||
Offset, Dynamic range, Countif | Excel Discussion (Misc queries) | |||
vba help pls - find min based on a condition and return val of an offset cell | Excel Programming |