Return Values Greater Than Zero Based on First and Last Instance of Date

Polyrhythm

New Member
Joined
Feb 11, 2008
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hi folks, I tried searching for an answer to this, but I couldn't figure out the correct wording.

Using the provided sample dataset, I'm trying to:
  1. Find the first instance of the date that has a value greater than zero, and return that value.
  2. Find the last instance of the date that has a value greater than zero, and return that value.
So for "2023-January", the first value should be 80,677, and the last value should be 143,978. If one of you could help me out with finding these two values consistently that would be great, as I need to apply this to the other months as well. Thank you!

First and Last Values.xlsx
ABCDEFGHI
1Year-MonthValuesYear-MonthFirst ValueLast ValueLast Value Minus First Value
22023-January02022-December
32023-January02023-January80,677143,97863,301<-- Expected Values
42023-January02023-February
52023-January02023-March
62023-January0
72023-January0
82023-January0
92023-January0
102023-January0
112023-January0
122023-January0
132023-January0
142023-January0
152023-January0
162023-January0
172023-January0
182023-January0
192023-January0
202023-January80,677
212023-January80,677
222023-January82,045
232023-January83,111
242023-January84,436
252023-January84,966
262023-January85,517
272023-January87,034
282023-January88,882
292023-January90,166
302023-January91,489
312023-January93,671
322023-January95,471
332023-January97,393
342023-January99,085
352023-January100,910
362023-January102,711
372023-January104,631
382023-January106,435
392023-January108,332
402023-January110,279
412023-January111,740
422023-January113,617
432023-January113,696
442023-January113,696
452023-January113,696
462023-January113,696
472023-January113,696
482023-January113,696
492023-January113,696
502023-January113,696
512023-January113,696
522023-January113,696
532023-January113,696
542023-January113,696
552023-January113,696
562023-January113,696
572023-January113,696
582023-January113,696
592023-January113,696
602023-January113,696
612023-January113,696
622023-January113,696
632023-January113,696
642023-January113,696
652023-January113,696
662023-January113,696
672023-January113,696
682023-January113,696
692023-January113,696
702023-January113,696
712023-January113,696
722023-January113,696
732023-January113,696
742023-January113,696
752023-January113,696
762023-January113,696
772023-January113,696
782023-January113,696
792023-January113,696
802023-January113,696
812023-January113,696
822023-January113,696
832023-January113,696
842023-January113,696
852023-January113,696
862023-January113,696
872023-January113,696
882023-January113,696
892023-January113,696
902023-January113,696
912023-January113,696
922023-January113,696
932023-January113,696
942023-January113,696
952023-January113,696
962023-January113,696
972023-January113,696
982023-January113,696
992023-January113,696
1002023-January113,696
1012023-January113,696
1022023-January113,696
1032023-January113,696
1042023-January113,696
1052023-January113,696
1062023-January113,696
1072023-January113,696
1082023-January113,696
1092023-January113,696
1102023-January113,696
1112023-January113,696
1122023-January113,696
1132023-January113,696
1142023-January113,696
1152023-January113,696
1162023-January113,696
1172023-January113,696
1182023-January113,696
1192023-January113,696
1202023-January113,696
1212023-January113,696
1222023-January113,696
1232023-January113,696
1242023-January113,696
1252023-January113,696
1262023-January113,696
1272023-January113,696
1282023-January113,696
1292023-January113,696
1302023-January113,696
1312023-January113,696
1322023-January113,696
1332023-January113,696
1342023-January113,696
1352023-January113,696
1362023-January113,696
1372023-January113,696
1382023-January113,696
1392023-January113,696
1402023-January113,696
1412023-January113,696
1422023-January113,696
1432023-January113,696
1442023-January113,696
1452023-January113,696
1462023-January113,696
1472023-January113,696
1482023-January113,696
1492023-January113,696
1502023-January113,696
1512023-January113,696
1522023-January113,696
1532023-January113,696
1542023-January113,696
1552023-January113,696
1562023-January113,696
1572023-January113,696
1582023-January113,696
1592023-January113,696
1602023-January113,696
1612023-January113,696
1622023-January113,696
1632023-January113,696
1642023-January113,696
1652023-January113,696
1662023-January113,696
1672023-January113,696
1682023-January113,696
1692023-January113,696
1702023-January113,696
1712023-January113,696
1722023-January113,696
1732023-January113,696
1742023-January113,696
1752023-January113,696
1762023-January113,696
1772023-January113,696
1782023-January113,696
1792023-January113,696
1802023-January113,696
1812023-January113,696
1822023-January113,696
1832023-January113,696
1842023-January113,696
1852023-January113,696
1862023-January113,696
1872023-January113,696
1882023-January113,696
1892023-January113,696
1902023-January113,696
1912023-January113,696
1922023-January113,696
1932023-January113,696
1942023-January113,696
1952023-January113,696
1962023-January113,696
1972023-January113,696
1982023-January113,696
1992023-January113,696
2002023-January113,696
2012023-January113,696
2022023-January113,696
2032023-January113,696
2042023-January113,696
2052023-January113,696
2062023-January113,696
2072023-January113,696
2082023-January113,696
2092023-January113,696
2102023-January113,696
2112023-January113,696
2122023-January113,696
2132023-January113,696
2142023-January113,696
2152023-January113,696
2162023-January113,696
2172023-January113,696
2182023-January113,696
2192023-January113,696
2202023-January113,696
2212023-January113,696
2222023-January113,696
2232023-January113,696
2242023-January113,696
2252023-January113,696
2262023-January113,696
2272023-January113,696
2282023-January113,696
2292023-January113,696
2302023-January113,696
2312023-January113,696
2322023-January113,696
2332023-January113,696
2342023-January113,696
2352023-January113,696
2362023-January113,696
2372023-January113,696
2382023-January113,696
2392023-January113,696
2402023-January113,696
2412023-January0
2422023-January0
2432023-January0
2442023-January0
2452023-January0
2462023-January0
2472023-January0
2482023-January0
2492023-January0
2502023-January0
2512023-January0
2522023-January0
2532023-January0
2542023-January0
2552023-January0
2562023-January0
2572023-January0
2582023-January0
2592023-January0
2602023-January0
2612023-January0
2622023-January0
2632023-January0
2642023-January0
2652023-January0
2662023-January0
2672023-January0
2682023-January0
2692023-January0
2702023-January0
2712023-January0
2722023-January0
2732023-January0
2742023-January0
2752023-January0
2762023-January0
2772023-January0
2782023-January0
2792023-January0
2802023-January0
2812023-January0
2822023-January0
2832023-January0
2842023-January0
2852023-January0
2862023-January0
2872023-January0
2882023-January0
2892023-January0
2902023-January0
2912023-January0
2922023-January0
2932023-January0
2942023-January0
2952023-January0
2962023-January0
2972023-January0
2982023-January0
2992023-January0
3002023-January0
3012023-January0
3022023-January0
3032023-January0
3042023-January0
3052023-January0
3062023-January0
3072023-January0
3082023-January143,978
3092023-January0
3102023-January0
3112023-January0
3122023-January0
3132023-January0
3142023-January0
3152023-January0
3162023-January0
3172023-January0
3182023-January0
3192023-January0
3202023-January0
3212023-January0
3222023-January0
3232023-January0
3242023-January0
3252023-January0
3262023-January0
3272023-January0
3282023-January0
3292023-January0
Sheet2
Cell Formulas
RangeFormula
G3G3=F3-E3
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
What version of excel do you use? And, please update your profile so people do not have to ask? Solutions vary from version to version.
 
