I have a workbook where I would like to enter the date of the starting month when the workbook is being used, and I want it to calculate in the next cell across the ending of that month.
Please help!
I have a workbook where I would like to enter the date of the starting month when the workbook is being used, and I want it to calculate in the next cell across the ending of that month.
Please help!
Last edited by famico78; 12-15-2008 at 07:50 AM.
You don't specify anything restrictive, so if you just want the last day of the month shown for you, this formula will do that:
This looks for your date in cell A1. Adjust to suit your needs.![]()
Please Login or Register to view this content.
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Thats great thanks. How would I use this as an if function to not show false.
This is how I have used it so far =IF(V17,DATE(YEAR(AA17),MONTH(AA17)+1,0))
But I don't want false to show if v17 is blank.
Please help.
That's cool I got it.
=IF(V17,DATE(YEAR(AA17),MONTH(AA17)+1,0),IF(V17,"",""))
Thanks JBeaucaire
You don't need the last IF, try
=IF(V17,DATE(YEAR(AA17),MONTH(AA17)+1,0),"")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks