Thanks brilliant!! I just dont know how you guys ca figure this out so fast.!!
On Nov 7, 2:34 pm, Sam Mathai Chacko <samde...@gmail.com> wrote: > If you plan to share this file among other members or across computers, > would recommend using an original first party formula to be on the safer > side, than run a risk with the EOMONTH formula that requires an analysis > pack to be installed. > > Use =DATE($P$1,MONTH("1-"&$A8&"-"&$P$1&"")+1,0) > > Regards, > > Sam Mathai Chacko > > > > > > On Tue, Nov 8, 2011 at 1:43 AM, dguillett1 <dguille...@gmail.com> wrote: > > Assuming you DO have the analysis toolpak installed or can otherwise use > > the EOMONTH function, then this will do copied into each moth end block > > where a8, a29, etc. has the month spelled out. Cell p1 should now refer to > > the YEAR only. > > > =EOMONTH("1-"&$A8&"-"&$P$1&"",**0) > > > Don Guillett > > SalesAid Software > > dguille...@gmail.com > > -----Original Message----- From: dguillett1 > > Sent: Monday, November 07, 2011 12:31 PM > > To: excel-macros@googlegroups.com > > Subject: Re: $$Excel-Macros$$ Calculate End of the Month and than lock in > > that date in a cell > > > This should be easily doable. If desired, send forward this msg to > > dguillett1 @gmail.com and attach your file. > > > Don Guillett > > SalesAid Software > > dguille...@gmail.com > > -----Original Message----- From: Dave > > Sent: Monday, November 07, 2011 12:21 PM > > To: MS EXCEL AND VBA MACROS > > Subject: $$Excel-Macros$$ Calculate End of the Month and than lock in that > > date in a cell > > > Hi experts, > > > I have a spreadsheet in which employees record their daily work > > inventory. I have 12 sections for each month. > > I calculate the end of the month for each month by using the formula > > below in cell i8. > > > =DATE(YEAR(P2),1+MONTH(P2),1)-**1 > > > In P2 I have the formula =TODAY() > > > My issue is that lets say when I am done calculating the end of the > > month for lets say May than I want that value to remain fixed and not > > change when the value in P2 changes next month. > > > So thanks for all your help > > > I will try to load a spreadsheet called test.xlsm. > > > Dave > > > -- > > FORUM RULES (925+ members already BANNED for violation) > > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > > will > > not get quick attention or may not be answered. > > > 2) Don't post a question in the thread of another member. > > > 3) Don't post questions regarding breaking or bypassing any security > > measure. > > > 4) Acknowledge the responses you receive, good or bad. > > > 5) Cross-promotion of, or links to, forums competitive to this forum in > > signatures are prohibited. > > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > > owners and members are not responsible for any loss. > > > ------------------------------**------------------------------** > > ------------------------------**------------ > > To post to this group, send email to excel-macros@googlegroups.com > > -- > > FORUM RULES (925+ members already BANNED for violation) > > > 1) Use concise, accurate thread titles. Poor thread titles, like Please > > Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice > > will not get quick attention or may not be answered. > > > 2) Don't post a question in the thread of another member. > > > 3) Don't post questions regarding breaking or bypassing any security > > measure. > > > 4) Acknowledge the responses you receive, good or bad. > > > 5) Cross-promotion of, or links to, forums competitive to this forum in > > signatures are prohibited. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > > owners and members are not responsible for any loss. > > > ------------------------------**------------------------------** > > ------------------------------**------------ > > To post to this group, send email to excel-macros@googlegroups.com > > -- > Sam Mathai Chacko- Hide quoted text - > > - Show quoted text - -- FORUM RULES (925+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com