Find last date of a month, given only year and month

girapas

Board Regular
Joined
Apr 20, 2004
Messages
150
In Sheet1 I enter a year and a month. Sheet2 is a database. Column A of Sheet2 filled with working dates. Among other things, I want to find the last date of the year's month entered in Sheet1, and get the cell value addressed of the column G and the same row with that last date.
Thanks in advance
 
Great! Thank you. I hope I'm not be demanding, but there's yet a slight problem. I've named public and local holidays as Holidays2012, Holidays2013 etc. to calculate the working dates. Is there any way to include that dates in the formula you gave me?

The one I proposed would need:

=WORKDAY(DATE(B1,B2+1,1),-1,INDIRECT("Holidays"&B1))
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Thanks again, both Rick Rothstein and Aladin Akyurek. The fast and effective help you provide, to all "simple excel lovers" like me, is invaluable!
Happy new year.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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