Hallo. I have daily dates for two years, how do I create month IDs for order of da monthys? Thanks!!
Hallo. I have daily dates for two years, how do I create month IDs for order of da monthys? Thanks!!
Guessing at this. In a helper column =Month(CellReference)
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
If you want the month ID to be readable text, here is an option:
=LOOKUP(MONTH(A1),{1,2,3,4,5,6,7,8,9,10,11,12},{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"})
Palmetto
Do you know . . . ?
You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Well, yes . . . a bit of a mouthful. Intent was just to throw out an alternate method to demo there is more than one way to skin a cat (sorry (not really) PETA).
But if we really want to shorten it, why not just use =A1, then format the cell date as "M" for a number or Custom Format using [$-409]mmm;@ for text.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks