Data Extraction

Gusher

Board Regular
Joined
Aug 21, 2011
Messages
199
Hi

In Column A I have daily dates , in column B i have values. In Column C I have month end dates. In Column D i need a formula that for any given month end date in column C will return the LAST available value (Column B) for that month from the dates in column A. So for example if 29th June 2000 is the last date form June 2000 in column A the data in Colmn B for that date will be returned.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Is this what you mean? If not more specific detail and/or examples would help

Excel Workbook
ABCDE
1DailyValueMonth EndValueMonth End
225/06/2019130/06/2019530/06/2019
326/06/2019230/06/20191231/07/2019
427/06/2019330/06/2019
528/06/2019430/06/2019
629/06/2019530/06/2019
71/07/2019631/07/2019
82/07/2019731/07/2019
93/07/2019831/07/2019
104/07/2019931/07/2019
115/07/20191031/07/2019
126/07/20191131/07/2019
137/07/20191231/07/2019
14
Last of month
 
Last edited:
Upvote 0
Another option.
You can get the end of the month dates, day and value with a pivot table.


60620ecba78f8301f44b39194df6c497.jpg
 
Upvote 0
.. also, if you only have the end-of-month dates in column C for this purpose and your 'daily dates' are in chronological order, you don't need column C.

Excel Workbook
ABCDE
1DailyValueValueMonth End
225/06/20191530/06/2019
326/06/201921231/07/2019
427/06/20193
528/06/20194
629/06/20195
71/07/20196
82/07/20197
93/07/20198
104/07/20199
115/07/201910
126/07/201911
137/07/201912
14
Last of month (2)
 
Upvote 0

Forum statistics

Threads
1,214,515
Messages
6,119,970
Members
448,933
Latest member
Bluedbw

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