Calculating Customer Repurchase Rate

jkancler

New Member
Joined
May 21, 2014
Messages
8
I'm trying to calculate customer repurchase rate. HLINK is the unique customer ID and the Repurchase column signifies with a 1 that an HLINK has purchased more than once while zero indicates only one purchase.

I've already created a measure to count the distinct HLINK's: =COUNTROWS(DISTINCT('repurchase'[HLINK]))

But I'm not sure what formula to use count the distinct HLINK's with a 1 in the Repurchase column. Here's the data set layout.


[TABLE="width: 548"]
<tbody>[TR]
[TD]HLINK[/TD]
[TD]Date[/TD]
[TD]Net[/TD]
[TD]Interval[/TD]
[TD]Times[/TD]
[TD]TotalTimes[/TD]
[TD]Repurchase[/TD]
[/TR]
[TR]
[TD="align: right"]739[/TD]
[TD="align: right"]5/18/2014 0:00[/TD]
[TD="align: right"]25.89[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1345[/TD]
[TD="align: right"]2/11/2014 0:00[/TD]
[TD="align: right"]27.99[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1366[/TD]
[TD="align: right"]5/31/2014 0:00[/TD]
[TD="align: right"]55.96[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]1/7/2014 0:00[/TD]
[TD="align: right"]89.47[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]1/20/2014 0:00[/TD]
[TD="align: right"]95.98[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]3/16/2014 0:00[/TD]
[TD="align: right"]90.96[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]5/18/2014 0:00[/TD]
[TD="align: right"]128.04[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]6/17/2014 0:00[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Figured it out. Here's the formula: =countrows(filter(values(repurchase[HLINK]), calculate(countrows(values(repurchase[Times]))>1)))

I'm trying to calculate customer repurchase rate. HLINK is the unique customer ID and the Repurchase column signifies with a 1 that an HLINK has purchased more than once while zero indicates only one purchase.

I've already created a measure to count the distinct HLINK's: =COUNTROWS(DISTINCT('repurchase'[HLINK]))

But I'm not sure what formula to use count the distinct HLINK's with a 1 in the Repurchase column. Here's the data set layout.


[TABLE="width: 548"]
<tbody>[TR]
[TD]HLINK[/TD]
[TD]Date[/TD]
[TD]Net[/TD]
[TD]Interval[/TD]
[TD]Times[/TD]
[TD]TotalTimes[/TD]
[TD]Repurchase[/TD]
[/TR]
[TR]
[TD="align: right"]739[/TD]
[TD="align: right"]5/18/2014 0:00[/TD]
[TD="align: right"]25.89[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1345[/TD]
[TD="align: right"]2/11/2014 0:00[/TD]
[TD="align: right"]27.99[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1366[/TD]
[TD="align: right"]5/31/2014 0:00[/TD]
[TD="align: right"]55.96[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]1/7/2014 0:00[/TD]
[TD="align: right"]89.47[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]1/20/2014 0:00[/TD]
[TD="align: right"]95.98[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]3/16/2014 0:00[/TD]
[TD="align: right"]90.96[/TD]
[TD="align: right"]55[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]5/18/2014 0:00[/TD]
[TD="align: right"]128.04[/TD]
[TD="align: right"]63[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]1371[/TD]
[TD="align: right"]6/17/2014 0:00[/TD]
[TD="align: right"]60[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,224,019
Messages
6,175,963
Members
452,688
Latest member
spookralls

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