Upvote 0
Will the values in Column C always be increasing or zero (if there is not a value incremented)?
 
Upvote 0
I converted the dates in column A into date values, and put them in to a column B.
mr excel questions 14.xlsm
ABCDEFGH
1Year-MonthValuesYear-MonthFirst ValueLast ValueLast Value Minus First Value
22023-January2023-January02022-December
32023-January2023-January02023-January8067714397863301
42023-January2023-January02023-February
52023-January2023-January02023-March
62023-January2023-January0
72023-January2023-January0
82023-January2023-January0Year-Month
92023-January2023-January02022-December
102023-January2023-January02023-January8067714397863301
112023-January2023-January02023-February
122023-January2023-January02023-March
132023-January2023-January0
142023-January2023-January0
152023-January2023-January0
162023-January2023-January0
172023-January2023-January0
182023-January2023-January0
192023-January2023-January0
202023-January2023-January80677
212023-January2023-January80677
222023-January2023-January82045
232023-January2023-January83111
242023-January2023-January84436
252023-January2023-January84966
262023-January2023-January85517
272023-January2023-January87034
282023-January2023-January88882
292023-January2023-January90166
302023-January2023-January91489
312023-January2023-January93671
322023-January2023-January95471
332023-January2023-January97393
342023-January2023-January99085
352023-January2023-January100910
362023-January2023-January102711
372023-January2023-January104631
382023-January2023-January106435
392023-January2023-January108332
402023-January2023-January110279
412023-January2023-January111740
422023-January2023-January113617
432023-January2023-January113696
442023-January2023-January113696
452023-January2023-January113696
462023-January2023-January113696
472023-January2023-January113696
482023-January2023-January113696
492023-January2023-January113696
502023-January2023-January113696
512023-January2023-January113696
522023-January2023-January113696
532023-January2023-January113696
542023-January2023-January113696
552023-January2023-January113696
562023-January2023-January113696
572023-January2023-January113696
582023-January2023-January113696
592023-January2023-January113696
602023-January2023-January113696
612023-January2023-January113696
622023-January2023-January113696
632023-January2023-January113696
642023-January2023-January113696
652023-January2023-January113696
662023-January2023-January113696
672023-January2023-January113696
682023-January2023-January113696
692023-January2023-January113696
702023-January2023-January113696
712023-January2023-January113696
722023-January2023-January113696
732023-January2023-January113696
742023-January2023-January113696
752023-January2023-January113696
762023-January2023-January113696
772023-January2023-January113696
782023-January2023-January113696
792023-January2023-January113696
802023-January2023-January113696
812023-January2023-January113696
822023-January2023-January113696
832023-January2023-January113696
842023-January2023-January113696
852023-January2023-January113696
862023-January2023-January113696
872023-January2023-January113696
882023-January2023-January113696
892023-January2023-January113696
902023-January2023-January113696
912023-January2023-January113696
922023-January2023-January113696
932023-January2023-January113696
942023-January2023-January113696
952023-January2023-January113696
962023-January2023-January113696
972023-January2023-January113696
982023-January2023-January113696
992023-January2023-January113696
1002023-January2023-January113696
1012023-January2023-January113696
1022023-January2023-January113696
1032023-January2023-January113696
1042023-January2023-January113696
1052023-January2023-January113696
1062023-January2023-January113696
1072023-January2023-January113696
1082023-January2023-January113696
1092023-January2023-January113696
1102023-January2023-January113696
1112023-January2023-January113696
1122023-January2023-January113696
1132023-January2023-January113696
1142023-January2023-January113696
1152023-January2023-January113696
1162023-January2023-January113696
1172023-January2023-January113696
1182023-January2023-January113696
1192023-January2023-January113696
1202023-January2023-January113696
1212023-January2023-January113696
1222023-January2023-January113696
1232023-January2023-January113696
1242023-January2023-January113696
1252023-January2023-January113696
1262023-January2023-January113696
1272023-January2023-January113696
1282023-January2023-January113696
1292023-January2023-January113696
1302023-January2023-January113696
1312023-January2023-January113696
1322023-January2023-January113696
1332023-January2023-January113696
1342023-January2023-January113696
1352023-January2023-January113696
1362023-January2023-January113696
1372023-January2023-January113696
1382023-January2023-January113696
1392023-January2023-January113696
1402023-January2023-January113696
1412023-January2023-January113696
1422023-January2023-January113696
1432023-January2023-January113696
1442023-January2023-January113696
1452023-January2023-January113696
1462023-January2023-January113696
1472023-January2023-January113696
1482023-January2023-January113696
1492023-January2023-January113696
1502023-January2023-January113696
1512023-January2023-January113696
1522023-January2023-January113696
1532023-January2023-January113696
1542023-January2023-January113696
1552023-January2023-January113696
1562023-January2023-January113696
1572023-January2023-January113696
1582023-January2023-January113696
1592023-January2023-January113696
1602023-January2023-January113696
1612023-January2023-January113696
1622023-January2023-January113696
1632023-January2023-January113696
1642023-January2023-January113696
1652023-January2023-January113696
1662023-January2023-January113696
1672023-January2023-January113696
1682023-January2023-January113696
1692023-January2023-January113696
1702023-January2023-January113696
1712023-January2023-January113696
1722023-January2023-January113696
1732023-January2023-January113696
1742023-January2023-January113696
1752023-January2023-January113696
1762023-January2023-January113696
1772023-January2023-January113696
1782023-January2023-January113696
1792023-January2023-January113696
1802023-January2023-January113696
1812023-January2023-January113696
1822023-January2023-January113696
1832023-January2023-January113696
1842023-January2023-January113696
1852023-January2023-January113696
1862023-January2023-January113696
1872023-January2023-January113696
1882023-January2023-January113696
1892023-January2023-January113696
1902023-January2023-January113696
1912023-January2023-January113696
1922023-January2023-January113696
1932023-January2023-January113696
1942023-January2023-January113696
1952023-January2023-January113696
1962023-January2023-January113696
1972023-January2023-January113696
1982023-January2023-January113696
1992023-January2023-January113696
2002023-January2023-January113696
2012023-January2023-January113696
2022023-January2023-January113696
2032023-January2023-January113696
2042023-January2023-January113696
2052023-January2023-January113696
2062023-January2023-January113696
2072023-January2023-January113696
2082023-January2023-January113696
2092023-January2023-January113696
2102023-January2023-January113696
2112023-January2023-January113696
2122023-January2023-January113696
2132023-January2023-January113696
2142023-January2023-January113696
2152023-January2023-January113696
2162023-January2023-January113696
2172023-January2023-January113696
2182023-January2023-January113696
2192023-January2023-January113696
2202023-January2023-January113696
2212023-January2023-January113696
2222023-January2023-January113696
2232023-January2023-January113696
2242023-January2023-January113696
2252023-January2023-January113696
2262023-January2023-January113696
2272023-January2023-January113696
2282023-January2023-January113696
2292023-January2023-January113696
2302023-January2023-January113696
2312023-January2023-January113696
2322023-January2023-January113696
2332023-January2023-January113696
2342023-January2023-January113696
2352023-January2023-January113696
2362023-January2023-January113696
2372023-January2023-January113696
2382023-January2023-January113696
2392023-January2023-January113696
2402023-January2023-January113696
2412023-January2023-January0
2422023-January2023-January0
2432023-January2023-January0
2442023-January2023-January0
2452023-January2023-January0
2462023-January2023-January0
2472023-January2023-January0
2482023-January2023-January0
2492023-January2023-January0
2502023-January2023-January0
2512023-January2023-January0
2522023-January2023-January0
2532023-January2023-January0
2542023-January2023-January0
2552023-January2023-January0
2562023-January2023-January0
2572023-January2023-January0
2582023-January2023-January0
2592023-January2023-January0
2602023-January2023-January0
2612023-January2023-January0
2622023-January2023-January0
2632023-January2023-January0
2642023-January2023-January0
2652023-January2023-January0
2662023-January2023-January0
2672023-January2023-January0
2682023-January2023-January0
2692023-January2023-January0
2702023-January2023-January0
2712023-January2023-January0
2722023-January2023-January0
2732023-January2023-January0
2742023-January2023-January0
2752023-January2023-January0
2762023-January2023-January0
2772023-January2023-January0
2782023-January2023-January0
2792023-January2023-January0
2802023-January2023-January0
2812023-January2023-January0
2822023-January2023-January0
2832023-January2023-January0
2842023-January2023-January0
2852023-January2023-January0
2862023-January2023-January0
2872023-January2023-January0
2882023-January2023-January0
2892023-January2023-January0
2902023-January2023-January0
2912023-January2023-January0
2922023-January2023-January0
2932023-January2023-January0
2942023-January2023-January0
2952023-January2023-January0
2962023-January2023-January0
2972023-January2023-January0
2982023-January2023-January0
2992023-January2023-January0
3002023-January2023-January0
3012023-January2023-January0
3022023-January2023-January0
3032023-January2023-January0
3042023-January2023-January0
3052023-January2023-January0
3062023-January2023-January0
3072023-January2023-January0
3082023-January2023-January143978
3092023-January2023-January0
3102023-January2023-January0
3112023-January2023-January0
3122023-January2023-January0
3132023-January2023-January0
3142023-January2023-January0
3152023-January2023-January0
3162023-January2023-January0
3172023-January2023-January0
3182023-January2023-January0
3192023-January2023-January0
3202023-January2023-January0
3212023-January2023-January0
3222023-January2023-January0
3232023-January2023-January0
3242023-January2023-January0
3252023-January2023-January0
3262023-January2023-January0
3272023-January2023-January0
3282023-January2023-January0
3292023-January2023-January0
Sheet7
Cell Formulas
RangeFormula
H3,H10H3=G3-F3
F10F10=INDEX(FILTER(($C$2:$C$329),(--(E10=TEXT($B$329,"yyyy-mmmm")))*(--($C$2:$C$329>0)),""),1)
G10G10=INDEX(FILTER(($C$2:$C$329),(--(E10=TEXT($B$329,"yyyy-mmmm")))*(--($C$2:$C$329>0)),""),COUNTA(FILTER(($C$2:$C$329),(--(E10=TEXT($B$329,"yyyy-mmmm")))*(--($C$2:$C$329>0)),"")))
B2:B329B2=DATE(2023,1,1)
 
