End of Month convertion

%3CLINGO-SUB%20id%3D%22lingo-sub-1743056%22%20slang%3D%22en-US%22%3EEnd%20of%20Month%20convertion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1743056%22%20slang%3D%22en-US%22%3E%3CP%3EHello!%20Small%20question..%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20work%20in%20retail%20and%20I%20need%20to%20keep%20track%20of%20dates%20for%20products%20that%20we%20sell%20in%20the%20supermarket.%20I%20want%20to%20do%20that%20in%20an%20excel%20file%20and%20have%20a%20neat%20overview%20when%20something%20goes%20out%20of%20date%20and%20if%20that's%20anytime%20soon%20or%20not.%20I%20want%20to%20implement%20that%20with%20formulas%20(between%20%3DTODAY()%20and%20%3DTODAY()%2B30%20lights%20up%20red%2C%20between%20%3DTODAY()%2B30%20and%20%3DTODAY()%2B60%20lights%20up%20yellow%20and%20more%20of%20that).%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20when%20I%20enter%20dates%2C%20some%20products%20that%20I%20enter%20only%20show%20the%20month%20and%20year%20instead%20of%20the%20exact%20date.%20When%20I%20enter%20that%20in%20excel%3A%20let's%20say%2011-2020%2C%20it%20shows%20up%20as%20nov-20%2C%20but%20in%20the%20formula%20bar%2C%20it%20shows%20as%201-11-20.%20Now%2C%20of%20course%2C%20a%20product%20that%20says%20nov-20%20can%20be%20sold%20throughout%20the%20whole%20of%20November%2C%20but%20with%20the%20formulas%20and%20the%20dates%2C%20that%20creates%20a%20little%20confusion%2C%20as%20for%20the%20month%20October%20at%20this%20point%2C%20there%20is%20no%20red%20colour%20anymore%2C%20because%20it%20has%20been%20converted%20to%201-10-2020%2C%20instead%20of%2031-10-2020.%20The%20fun%20part%20in%20this%20is%3A%20I%20can%20manually%20change%20it%20in%20the%20formula%20bar%20to%2031-10-2020%20and%20then%20it%20gives%20the%20red%20colour%20again%20and%20it%20still%20shows%20up%20as%20oct-20%2C%20but%20to%20do%20that%20for%20hundreds%20of%20products%20manually%2C%20is%20a%20bit%20of%20a%20reach.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20question%3A%20Is%20there%20any%20possible%20way%20that%20-%20if%20you%20enter%20month%2Byear%20in%20the%20space%20-%20the%20date%20automatically%20converts%20to%20the%20end%20of%20the%20month%20in%20the%20formula%20bar%2C%20so%20that%20there%20is%20less%20confusion%20with%20the%20colour%20scheme%20and%20it%20gets%20a%20better%20overview%2C%20or%20do%20I%20need%20to%20manually%20change%20everything%20and%20keep%20track%20of%20it%20that%20way%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBjorn%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1743056%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1743078%22%20slang%3D%22de-DE%22%3ESubject%3A%20End%20of%20Month%20convertion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1743078%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F819274%22%20target%3D%22_blank%22%3E%40BjornBjorg%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EThere%20are%20many%20ready-made%20templates%2C%20why%20create%20one%20when%20there%20are%20so%20many%20and%20good%20ones%20already%3F%3C%2FSPAN%3E%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EIf%20I%20may%20recommend%20you%2C%20take%20a%20pre-made%20template%20that%20could%20fit%20and%20modify%20it%20to%20suit%20your%20project.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CFONT%20size%3D%224%22%3EDownload%20free%2C%20pre-built%20templates%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3EExcel%20for%20Microsoft%20365%20Word%20for%20Microsoft%20365%20PowerPoint%20for%20Microsoft%20365%20Publisher%20for%20Microsoft%20365%20Access%20for%20Microsoft%20365%20Visio%20Professional%202016%20Visio%202013%20Visio%202010%20Excel%202019%20Word%202019%20PowerPoint%202019%20Publisher%202019%20Access%202019%20Project%20Professional%202019%20Excel%202016%20Word%202016%20PowerPoint%202016%20Publisher%202016%20Access%202016%20InfoPath%202013%20Project%20Professional%202016%20Excel%202013%20Word%202013%20PowerPoint%202013%20Publisher%202013%20Access%202013%20Excel%202010%20Word%202010%20PowerPoint%202010%20Access%202010%20Publisher%202010%20Project%202010%20InfoPath%202010%20Excel%202007%20Word%202007%20Project%20Online%20Desktop%20Client%20Standard%202016%20Standard%20Project%202019%20Less%20Less%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fdownload-free-pre-built-templates-29f2a18d-29a6-4a07-998b-cfe5ff7ffbbb%3Fui%3Den-us%26amp%3Brs%3Den-us%26amp%3Bad%3Dus%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fdownload-free-pre-built-templates-29f2a18d-29a6-4a07-998b-cfe5ff7ffbbb%3Fui%3Den-us%26amp%3Brs%3Den-us%26amp%3Bad%3Dus%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%224%22%3E%3CSPAN%20class%3D%22tlid-translation%20translation%22%3E%3CSPAN%20class%3D%22%22%3EHere%20are%20two%20examples%20from%20Microsoft's%20template%20reservoir.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20be%20happy%20to%20know%20if%20I%20could%20help.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENikolino%3C%2FP%3E%3CP%3EI%20know%20I%20don't%20know%20anything%20(Socrates)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%20size%3D%222%22%3E*%20Kindly%20Mark%20and%20Vote%20this%20reply%20if%20it%20helps%20please%2C%20as%20it%20will%20be%20beneficial%20to%20more%20community%20members%20reading%20here.%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1743215%22%20slang%3D%22en-US%22%3ERe%3A%20End%20of%20Month%20convertion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1743215%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F819274%22%20target%3D%22_blank%22%3E%40BjornBjorg%3C%2FA%3E%26nbsp%3BAdd%20another%20column%20and%20enter%20(assuming%20the%20first%20date%20is%20in%20A1)%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DEOMONTH(A1%2C0)%0A%0Aor%2C%20in%20Dutch%3A%0A%0A%3DLAATSTE.DAG(A1%3B0)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3Band%20copy%20it%20down%20as%20far%20as%20needed.%20Apply%20conditional%20formatting%20to%20this%20new%20column.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Visitor

