RAINFALL CESSATION DATE USING INDEX

Thlama

New Member
Joined
Mar 24, 2021
Messages
11
Office Version
  1. 2016
Platform
  1. Windows
Greetings to all on this forum. I am trying to develop a formula that picks rainfall cessation date from series of daily rainfall data. I have done a formula which picks the start of rainfall once a sum of 51mm has been recorded from the start of the year. However, for cessation (offset) date, it should be the last recorded 51(mm) before rainfall recedes for the year. Meaning from the 31st December till date of cessation, the sum of rainfall should not exceed 51(mm).

JIGAWA, NIGERIA RAINFALL DATA.xlsx
ABCDEFGHI
1Location: Lat 11.7165 Long 9.3348YEARSTARTCESSATION
2MonthDayDOY198119821983198128-Apr10-Apr
31-Jan1100019824-May
42-Jan22000198324-May
53-Jan33000
64-Jan44000
75-Jan55000
86-Jan66000
97-Jan77000
108-Jan88000
119-Jan9900.030
1210-Jan101000.030
1311-Jan111100.030
1412-Jan121200.030
1513-Jan131300.030
1614-Jan141400.030
1715-Jan151500.030
1816-Jan161600.030
1917-Jan171700.030
2018-Jan181800.030
2119-Jan191900.030
2220-Jan202000.030
2321-Jan212100.030
2422-Jan222200.030
2523-Jan232300.080
2624-Jan242400.090
2725-Jan252500.090
2826-Jan262600.10
2927-Jan272700.10
3028-Jan282800.10
3129-Jan292900.10
3230-Jan303000.10
3331-Jan313100.10
341-Feb13200.10
352-Feb23300.10
363-Feb33400.10
374-Feb43500.10
385-Feb53600.10
396-Feb63700.10
407-Feb73800.10
418-Feb83900.10
429-Feb94000.10
4310-Feb104100.10
4411-Feb114200.10
4512-Feb124300.10
4613-Feb134400.10
4714-Feb144500.10
4815-Feb154600.10
4916-Feb164700.10
5017-Feb174800.10
5118-Feb184900.10
5219-Feb195000.10
5320-Feb205100.10
5421-Feb215200.10
5522-Feb225300.10
5623-Feb235400.10
5724-Feb245500.10
5825-Feb255601.220
5926-Feb265702.030
6027-Feb275802.030
6128-Feb285902.030
6229-Feb296002.030
631-Mar16002.030
642-Mar26102.950
653-Mar36202.970
664-Mar46302.970
675-Mar56402.970
686-Mar66503.570
697-Mar76603.570
708-Mar86703.570
719-Mar96803.570
7210-Mar106903.580
7311-Mar117003.590
7412-Mar12710.013.890
7513-Mar13720.014.520
7614-Mar14730.594.530
7715-Mar15741.288.760
7816-Mar16751.2913.540
7917-Mar17761.2913.540
8018-Mar18771.2913.590
8119-Mar19781.2913.610
8220-Mar20791.2913.610
8321-Mar21801.2913.610
8422-Mar22811.2913.610
8523-Mar23821.2913.610
8624-Mar24831.2913.620
8725-Mar25841.2913.630
8826-Mar26851.2914.750
8927-Mar27861.2914.850
9028-Mar28871.2914.850
9129-Mar29881.2914.850.26
9230-Mar30891.2914.850.5
9331-Mar31901.2914.851.41
941-Apr1911.2914.852.14
952-Apr2921.2914.852.14
963-Apr3931.2914.852.15
974-Apr4941.3314.852.15
985-Apr5951.3614.852.15
996-Apr6961.3714.882.15
1007-Apr7971.4414.882.15
1018-Apr8981.4514.92.15
1029-Apr9991.4514.932.17
10310-Apr101001.4514.962.23
10411-Apr111011.4514.962.26
10512-Apr121021.4514.962.3
10613-Apr131031.4514.962.3
10714-Apr141041.4514.962.3
10815-Apr151051.4514.962.3
10916-Apr161061.4527.652.3
11017-Apr171071.4633.022.3
11118-Apr181084.233.32.3
11219-Apr191095.0434.872.3
11320-Apr201105.736.062.31
11421-Apr2111116.236.062.31
11522-Apr2211220.0236.062.31
11623-Apr2311327.4936.062.31
11724-Apr2411430.6236.062.31
11825-Apr2511531.8136.062.31
11926-Apr2611633.8236.12.31
12027-Apr2711740.0836.132.31
12128-Apr2811852.236.132.31
12229-Apr2911957.436.162.31
12330-Apr3012061.5436.182.31
1241-May112163.9438.712.31
1252-May212266.9343.722.32
1263-May312371.9248.142.42
1274-May412473.9251.382.42
1285-May512575.0956.482.42
1296-May612675.1360.592.56
1307-May712775.2162.116.45
1318-May812875.3574.4210.78
1329-May912975.6188.3913.93
13310-May1013075.6988.9617.04
13411-May1113182.188.9618.06
13512-May1213282.8988.9719.43
13613-May1313384.7888.9721.85
13714-May1413487.5189.0623.12
13815-May1513588.4989.1226.38
13916-May1613688.7290.3430.82
14017-May1713788.8492.1634.59
14118-May1813888.8895.536.92
14219-May1913988.91100.1942.12
14320-May2014089.16102.4349.33
14421-May2114189.73121.2149.76
14522-May2214290.07129.8149.78
14623-May2314390.57132.6649.92
14724-May2414491.33137.251.74
14825-May2514592.4139.1352.45
14926-May2614694.51145.6752.77
15027-May2714796.08150.3252.88
15128-May2814897.91155.0752.92
15229-May2914998.32155.8853.13
15330-May3015098.5163.7253.44
15431-May3115198.7165.0359.84
RESULT SHEET
Cell Formulas
RangeFormula
I2I2=INDEX($A$3:$A$368,MATCH(51,$D$21:$D$367,1)+1)
D3:D154D3=SUM('RAW DATA'!$D$3:D3)
E3:E154E3=SUM('RAW DATA'!$E$3:E3)
F3:F154F3=SUM('RAW DATA'!$F$3:F3)
H2H2=INDEX($A$3:$A$369,MATCH(51,$D$3:$D$367,1)+1)
H3H3=INDEX($A$3:$A$369,MATCH(51,$E$3:$E$367,1)+1)
H4H4=INDEX($A$3:$A$369,MATCH(51,$F$3:$F$367,1)+1)
A3:A62A3=C3-DATE(YEAR(C3),1,1)+1
A63:A154A63=C64-DATE(YEAR(C64),1,1)+1
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
JIGAWA, NIGERIA RAINFALL DATA.xlsx
ABCDEF
1851-Jul11823.274.46.43
1862-Jul21835.093.143.47
1873-Jul318421.917.52.69
1884-Jul41853.06166.64
1895-Jul518610.11.2515
1906-Jul61879.487.549.24
1917-Jul71886.421.512.07
1928-Jul818911.67.343.67
1939-Jul91902.962.6913.6
19410-Jul1019112.10.160.34
19511-Jul111926.480.466.29
19612-Jul1219310.80.114.52
19713-Jul131946.940.625.72
19814-Jul141959.060.853.54
19915-Jul151961.770.372.03
20016-Jul161977.020.537.46
20117-Jul17198180.535.35
20218-Jul181992.340.215.07
20319-Jul1920014.70.162.36
20420-Jul202015.065.2414.3
20521-Jul212025.472.598.89
20622-Jul222032.5613.316.6
20723-Jul232046.997.027.91
20824-Jul242059.385.288.17
20925-Jul252066.710.843.43
21026-Jul2620714.70.078.2
21127-Jul2720810.50.5117.6
21228-Jul2820916.40.2212.4
21329-Jul292109.530.0540
21430-Jul302117.965.447.29
21531-Jul312129.561.3532.4
2161-Aug12135.892.4610.9
2172-Aug22145.222.2121.9
2183-Aug321512.41.2110.9
2194-Aug42165.983.3234.4
2205-Aug521717.73.1114.7
2216-Aug62183.373.18.67
2227-Aug72191.476.1541.5
2238-Aug82201.492.5630.3
2249-Aug92211.337.52.84
22510-Aug102220.4423.88.72
22611-Aug112231.457.026.42
22712-Aug122241.662.097.11
22813-Aug132252.27.260.73
22914-Aug142260.252.652.21
23015-Aug152270.142.172.2
23116-Aug162280.040.971.21
23217-Aug172290.188.286.01
23318-Aug182300.5311.96.33
23419-Aug192316.3111.319.8
23520-Aug202322.9221.58.4
23621-Aug212331.0621.63.83
23722-Aug222341.27.454.9
23823-Aug232352.0322.71.56
23924-Aug242362.031.326.75
24025-Aug252377.060.6312.1
24126-Aug2623810.50.4718
24227-Aug2723917.60.0817.5
24328-Aug2824020.80.6513.1
24429-Aug292416.892.633.75
24530-Aug302425.237.310.6
24631-Aug312438.722.135.53
2471-Sep12440.2710.29.89
2482-Sep22455.0422.16.72
2493-Sep32463.872.831.81
2504-Sep424710.32.775.93
2515-Sep524819.57.212.4
2526-Sep62498.974.434.29
2537-Sep72502.69177.53
2548-Sep82512.165.7215
2559-Sep92525.919.414.3
25610-Sep102531.265.093.71
25711-Sep112541.564.755.51
25812-Sep122550.6628.55.9
25913-Sep132564.454.651.4
26014-Sep1425710.68.396.99
26115-Sep152586.273.647.99
26216-Sep1625915.72.371
26317-Sep172605.711.024.86
26418-Sep182610.613.115.75
26519-Sep192620.5113.94
26620-Sep202630.251.452.29
26721-Sep212640.251.087.75
26822-Sep222650.591.267.04
26923-Sep232664.542.891.69
27024-Sep242673.227.271.65
27125-Sep252683.754.222.16
27226-Sep262694.214.243.27
27327-Sep272705.234.592.2
27428-Sep282710.710.380.15
27529-Sep292720.770.390.09
27630-Sep302734.410.250.19
2771-Oct127411.60.270.19
2782-Oct22756.370.070.36
2793-Oct32760.143.010.9
2804-Oct42770.021.355.75
2815-Oct52780.033.080.01
2826-Oct62790.0240
2837-Oct728001.860
2848-Oct82813.490.570
2859-Oct92821.50.590
28610-Oct102832.720.730
28711-Oct112842.640.750.01
28812-Oct122851.920.070.07
28913-Oct132861.910.80.04
29014-Oct142872.914.20
29115-Oct152889.831.180
29216-Oct162890.480.590
29317-Oct1729001.230
29418-Oct1829100.950.02
29519-Oct1929200.990.11
29620-Oct2029301.040
29721-Oct212940.010.730
29822-Oct222950.030.450
29923-Oct232964.320.980
30024-Oct242973.661.60
30125-Oct252981.360.930
30226-Oct262991.577.740
30327-Oct273001.341.740.01
30428-Oct283010.220.420.05
30529-Oct293020.020.30.08
30630-Oct303030.070.790
30731-Oct313040.290.030
3081-Nov13050.070.010
3092-Nov23060.0100
3103-Nov3307000
3114-Nov4308000
3125-Nov5309000
3136-Nov6310000.01
3147-Nov7311000
3158-Nov8312000
3169-Nov9313000
31710-Nov10314000
31811-Nov113150.0100
31912-Nov12316000
32013-Nov13317000
32114-Nov14318000
32215-Nov153190.0600.06
32316-Nov16320000.02
32417-Nov17321000
32518-Nov18322000
32619-Nov19323000
32720-Nov20324000
32821-Nov21325000
32922-Nov22326000
33023-Nov23327000
33124-Nov24328000
33225-Nov25329000
33326-Nov26330000
33427-Nov27331000
33528-Nov28332000
33629-Nov29333000
33730-Nov30334000
3381-Dec1335000
3392-Dec2336000
3403-Dec3337000
3414-Dec4338000.07
3425-Dec5339000
3436-Dec6340000
3447-Dec7341000
3458-Dec8342000
3469-Dec9343000
34710-Dec10344000
34811-Dec11345000
34912-Dec12346000
35013-Dec13347000
35114-Dec14348000.01
35215-Dec15349000
35316-Dec16350000
35417-Dec17351000
35518-Dec18352000
35619-Dec19353000
35720-Dec20354000
35821-Dec21355000
35922-Dec22356000
36023-Dec23357000
36124-Dec24358000
36225-Dec25359000
36326-Dec26360000
36427-Dec27361000
36528-Dec28362000
36629-Dec29363000
36730-Dec30364000
36831-Dec31365000
369366
RAW DATA
Cell Formulas
RangeFormula
A185:A368A185=C186-DATE(YEAR(C186),1,1)+1
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,107
Members
453,021
Latest member
Justyna P

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