average or sumproduct?

excelnewbie26

New Member
Joined
Oct 25, 2023
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hello!

Hope someone can help me with my remaining problem. I have 3 questions that needs to be answered using my raw data (also attached)

Order dateProduct numberCustomer IDOrder CountOrder Value
2/21/2021​
1AA1
1​
0​
2/21/2020​
1AA2
1​
15.7​
11/16/2020​
1AA3
1​
37.2​
2/22/2021​
1BA3
1​
44.6​
9/5/2020​
5657A4
2​
78.6​
1/17/2021​
78787A5
1​
32.5​
12/3/2020​
878A6
1​
67.7​
12/10/2020​
878787A6
1​
89.1​
2/13/2021​
8787877A6
1​
1​
2/17/2021​
8787878A6
2​
90.1​
2/17/2021​
787878A6
2​
130​

1. First problem, i need to get the average days between orders for customers with more than 2 orders.
2. 2nd, to derive the average number of products per customer order.
3. 3rd, to derive the average number of ordered unique products.

I was able to get this using pivot table but i wanted to know how to derive this using formula of AverageIfs or sumproduct


Thank you.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,223,896
Messages
6,175,262
Members
452,627
Latest member
KitkatToby

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top