I have a sheet with 60k+ lines of date for orders and I am wanting to pull the number of orders with a given date range based on a class of order. For this one I will just use all web orders as what I am looking at. There are several columns of date but the relevant ones are
Col B - date the order was placed
Col C - order #
Col F - Class of order (web)
I am currently using a sumif (see below) to track total dollars within the date ranges on a separate sheet, where I have the dates listed in Col R and the dollars in Col S. the data this formula is on is named 'Sales Date'.
=SUMIFS('Sales Data'!$I:$I,'Sales Data'!$F:$F,"*"&"web"&"*",'Sales Data'!$B:$B,">"&R7,'Sales Data'!$B:$B,"<="&R8)
The problem I run into is on the main data page there is a line for every item ordered, so if someone has 5 items in their web order it shows up 5 times but I would want it to only be counted once.
Any help would be appreciated.
Andrew
Col B - date the order was placed
Col C - order #
Col F - Class of order (web)
I am currently using a sumif (see below) to track total dollars within the date ranges on a separate sheet, where I have the dates listed in Col R and the dollars in Col S. the data this formula is on is named 'Sales Date'.
=SUMIFS('Sales Data'!$I:$I,'Sales Data'!$F:$F,"*"&"web"&"*",'Sales Data'!$B:$B,">"&R7,'Sales Data'!$B:$B,"<="&R8)
The problem I run into is on the main data page there is a line for every item ordered, so if someone has 5 items in their web order it shows up 5 times but I would want it to only be counted once.
Any help would be appreciated.
Andrew