date criteria

  1. T

    if function - logical test = date range ?

    I would like a certain value to appear if the date in a particular column falls within a time period. What would a formula for that look like? - Ted
  2. B

    Advanced Filter with Date Criterion Range

    I"m trying to create a criteria range for an Excel advanced filter that uses a date combined with an > = operator. is there a way to use a >= operator in front of the formula that derives the date?
  3. A

    UDF. If "not a date" set output to "0"

    Hi guys, Just a small one I can't get right. Public Function OtHours(Workday As Date, Hours As Single) Dim DayNumber As Integer DayNumber = Weekday(Workday, vbSunday) If Hours = 0 Then OtHours = 0 If Workday = 0 Then OtHours = 0 If DayNumber = 1 Then OtHours = Hours * 2 Else...
  4. A

    Sumif on match AND date criteria?

    I need to sum values in a column if both serial numbers match AND if the match's date is less than 5 days ago. I can do both individually: =SUMIF('All2'!$AH$3:$AH$1000,F4,'All2'!$AI$3:$AI$1000) =SUMIF('All2'!$AJ$3:$AJ$1095,"<="&NOW()-5,'All2'!$AI$3:$AI$1095) But I can't for the life of me...
  5. B

    Countif with Date Criteria

    Is there a way to count cells if the date populated is equal to or less than a defined date? if so, can somone provide the syntax? Thanks! blue rhino

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...