Need to determine an ideal ratio

sbrien

New Member
Joined
Jun 5, 2012
Messages
19
Hello all,

I'm haven't played with stats in a while and now I'm trying to determine the ideal traffic/labor hour in order to maximize revenue/labor hour. My data looks like this:

Excel 2010
ABCDEF
DateTrafficRevenueHoursTraffic/hrRevenue/hr

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]7/1/2012[/TD]
[TD="align: right"]144[/TD]
[TD="align: right"] $ 2,072.16 [/TD]
[TD="align: right"]15.45[/TD]
[TD="align: right"]9.320388[/TD]
[TD="align: right"] $ 134.12 [/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]7/2/2012[/TD]
[TD="align: right"]163[/TD]
[TD="align: right"] $ 7,395.98 [/TD]
[TD="align: right"]36.85[/TD]
[TD="align: right"]4.423338[/TD]
[TD="align: right"] $ 200.71 [/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]7/3/2012[/TD]
[TD="align: right"]142[/TD]
[TD="align: right"] $ 3,802.03 [/TD]
[TD="align: right"]33.52[/TD]
[TD="align: right"]4.236277[/TD]
[TD="align: right"] $ 113.43 [/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]7/4/2012[/TD]
[TD="align: right"]94[/TD]
[TD="align: right"] $ 3,020.40 [/TD]
[TD="align: right"]22.58[/TD]
[TD="align: right"]4.162976[/TD]
[TD="align: right"] $ 133.76 [/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]7/5/2012[/TD]
[TD="align: right"]144[/TD]
[TD="align: right"] $ 4,843.29 [/TD]
[TD="align: right"]31.82[/TD]
[TD="align: right"]4.525456[/TD]
[TD="align: right"] $ 152.21 [/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]7/6/2012[/TD]
[TD="align: right"]174[/TD]
[TD="align: right"] $ 8,885.81 [/TD]
[TD="align: right"]29.13[/TD]
[TD="align: right"]5.973223[/TD]
[TD="align: right"] $ 305.04 [/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]7/7/2012[/TD]
[TD="align: right"]177[/TD]
[TD="align: right"] $ 3,349.87 [/TD]
[TD="align: right"]32.96[/TD]
[TD="align: right"]5.370146[/TD]
[TD="align: right"] $ 101.63 [/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]7/8/2012[/TD]
[TD="align: right"]116[/TD]
[TD="align: right"] $ 7,811.72 [/TD]
[TD="align: right"]24.28[/TD]
[TD="align: right"]4.777595[/TD]
[TD="align: right"] $ 321.73 [/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]7/9/2012[/TD]
[TD="align: right"]160[/TD]
[TD="align: right"] $ 5,116.48 [/TD]
[TD="align: right"]30.33[/TD]
[TD="align: right"]5.275305[/TD]
[TD="align: right"] $ 168.69 [/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]7/10/2012[/TD]
[TD="align: right"]136[/TD]
[TD="align: right"] $ 1,617.67 [/TD]
[TD="align: right"]30.52[/TD]
[TD="align: right"]4.456094[/TD]
[TD="align: right"] $ 53.00 [/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]7/11/2012[/TD]
[TD="align: right"]153[/TD]
[TD="align: right"] $ 6,816.25 [/TD]
[TD="align: right"]39.5[/TD]
[TD="align: right"]3.873418[/TD]
[TD="align: right"] $ 172.56 [/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]7/12/2012[/TD]
[TD="align: right"]122[/TD]
[TD="align: right"] $ 1,972.75 [/TD]
[TD="align: right"]28.03[/TD]
[TD="align: right"]4.352479[/TD]
[TD="align: right"] $ 70.38 [/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]7/13/2012[/TD]
[TD="align: right"]203[/TD]
[TD="align: right"] $ 7,310.88 [/TD]
[TD="align: right"]27.27[/TD]
[TD="align: right"]7.444078[/TD]
[TD="align: right"] $ 268.09 [/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]7/14/2012[/TD]
[TD="align: right"]165[/TD]
[TD="align: right"] $ 6,239.02 [/TD]
[TD="align: right"]29.18[/TD]
[TD="align: right"]5.654558[/TD]
[TD="align: right"] $ 213.81 [/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]7/15/2012[/TD]
[TD="align: right"]126[/TD]
[TD="align: right"] $ 2,652.57 [/TD]
[TD="align: right"]23.46[/TD]
[TD="align: right"]5.370844[/TD]
[TD="align: right"] $ 113.07 [/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]7/16/2012[/TD]
[TD="align: right"]195[/TD]
[TD="align: right"] $ 10,033.34 [/TD]
[TD="align: right"]31.75[/TD]
[TD="align: right"]6.141732[/TD]
[TD="align: right"] $ 316.01 [/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]7/17/2012[/TD]
[TD="align: right"]147[/TD]
[TD="align: right"] $ 4,593.56 [/TD]
[TD="align: right"]23.14[/TD]
[TD="align: right"]6.352636[/TD]
[TD="align: right"] $ 198.51 [/TD]

[TD="align: center"]19[/TD]
[TD="align: right"]7/18/2012[/TD]
[TD="align: right"]156[/TD]
[TD="align: right"] $ 5,319.05 [/TD]
[TD="align: right"]44.69[/TD]
[TD="align: right"]3.490714[/TD]
[TD="align: right"] $ 119.02 [/TD]

[TD="align: center"]20[/TD]
[TD="align: right"]7/19/2012[/TD]
[TD="align: right"]130[/TD]
[TD="align: right"] $ 1,801.60 [/TD]
[TD="align: right"]33.91[/TD]
[TD="align: right"]3.833677[/TD]
[TD="align: right"] $ 53.13 [/TD]

[TD="align: center"]21[/TD]
[TD="align: right"]7/20/2012[/TD]
[TD="align: right"]220[/TD]
[TD="align: right"] $ 5,415.52 [/TD]
[TD="align: right"]28.21[/TD]
[TD="align: right"]7.798653[/TD]
[TD="align: right"] $ 191.97 [/TD]

[TD="align: center"]22[/TD]
[TD="align: right"]7/21/2012[/TD]
[TD="align: right"]146[/TD]
[TD="align: right"] $ 12,727.49 [/TD]
[TD="align: right"]23[/TD]
[TD="align: right"]6.347826[/TD]
[TD="align: right"] $ 553.37 [/TD]

[TD="align: center"]23[/TD]
[TD="align: right"]7/22/2012[/TD]
[TD="align: right"]110[/TD]
[TD="align: right"] $ 8,519.18 [/TD]
[TD="align: right"]14.93[/TD]
[TD="align: right"]7.367716[/TD]
[TD="align: right"] $ 570.61 [/TD]

[TD="align: center"]24[/TD]
[TD="align: right"]7/23/2012[/TD]
[TD="align: right"]166[/TD]
[TD="align: right"] $ 5,006.82 [/TD]
[TD="align: right"]45.19[/TD]
[TD="align: right"]3.673379[/TD]
[TD="align: right"] $ 110.79 [/TD]

[TD="align: center"]25[/TD]
[TD="align: right"]7/24/2012[/TD]
[TD="align: right"]166[/TD]
[TD="align: right"] $ 8,823.67 [/TD]
[TD="align: right"]36.13[/TD]
[TD="align: right"]4.59452[/TD]
[TD="align: right"] $ 244.22 [/TD]

[TD="align: center"]26[/TD]
[TD="align: right"]7/25/2012[/TD]
[TD="align: right"]152[/TD]
[TD="align: right"] $ 4,722.04 [/TD]
[TD="align: right"]46.63[/TD]
[TD="align: right"]3.259704[/TD]
[TD="align: right"] $ 101.27 [/TD]

[TD="align: center"]27[/TD]
[TD="align: right"]7/26/2012[/TD]
[TD="align: right"]140[/TD]
[TD="align: right"] $ 4,136.81 [/TD]
[TD="align: right"]28.61[/TD]
[TD="align: right"]4.893394[/TD]
[TD="align: right"] $ 144.59 [/TD]

[TD="align: center"]28[/TD]
[TD="align: right"]7/27/2012[/TD]
[TD="align: right"]162[/TD]
[TD="align: right"] $ 3,711.42 [/TD]
[TD="align: right"]30.77[/TD]
[TD="align: right"]5.264868[/TD]
[TD="align: right"] $ 120.62 [/TD]

[TD="align: center"]29[/TD]
[TD="align: right"]7/28/2012[/TD]
[TD="align: right"]162[/TD]
[TD="align: right"] $ 4,133.91 [/TD]
[TD="align: right"]22.66[/TD]
[TD="align: right"]7.149162[/TD]
[TD="align: right"] $ 182.43 [/TD]

[TD="align: center"]30[/TD]
[TD="align: right"]7/29/2012[/TD]
[TD="align: right"]137[/TD]
[TD="align: right"] $ 1,657.63 [/TD]
[TD="align: right"]28.77[/TD]
[TD="align: right"]4.761905[/TD]
[TD="align: right"] $ 57.62 [/TD]

[TD="align: center"]31[/TD]
[TD="align: right"]7/30/2012[/TD]
[TD="align: right"]127[/TD]
[TD="align: right"] $ 4,590.15 [/TD]
[TD="align: right"]28.32[/TD]
[TD="align: right"]4.484463[/TD]
[TD="align: right"] $ 162.08 [/TD]

[TD="align: center"]32[/TD]
[TD="align: right"]7/31/2012[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"] $ 1,319.93 [/TD]
[TD="align: right"]21.36[/TD]
[TD="align: right"]4.681648[/TD]
[TD="align: right"] $ 61.79 [/TD]

</tbody>
Sheet1



I don't know if Excel or Analyst Toolpak has the firepower for this or if I'll need additional tools. I appreciate any direction you can give me on this.

Thanks,
Sam
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi Sam,

I'm not an expert at statistics either, but since you haven't had any replies after 36 hours, I thought I'd try to help.

Below is a Scatter Chart showing the data with a trend line that attempts to fit a polynomial equation.

Hopefully this gives you a better visual understanding of your data.

If nothing else, it gives your thread a bump that might catch the attention of someone more knowledgeable on the topic. :)

7861727252_11bfbcfc2d.jpg
 
Upvote 0
I think you need to be a bit more precise in what you are trying to do. Is this a queue problem (how many staff do I need) in which case you need to say what happens to the traffic you cant handle and how traffic turns into revenue based on the staff hours.

If what you are asking is how do I maximise profits then that is probably a linear programming problem. In which case Solver (a toy LP that is given away with Excel Analysis ToolPack) may be man enough for the job if your problem is really simple but once you get to most real world problems you need either to buy a better version of Solver or one of its rivals (What'sBest is my favourite) which are fairly pricy or use one of the open source solvers that are kicking around the web - I have used lpsolve which someone has written a dll version of which allows you to use it with VBA and seems to work very well but as it is open source you need to put in a fair bit of effort to use it effectively

HTH
 
Upvote 0
Thanks Jerry. Do you know if there is a function to obtain a "best fit" polynomial equation given a a set of data? Although the data is somewhat random, I've got about 2000 stores I'd like to run this for and plotting a graph for each one isn't feasible...

-Sam
 
Upvote 0
HTH,

Thanks for the insight. I don't think my bosses are interested in a sophisticated answer that accounts for all the what ifs. A best guess scenario using a reasonable trend seems to be sufficient. Thanks also for the insights into various Solver alternatives. I'll take a look, though the learning curve likely won't fit with the quick turnaround on this project.

Cheers,
Sam
 
Upvote 0
Sam, The more data that you have, the more likely you'll be able to see a meaningful correlation for just the two factors charted.
So doing a similar analysis will data from all 2000 stores will have some benefit, though it won't control for factors that differ between the stores. The 3 outlying points (above $500/hr and traffic greater than 9/hr), are skewing the trend in this sample.

My understanding is that applying a trend line with the polynomial option attempts to find the "best fit" for the order number selected.
I don't know of an automated way in Excel to look at a set of data and determine which trend/regression type is the best fit.

It makes sense that your stores will have a point of diminishing returns in which increases in traffic will not yield proportional increases in revenue for a store, so polynomial could be a better representation of the trend than linear.

As noted, I don't have any expertise on this topic and I'd be happy to learn more on this topic from someone who does.
 
Upvote 0

Forum statistics

Threads
1,223,716
Messages
6,174,069
Members
452,542
Latest member
Bricklin

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