Trying to find percentage of winners and losers

alexm3430

New Member
Joined
Aug 27, 2015
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Below is a sample of data that i want to see on a percentage basis how many times a certain hour is positive or negative over last 30 days or however many days i plug in. I want to see each hour independently.

Thank you.


DayYearMonthDat 2123456789101112131415161718192021222324
Sat2011Jan1/1/20111.601.902.673.003.005.648.7810.229.326.914.833.431.992.902.121.832.857.4810.444.91(6.63)0.151.230.62
Sun2011Jan1/2/2011(1.90)(1.53)(1.19)(1.38)(1.20)5.554.514.24(12.07)(1.72)1.001.270.390.730.841.131.963.879.748.767.628.967.398.58
Mon2011Jan1/3/20114.152.813.333.815.789.9318.1024.1413.248.505.807.276.465.164.224.172.845.2619.4415.6311.7512.8212.3711.54
Tue2011Jan1/4/20112.164.084.530.09(0.57)(2.26)0.44(0.18)4.26(5.94)(7.60)(5.39)(2.48)(3.27)(2.79)(2.08)(2.92)5.4410.704.362.283.415.176.64
Wed2011Jan1/5/20110.970.951.871.390.054.46(414.05)(210.23)7.51(0.16)(16.08)(8.86)(2.29)(0.30)(1.17)(2.65)(3.09)1.55(339.75)(1.57)(8.13)(5.90)(11.95)(10.25)
Thur2011Jan1/6/2011(7.26)(5.97)(4.46)(7.73)(609.35)0.16(1.80)1.543.83(0.48)(1.78)(0.62)1.060.131.742.172.135.3711.114.150.36(1.02)(3.83)2.99
Fri2011Jan1/7/20112.341.420.561.447.378.82(1046.96)13.859.505.421.921.941.460.411.181.714.0510.0122.4617.6010.089.078.837.50
Sat2011Jan1/8/20115.003.112.551.364.334.618.0810.114.874.644.012.512.724.644.996.055.6811.6422.9913.8110.929.0310.7312.53
Sun2011Jan1/9/201110.136.558.058.356.515.8912.1915.4111.7411.549.783.86(0.12)(1.78)(0.62)0.252.8112.6025.0517.9515.9213.7213.3812.88
Mon2011Jan1/10/20114.454.164.154.029.5511.9621.9921.799.546.892.700.26(2.82)(4.23)(4.84)(4.10)(0.75)8.9829.6615.3113.7211.199.6313.15
Tue2011Jan1/11/20111.832.261.42(1.34)(0.93)(0.52)6.22(17.33)2.24(3.46)(5.73)(7.75)(5.34)(3.98)(2.32)(1.34)(1.72)5.8516.254.952.435.002.823.61
Wed2011Jan1/12/2011(2.97)(1.61)(1.58)(1.42)2.247.9033.8024.6313.578.384.803.912.521.380.260.30(1.37)1.7716.199.015.774.551.525.58
Thur2011Jan1/13/20112.561.911.873.515.879.5035.5034.0614.227.715.024.340.84(1.07)(0.30)(1.61)(2.53)0.629.407.936.415.012.233.51
Fri2011Jan1/14/20110.840.720.971.043.368.3028.0326.6912.695.99(0.32)(1.72)(2.62)(1.08)0.13(1.53)(1.22)4.5314.298.454.034.54(1.18)1.59
Sat2011Jan1/15/20110.30(1.19)(0.54)(0.61)(1.33)0.2510.987.114.00(12.05)(9.26)(6.21)(4.00)(4.58)(2.35)(1.16)0.181.2814.325.141.060.71(22.49)(4.05)
Sun2011Jan1/16/2011(4.05)(5.56)(3.61)(4.23)(3.91)(1.10)8.258.3311.466.36(3.62)(13.15)(28.00)(15.69)(13.21)(11.15)(6.53)(1.24)14.3812.766.272.380.20(4.40)
Mon2011Jan1/17/2011(4.49)(0.23)2.582.082.408.0719.2820.2815.693.09(5.30)(6.84)(2.25)1.734.094.295.287.0019.697.255.546.265.747.56
Tue2011Jan1/18/20115.396.254.782.844.9010.3321.2322.3411.933.963.912.502.562.963.043.673.256.0417.886.854.663.866.247.29
Wed2011Jan1/19/20115.183.622.712.924.285.8318.3318.6910.938.058.498.138.296.726.965.715.299.2524.676.966.026.538.538.12
Thur2011Jan1/20/20112.843.803.363.314.945.7211.227.913.731.29(111.08)2.392.143.011.604.012.516.23(1.98)(5.45)(49.96)(5.49)(1.50)0.70
Fri2011Jan1/21/2011(4.88)(1.55)0.483.217.3511.4528.0929.1918.8912.005.994.382.523.126.098.198.7914.7127.5216.3810.107.29(4.92)(5.35)
Sat2011Jan1/22/2011(50.93)(15.68)(8.49)(16.08)(3.81)(0.74)(7.42)2.1311.797.835.826.616.697.498.2310.2810.6911.8422.5713.8711.2811.409.9711.44
Sun2011Jan1/23/20114.280.51(0.20)3.894.787.7716.1121.2323.5422.4013.568.936.592.00(1.78)(4.34)(2.71)(1.96)(10.66)0.500.970.85(0.18)4.48
Mon2011Jan1/24/20111.992.433.373.253.362.1012.4118.1012.426.142.151.011.822.262.362.081.345.2620.0414.4210.836.284.4110.65
Tue2011Jan1/25/20115.684.034.404.003.423.19(44.21)(93.72)5.833.07(0.86)(1.02)1.462.133.126.047.068.3220.8310.367.47(0.02)0.724.85
Wed2011Jan1/26/2011(0.93)(2.25)(1.44)0.150.795.7224.3327.407.504.224.462.482.671.552.112.792.986.5716.796.305.702.94(3.30)3.41
Thur2011Jan1/27/2011(1.13)(1.66)(2.23)(2.12)(0.67)(8.53)(776.99)(4.96)6.852.493.022.872.343.334.214.083.936.5416.258.479.1410.8212.9613.50
Fri2011Jan1/28/20114.915.073.794.045.827.0229.6823.227.454.182.191.552.342.572.512.443.477.9123.839.328.689.2012.7019.74
Sat2011Jan1/29/20118.9210.209.329.089.4411.479.989.7217.2311.614.704.494.565.967.186.624.106.9917.938.717.747.6912.3412.11
Sun2011Jan1/30/20113.413.7010.3914.538.575.263.627.596.417.835.89(1.26)(7.30)(10.08)(4.42)(3.38)(0.72)4.9025.1210.360.914.056.374.72
Mon2011Jan1/31/20112.363.536.095.755.404.8616.7812.639.735.44(4.05)0.682.343.324.014.807.6912.4330.4511.8610.259.5213.0114.11