Upvote 0
I did the date conversion in column B as i was unsure if you use that actual text string in you rmain data, or if you have converted it to text for you lookups. You do not really need to convert dates to text in the raw data.
 
Upvote 0
I had left it as is:
Book1
ABCDEFG
1Year-MonthValuesYear-MonthFirst ValueLast ValueLast Value Minus First Value
22023-January02022-December  
32023-January02023-January8067714397863301
42023-January02023-February  
52023-January02023-March  
62023-January0
72023-January0
82023-January0
92023-January0
102023-January0
112023-January0
122023-January0
132023-January0
142023-January0
152023-January0
162023-January0
172023-January0
182023-January0
192023-January0
202023-January80677
212023-January80677
222023-January82045
232023-January83111
242023-January84436
252023-January84966
262023-January85517
272023-January87034
282023-January88882
292023-January90166
302023-January91489
312023-January93671
322023-January95471
332023-January97393
342023-January99085
352023-January100910
362023-January102711
372023-January104631
382023-January106435
392023-January108332
402023-January110279
412023-January111740
422023-January113617
432023-January113696
442023-January113696
452023-January113696
462023-January113696
472023-January113696
482023-January113696
492023-January113696
502023-January113696
512023-January113696
522023-January113696
532023-January113696
542023-January113696
552023-January113696
562023-January113696
572023-January113696
582023-January113696
592023-January113696
602023-January113696
612023-January113696
622023-January113696
632023-January113696
642023-January113696
652023-January113696
662023-January113696
672023-January113696
682023-January113696
692023-January113696
702023-January113696
712023-January113696
722023-January113696
732023-January113696
742023-January113696
752023-January113696
762023-January113696
772023-January113696
782023-January113696
792023-January113696
802023-January113696
812023-January113696
822023-January113696
832023-January113696
842023-January113696
852023-January113696
862023-January113696
872023-January113696
882023-January113696
892023-January113696
902023-January113696
912023-January113696
922023-January113696
932023-January113696
942023-January113696
952023-January113696
962023-January113696
972023-January113696
982023-January113696
992023-January113696
1002023-January113696
1012023-January113696
1022023-January113696
1032023-January113696
1042023-January113696
1052023-January113696
1062023-January113696
1072023-January113696
1082023-January113696
1092023-January113696
1102023-January113696
1112023-January113696
1122023-January113696
1132023-January113696
1142023-January113696
1152023-January113696
1162023-January113696
1172023-January113696
1182023-January113696
1192023-January113696
1202023-January113696
1212023-January113696
1222023-January113696
1232023-January113696
1242023-January113696
1252023-January113696
1262023-January113696
1272023-January113696
1282023-January113696
1292023-January113696
1302023-January113696
1312023-January113696
1322023-January113696
1332023-January113696
1342023-January113696
1352023-January113696
1362023-January113696
1372023-January113696
1382023-January113696
1392023-January113696
1402023-January113696
1412023-January113696
1422023-January113696
1432023-January113696
1442023-January113696
1452023-January113696
1462023-January113696
1472023-January113696
1482023-January113696
1492023-January113696
1502023-January113696
1512023-January113696
1522023-January113696
1532023-January113696
1542023-January113696
1552023-January113696
1562023-January113696
1572023-January113696
1582023-January113696
1592023-January113696
1602023-January113696
1612023-January113696
1622023-January113696
1632023-January113696
1642023-January113696
1652023-January113696
1662023-January113696
1672023-January113696
1682023-January113696
1692023-January113696
1702023-January113696
1712023-January113696
1722023-January113696
1732023-January113696
1742023-January113696
1752023-January113696
1762023-January113696
1772023-January113696
1782023-January113696
1792023-January113696
1802023-January113696
1812023-January113696
1822023-January113696
1832023-January113696
1842023-January113696
1852023-January113696
1862023-January113696
1872023-January113696
1882023-January113696
1892023-January113696
1902023-January113696
1912023-January113696
1922023-January113696
1932023-January113696
1942023-January113696
1952023-January113696
1962023-January113696
1972023-January113696
1982023-January113696
1992023-January113696
2002023-January113696
2012023-January113696
2022023-January113696
2032023-January113696
2042023-January113696
2052023-January113696
2062023-January113696
2072023-January113696
2082023-January113696
2092023-January113696
2102023-January113696
2112023-January113696
2122023-January113696
2132023-January113696
2142023-January113696
2152023-January113696
2162023-January113696
2172023-January113696
2182023-January113696
2192023-January113696
2202023-January113696
2212023-January113696
2222023-January113696
2232023-January113696
2242023-January113696
2252023-January113696
2262023-January113696
2272023-January113696
2282023-January113696
2292023-January113696
2302023-January113696
2312023-January113696
2322023-January113696
2332023-January113696
2342023-January113696
2352023-January113696
2362023-January113696
2372023-January113696
2382023-January113696
2392023-January113696
2402023-January113696
2412023-January0
2422023-January0
2432023-January0
2442023-January0
2452023-January0
2462023-January0
2472023-January0
2482023-January0
2492023-January0
2502023-January0
2512023-January0
2522023-January0
2532023-January0
2542023-January0
2552023-January0
2562023-January0
2572023-January0
2582023-January0
2592023-January0
2602023-January0
2612023-January0
2622023-January0
2632023-January0
2642023-January0
2652023-January0
2662023-January0
2672023-January0
2682023-January0
2692023-January0
2702023-January0
2712023-January0
2722023-January0
2732023-January0
2742023-January0
2752023-January0
2762023-January0
2772023-January0
2782023-January0
2792023-January0
2802023-January0
2812023-January0
2822023-January0
2832023-January0
2842023-January0
2852023-January0
2862023-January0
2872023-January0
2882023-January0
2892023-January0
2902023-January0
2912023-January0
2922023-January0
2932023-January0
2942023-January0
2952023-January0
2962023-January0
2972023-January0
2982023-January0
2992023-January0
3002023-January0
3012023-January0
3022023-January0
3032023-January0
3042023-January0
3052023-January0
3062023-January0
3072023-January0
3082023-January143978
3092023-January0
3102023-January0
3112023-January0
3122023-January0
3132023-January0
3142023-January0
3152023-January0
3162023-January0
3172023-January0
3182023-January0
3192023-January0
3202023-January0
3212023-January0
3222023-January0
3232023-January0
3242023-January0
3252023-January0
3262023-January0
3272023-January0
3282023-January0
3292023-January0
Sheet1
Cell Formulas
RangeFormula
E2:E5E2=IFERROR(TAKE(FILTER($B$2:$B$330,(A2:A330=$D2)*($B$2:$B$330>0)),1),"")
F2:F5F2=IFERROR(LET(f,FILTER($B$2:$B$330,($A$2:$A$330=$D2)*($B$2:$B$330>0)),DROP(f,ROWS(f)-1)),"")
G3G3=F3-E3
 
