• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

You think you are the best at working with dates?

diegoxrx

New Member
If A1 is a given date in the past mm/dd/yyyy

I want B2 to show CURRENT Month and Year but the day from A1


For example if today is 11/6/2012 (NOVEMBER,2012)

A1=5/28/2011

B2= 11/28/2012 (NOVEMBER, 2012) and the 28 comes from A1


What formula would you enter in B2?
 
Hi, diegoxrx!


First of all welcome to Chandoo's website Excel forums. Thank you for your joining us and glad to have you here.


As a starting point I'd recommend you to read the three first green sticky topics at this forums main page. There you'll find general guidelines about how this site and community operates (introducing yourself, posting files, netiquette rules, and so on).


Among them you're prompted to perform searches within this site before posting, because maybe your question had been answered yet.


Feel free to play with different keywords so as to be led thru a wide variety of articles and posts, and if you don't find anything that solves your problem or guides you towards a solution, you'll always be welcome back here. Tell us what you've done, consider uploading a sample file as recommended, and somebody surely will read your post and help you.


And about your question...


If you haven't performed yet the search herein, try going to the topmost right zone of this page (Custom Search), type the keywords used in Tags field when creating the topic or other proper words and press Search button. You'd retrieve many links from this website, like the following one(s), maybe you find useful information and even the solution. If not please advise so as people who read it could get back to you as soon as possible.


If you still can't find anything useful maybe you want to give a try with the built-in Excel help and examples. If still having problems try this:


=FECHA(AÑO(HOY());MES(HOY());DIA(A1)) -----> in english: =DATE(YEAR(TODAY()),MONTH(TODAY()),DAY(A1))


Regards!
 
Hi,


you can use =EDATE(A1,12) in cell B2 if your date format is dd-mmm-yy in A1.


Thanks,

Suresh Kumar S
 
@Suresh Kumar

Hi!

Your formula changes the year into next one, keeping day and month, but I think that it isn't what diegoxrx asked for: current month and year but day from other cell (A1). Am I missing anything?

Regards!
 
Sir,


I am really sorry Excel hero Sir. Your formula is correct as per Diego request. I will make sure it will not happen on-going.


Thanks,

Suresh Kumar s
 
@Suresh Kumar

Hi!

Don't worry, this is something that happens frequently (I hope that not too frequently) to me too. Or I don't read correctly or I understand wrongly. But the important thing is keeping on trying to help other people and learning in the process.

Regards!

PS: For what I've read from you it's not usual in your case, so my respect, buddy.
 
Here's another one:


=TODAY()-DAY(TODAY())+DAY(A1)


Although I'm a bit dubious about the day/month combination you're asking for: what result do you want if the current date is 5th February 2013 and A1 holds 31st August 2012?
 
Hi, diegoxrx!

Glad you solved it. Thanks for your feedback and for your kind words too. And welcome back whenever needed or wanted.

Regards!

PS: no tanto, solo que esta la sabía! (not so much, just I knew this one!) ;)
 
Because of that i created a pretty cool spreadsheet that i showed my manager today and she loved it. Your response had a direct impact in my job performance and will make our operations more efficient. Te debo una cerveza cuando vengas a Connecticut.
 
Hi, diegoxrx!

Happy to help and better indeed if you got better considered by you boss. Keep on improving by yourself studying of practicing, and come back when the wall were too high.

Regards!

PS: Thanks for the pint, Carlsberg I guess... or you just said a six-pack?... seguramente leí mal, no? (surely I misread, didn't I?)

PS2: Nice to read you in Spanish :p ...
 
Back
Top