Countifs order no. which has more than 1 item in basket

liam :

I have a set of order data where I'm looking to understand whether an order took advantage of an onsite offer.

Here is an example of the data:

https://docs.google.com/spreadsheets/d/1zx8HMuSYzGKvJYD7PclsN_KXHN0RmYoG7spRkxqai_U/edit?usp=sharing

So the offer has a min item purchase of 2. I want to count the unique orders which have >1 offer items in their order.

Because each item is on a new line I'm struggling to check whether the order has more than 1 offer item.

I need it to be in a singular formula if possible. I tried a few examples like:

countunique(iferror(filter(salesData!$C$2:$C,aata!$D$2:$D="Yes")))

However, no version I have tried can I work out how to check the condition noted above.

player0 :

try:

=COUNTUNIQUE(IFNA(FILTER(data!C2:C, COUNTIFS(
 data!C2:C&data!D2:D, data!C2:C&data!D2:D, 
 data!D2:D, "yes", 
 ROW(data!C2:C), "<="&ROW(data!C2:C))>1)))

0

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=397669&siteId=1