Upvote 0
I had left it as is:
Book1
ABCDEFG
1Year-MonthValuesYear-MonthFirst ValueLast ValueLast Value Minus First Value
22023-January02022-December  
32023-January02023-January8067714397863301
42023-January02023-February  
52023-January02023-March  
62023-January0
72023-January0
82023-January0
92023-January0
102023-January0
112023-January0
122023-January0
132023-January0
142023-January0
152023-January0
162023-January0
172023-January0
182023-January0
192023-January0
202023-January80677
212023-January80677
222023-January82045
232023-January83111
242023-January84436
252023-January84966
262023-January85517
272023-January87034
282023-January88882
292023-January90166
302023-January91489
312023-January93671
322023-January95471
332023-January97393
342023-January99085
352023-January100910
362023-January102711
372023-January104631
382023-January106435
392023-January108332
402023-January110279
412023-January111740
422023-January113617
432023-January113696
442023-January113696
452023-January113696
462023-January113696
472023-January113696
482023-January113696
492023-January113696
502023-January113696
512023-January113696
522023-January113696
532023-January113696
542023-January113696
552023-January113696
562023-January113696
572023-January113696
582023-January113696
592023-January113696
602023-January113696
612023-January113696
622023-January113696
632023-January113696
642023-January113696
652023-January113696
662023-January113696
672023-January113696
682023-January113696
692023-January113696
702023-January113696
712023-January113696
722023-January113696
732023-January113696
742023-January113696
752023-January113696
762023-January113696
772023-January113696
782023-January113696
792023-January113696
802023-January113696
812023-January113696
822023-January113696
832023-January113696
842023-January113696
852023-January113696
862023-January113696
872023-January113696
882023-January113696
892023-January113696
902023-January113696
912023-January113696
922023-January113696
932023-January113696
942023-January113696
952023-January113696
962023-January113696
972023-January113696
982023-January113696
992023-January113696
1002023-January113696
1012023-January113696
1022023-January113696
1032023-January113696
1042023-January113696
1052023-January113696
1062023-January113696
1072023-January113696
1082023-January113696
1092023-January113696
1102023-January113696
1112023-January113696
1122023-January113696
1132023-January113696
1142023-January113696
1152023-January113696
1162023-January113696
1172023-January113696
1182023-January113696
1192023-January113696
1202023-January113696
1212023-January113696
1222023-January113696
1232023-January113696
1242023-January113696
1252023-January113696
1262023-January113696
1272023-January113696
1282023-January113696
1292023-January113696
1302023-January113696
1312023-January113696
1322023-January113696
1332023-January113696
1342023-January113696
1352023-January113696
1362023-January113696
1372023-January113696
1382023-January113696
1392023-January113696
1402023-January113696
1412023-January113696
1422023-January113696
1432023-January113696
1442023-January113696
1452023-January113696
1462023-January113696
1472023-January113696
1482023-January113696
1492023-January113696
1502023-January113696
1512023-January113696
1522023-January113696
1532023-January113696
1542023-January113696
1552023-January113696
1562023-January113696
1572023-January113696
1582023-January113696
1592023-January113696
1602023-January113696
1612023-January113696
1622023-January113696
1632023-January113696
1642023-January113696
1652023-January113696
1662023-January113696
1672023-January113696
1682023-January113696
1692023-January113696
1702023-January113696
1712023-January113696
1722023-January113696
1732023-January113696
1742023-January113696
1752023-January113696
1762023-January113696
1772023-January113696
1782023-January113696
1792023-January113696
1802023-January113696
1812023-January113696
1822023-January113696
1832023-January113696
1842023-January113696
1852023-January113696
1862023-January113696
1872023-January113696
1882023-January113696
1892023-January113696
1902023-January113696
1912023-January113696
1922023-January113696
1932023-January113696
1942023-January113696
1952023-January113696
1962023-January113696
1972023-January113696
1982023-January113696
1992023-January113696
2002023-January113696
2012023-January113696
2022023-January113696
2032023-January113696
2042023-January113696
2052023-January113696
2062023-January113696
2072023-January113696
2082023-January113696
2092023-January113696
2102023-January113696
2112023-January113696
2122023-January113696
2132023-January113696
2142023-January113696
2152023-January113696
2162023-January113696
2172023-January113696
2182023-January113696
2192023-January113696
2202023-January113696
2212023-January113696
2222023-January113696
2232023-January113696
2242023-January113696
2252023-January113696
2262023-January113696
2272023-January113696
2282023-January113696
2292023-January113696
2302023-January113696
2312023-January113696
2322023-January113696
2332023-January113696
2342023-January113696
2352023-January113696
2362023-January113696
2372023-January113696
2382023-January113696
2392023-January113696
2402023-January113696
2412023-January0
2422023-January0
2432023-January0
2442023-January0
2452023-January0
2462023-January0
2472023-January0
2482023-January0
2492023-January0
2502023-January0
2512023-January0
2522023-January0
2532023-January0
2542023-January0
2552023-January0
2562023-January0
2572023-January0
2582023-January0
2592023-January0
2602023-January0
2612023-January0
2622023-January0
2632023-January0
2642023-January0
2652023-January0
2662023-January0
2672023-January0
2682023-January0
2692023-January0
2702023-January0
2712023-January0
2722023-January0
2732023-January0
2742023-January0
2752023-January0
2762023-January0
2772023-January0
2782023-January0
2792023-January0
2802023-January0
2812023-January0
2822023-January0
2832023-January0
2842023-January0
2852023-January0
2862023-January0
2872023-January0
2882023-January0
2892023-January0
2902023-January0
2912023-January0
2922023-January0
2932023-January0
2942023-January0
2952023-January0
2962023-January0
2972023-January0
2982023-January0
2992023-January0
3002023-January0
3012023-January0
3022023-January0
3032023-January0
3042023-January0
3052023-January0
3062023-January0
3072023-January0
3082023-January143978
3092023-January0
3102023-January0
3112023-January0
3122023-January0
3132023-January0
3142023-January0
3152023-January0
3162023-January0
3172023-January0
3182023-January0
3192023-January0
3202023-January0
3212023-January0
3222023-January0
3232023-January0
3242023-January0
3252023-January0
3262023-January0
3272023-January0
3282023-January0
3292023-January0
Sheet1
Cell Formulas
RangeFormula
E2:E5E2=IFERROR(TAKE(FILTER($B$2:$B$330,(A2:A330=$D2)*($B$2:$B$330>0)),1),"")
F2:F5F2=IFERROR(LET(f,FILTER($B$2:$B$330,($A$2:$A$330=$D2)*($B$2:$B$330>0)),DROP(f,ROWS(f)-1)),"")
G3G3=F3-E3
That worked a treat, thank you so much Georgiboy! Thank you as well awoohaw! I can't add any additional columns to the file, otherwise your solution would have worked, too. Blows me away what you folks can come up with.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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