jwgreen1986
Board Regular
- Joined
- Mar 8, 2019
- Messages
- 64
Hi, i am trying to produce a spreadsheet that allows me to view how many items someone has sold per month. i am using the below formula but it doesnt seem to be working. if i take the date ranges out then if works but it gives the overall sales the person has had. i basically just want to add the date ranges so i can then show how many they have sold in january.
Sales!H:H is the range in which the sales date information is kept.
=IF(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,"<=31/01/2019")))
Sales!H:H is the range in which the sales date information is kept.
=IF(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,"<=31/01/2019")))