How to get the last date for each 12 Mths?

Mathman

Board Regular
Joined
Jan 28, 2017
Messages
152
Office Version
  1. 2016
Platform
  1. Windows
Hi


Would you know how I would get the last (highest day) value for each months?


IN the example for the month of January the last date is January 28 and I need to get the value next to it which is 162.


I need a formulae range that would include the entire year that gets the values for each month so I can cut and past it over other years with no need for adjustment.


Here is the example. If you can help that would be great!


Thank you


Col ACol BCol CCol D
2016ValueMthsResults
7-Jan-12$ 147.00 January$ 162.00
14-Jan-12$ 148.00 February$ 175.00
21-Jan-12$ 149.00 March
28-Jan-12$ 162.00 April
4-Feb-12$ 188.00 May
11-Feb-12$ 195.00 June
19-Feb-12$ 202.00 July
25-Feb-12$ 175.00 August
3-Mar-12$ 191.00 September
10-Mar-12$ 200.00 October
17-Mar-12$ 186.00 November
24-Mar-12$ 189.00 December
30-Mar-12$ 190.00
7-Apr-12$ 200.00
14-Apr-12$ 211.00
21-Apr-12$ 205.00
28-Apr-12$ 231.00
5-May-12$ 232.00
12-May-12$ 232.00
19-May-12$ 236.00
26-May-12$ 210.00
2-Jun-12$ 238.00
9-Jun-12$ 251.00
16-Jun-12$ 266.00
23-Jun-12$ 268.00
29-Jun-12$ 281.00
7-Jul-12$ 306.00
14-Jul-12$ 326.00
22-Jul-12$ 316.00
29-Jul-12$ 331.00
4-Aug-12$ 331.00
11-Aug-12$ 318.00
18-Aug-12$ 297.00
25-Aug-12$ 274.00
1-Sep-12$ 289.00
8-Sep-12$ 284.00
16-Sep-12$ 279.00
23-Sep-12$ 291.00
29-Sep-12$ 282.00
6-Oct-12$ 259.00
13-Oct-12$ 256.00
20-Oct-12$ 278.00
28-Oct-12$ 259.00
3-Nov-12$ 259.00
10-Nov-12$ 197.00
17-Nov-12$ 203.00
24-Nov-12$ 199.00
1-Dec-12$ 209.00
8-Dec-12$ 225.00
15-Dec-12$ 202.00
22-Dec-12$ 217.00
29-Dec-12$ 233.00

<tbody>
</tbody>
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Book1
ABCD
12016ValueMthsResults
207-Jan-12$ 147.00January$ 162.00
314-Jan-12$ 148.00February$ 175.00
421-Jan-12$ 149.00March$ 190.00
528-Jan-12$ 162.00April$ 231.00
604-Feb-12$ 188.00May$ 210.00
711-Feb-12$ 195.00June$ 281.00
819-Feb-12$ 202.00July$ 331.00
925-Feb-12$ 175.00August$ 274.00
1003-Mar-12$ 191.00September$ 282.00
1110-Mar-12$ 200.00October$ 259.00
1217-Mar-12$ 186.00November$ 199.00
1324-Mar-12$ 189.00December$ 233.00
1430-Mar-12$ 190.00
1507-Apr-12$ 200.00
1614-Apr-12$ 211.00
1721-Apr-12$ 205.00
1828-Apr-12$ 231.00
1905-May-12$ 232.00
2012-May-12$ 232.00
2119-May-12$ 236.00
2226-May-12$ 210.00
2302-Jun-12$ 238.00
2409-Jun-12$ 251.00
2516-Jun-12$ 266.00
2623-Jun-12$ 268.00
2729-Jun-12$ 281.00
2807-Jul-12$ 306.00
2914-Jul-12$ 326.00
3022-Jul-12$ 316.00
3129-Jul-12$ 331.00
3204-Aug-12$ 331.00
3311-Aug-12$ 318.00
3418-Aug-12$ 297.00
3525-Aug-12$ 274.00
3601-Sep-12$ 289.00
3708-Sep-12$ 284.00
3816-Sep-12$ 279.00
3923-Sep-12$ 291.00
4029-Sep-12$ 282.00
4106-Oct-12$ 259.00
4213-Oct-12$ 256.00
4320-Oct-12$ 278.00
4428-Oct-12$ 259.00
4503-Nov-12$ 259.00
4610-Nov-12$ 197.00
4717-Nov-12$ 203.00
4824-Nov-12$ 199.00
4901-Dec-12$ 209.00
5008-Dec-12$ 225.00
5115-Dec-12$ 202.00
5222-Dec-12$ 217.00
5329-Dec-12$ 233.00
Sheet1
Cell Formulas
RangeFormula
D2{=INDEX($B$2:$B$53,MAX(IF(MONTH($A$2:$A$53)=ROWS($D$2:$D2),ROW($A$2:$A$53)-ROW($A$2)+1)))}
Press CTRL+SHIFT+ENTER to enter array formulas.


WBD
 
Upvote 0
It works great, thank you very much for your help.

Regards,
MM
 
Upvote 0

Forum statistics

Threads
1,215,586
Messages
6,125,689
Members
449,250
Latest member
azur3

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