Hello! Small question..

 

I work in retail and I need to keep track of dates for products that we sell in the supermarket. I want to do that in an excel file and have a neat overview when something goes out of date and if that's anytime soon or not. I want to implement that with formulas (between =TODAY() and =TODAY()+30 lights up red, between =TODAY()+30 and =TODAY()+60 lights up yellow and more of that). 

 

Now when I enter dates, some products that I enter only show the month and year instead of the exact date. When I enter that in excel: let's say 11-2020, it shows up as nov-20, but in the formula bar, it shows as 1-11-20. Now, of course, a product that says nov-20 can be sold throughout the whole of November, but with the formulas and the dates, that creates a little confusion, as for the month October at this point, there is no red colour anymore, because it has been converted to 1-10-2020, instead of 31-10-2020. The fun part in this is: I can manually change it in the formula bar to 31-10-2020 and then it gives the red colour again and it still shows up as oct-20, but to do that for hundreds of products manually, is a bit of a reach.

 

The question: Is there any possible way that - if you enter month+year in the space - the date automatically converts to the end of the month in the formula bar, so that there is less confusion with the colour scheme and it gets a better overview, or do I need to manually change everything and keep track of it that way?

 

Thank you in advance!

 

Bjorn

2 Replies
Highlighted

@BjornBjorg 

 

There are many ready-made templates, why create one when there are so many and good ones already?

If I may recommend you, take a pre-made template that could fit and modify it to suit your project.


Download free, pre-built templates
Excel for Microsoft 365 Word for Microsoft 365 PowerPoint for Microsoft 365 Publisher for Microsoft 365 Access for Microsoft 365 Visio Professional 2016 Visio 2013 Visio 2010 Excel 2019 Word 2019 PowerPoint 2019 Publisher 2019 Access 2019 Project Professional 2019 Excel 2016 Word 2016 PowerPoint 2016 Publisher 2016 Access 2016 InfoPath 2013 Project Professional 2016 Excel 2013 Word 2013 PowerPoint 2013 Publisher 2013 Access 2013 Excel 2010 Word 2010 PowerPoint 2010 Access 2010 Publisher 2010 Project 2010 InfoPath 2010 Excel 2007 Word 2007 Project Online Desktop Client Project Standard 2016 Project Standard 2019 Less

https://support.microsoft.com/en-us/office/download-free-pre-built-templates-29f2a18d-29a6-4a07-998b...

 

Here are two examples from Microsoft's template reservoir.

 

 

I would be happy to know if I could help.

 

Nikolino

I know I don't know anything (Socrates)

 

* Kindly Mark and Vote this reply if it helps please, as it will be beneficial to more Community members reading here.

Highlighted

@BjornBjorg Add another column and enter (assuming the first date is in A1):

 

=EOMONTH(A1,0)

or, in Dutch:

=LAATSTE.DAG(A1;0)

 

 and copy it down as far as needed. Apply conditional formatting to this new column.