<colgroup><col><col><col><col><col span="24"></colgroup><tbody>
</tbody>
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
hope this is what you are looking for. I only show a portion of your table but the range extends over all of January. The formulas may be copied to the right for each hour:


Excel 2010
ABCDEFG
6Positive71.0%67.7%71.0%
7negative29.0%32.3%29.0%
8
9DayYearMonthDat 2123
10Sat2011Jan1/1/20111.61.92.67
11Sun2011Jan1/2/2011-1.9-1.53-1.19
12Mon2011Jan1/3/20114.152.813.33
13Tue2011Jan1/4/20112.164.084.53
14Wed2011Jan1/5/20110.970.951.87
15Thur2011Jan1/6/2011-7.26-5.97-4.46
Sheet1
Cell Formulas
RangeFormula
E6=1-E7
E7=COUNTIF(E10:E40,"<"&0)/COUNT(E10:E40)
 
Upvote 0
This is exactly what I needed thank you. What if I only wanted to see just what Mondays do?
 
Upvote 0
I can tell you but I'm away from my computer and can't give you the formulas. Replace COUNT with the COUNTIFS function and add the criteria to count only if mon. Replace the SUM with SUMPRODUCT and include the day column to sum only rows with Monday in it. Would take me about 2 min to do but won't be back at a computer for a few days. I'm on vacation. :)
 
Upvote 0
Oh sorry. No SUMPRODUCT. Instead replace the count function in the denominator with COUNTIFS and only count if Monday's. I think you can figure this out!
 
Upvote 0
OK. Im back. :) Try this. You can select the day you want in cell C3.


Excel 2010
ABCDEFGH
3MonPositive80.0%80.0%100.0%100.0%
4negative20.0%20.0%0.0%0.0%
5
6AllPositive71.0%67.7%71.0%74.2%
7negative29.0%32.3%29.0%25.8%
8
9DayYearMonthDat 21234
10Sat2011Jan1/1/20111.61.92.673
11Sun2011Jan1/2/2011-1.9-1.53-1.19-1.38
12Mon2011Jan1/3/20114.152.813.333.81
13Tue2011Jan1/4/20112.164.084.530.09
14Wed2011Jan1/5/20110.970.951.871.39
15Thur2011Jan1/6/2011-7.26-5.97-4.46-7.73
Sheet1
Cell Formulas
RangeFormula
E3=COUNTIFS(E10:E40,">"&0,$A$10:$A$40,"="&$C$3)/COUNTIFS($A$10:$A$40,"="&$C$3)
E4=COUNTIFS(E10:E40,"<"&0,$A$10:$A$40,"="&$C$3)/COUNTIFS($A$10:$A$40,"="&$C$3)
E6=1-E7
E7=COUNTIF(E10:E40,"<"&0)/COUNT(E10:E40)
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,592
Members
449,089
Latest member
Motoracer88

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