Hi,
How do I go about removing the day from a column of dates? I'm not talking about formatting, but actually getting rid of the day values.
Hi,
How do I go about removing the day from a column of dates? I'm not talking about formatting, but actually getting rid of the day values.
Last edited by nanomess; 04-14-2013 at 07:33 PM.
Are the dates currently in there as text? If so, what is the format? This shouldn't be difficult knowing that.
Nope, it's in mmm/yy format, which is how I'd like to have it represented when I use the data for charts and what not, but when in use the day value comes into play too since it still exists even though it's not displayed.
If it's entered as a date (e.g., today is March 14, so it's the number 41378 formatted as "Apr 13" or something to that effect), then I don't believe you can actually remove the day because April 2013 spans the range of numbers from 41365 to 41394. What are you trying to do that you want to remove the day rather than just display it that way?
Another point to consider is that, even if you do extract the "day" portion of the date - say with something like this - =MID(TEXT(TODAY(),"m/dd/yyy"),3,2), you will be left with a text string, which you will not be able to use for calcs and probably not for charts?
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks