jwgreen1986
Board Regular
- Joined
- Mar 8, 2019
- Messages
- 64
Wondering if someone could look at the formula and help me. You can pretty much ignore everything up until where i am trying to get it to count the values between 2 dates. i know the formula works before i put the data range criteria in.
Basically i had it working up until where Sales!R:R,"New. i now want to change the formula so it adds up the totals when the delivery date (Sales!H:H) is more than or equal 01/01/2019 but less than 01/02/2019. i have also tried manually putting the dates into a field and referencing the formula to these fields to no avail.
=IF(OR(B4=""),"",IF(OR(B4="New",B4="Combined"), COUNTIFS(Sales!Q:Q,"YES",Sales!S:S,A4,Sales!R:R,"New",Sales!H:H,">=01/01/2019",Sales!H:H,"<01/02/2019")))
Basically i had it working up until where Sales!R:R,"New. i now want to change the formula so it adds up the totals when the delivery date (Sales!H:H) is more than or equal 01/01/2019 but less than 01/02/2019. i have also tried manually putting the dates into a field and referencing the formula to these fields to no avail.
=IF(OR(B4=""),"",IF(OR(B4="New",B4="Combined"), COUNTIFS(Sales!Q:Q,"YES",Sales!S:S,A4,Sales!R:R,"New",Sales!H:H,">=01/01/2019",Sales!H:H,"<01/02/2019")))