Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Date formula error

Posted on 2013-01-04
3
Medium Priority
?
263 Views
Last Modified: 2013-01-04
Hi Experts

I am using in cell c2 the following formula =Date(Year(Currentdate),Month(CurrentDate),0)
And getting 31 March 2011 as the returned result
When I need today's date

And in cell b2 I have =Date(Year(c2),month(c2),0) and so on for a2


What's wrong here??
0
Comment
Question by:route217
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Michael Fowler earned 2000 total points
ID: 38743194
To get the current date just use =NOW() and format the cell to display the date in the appropriate format

Michael
0
 

Author Comment

by:route217
ID: 38743211
Thanks for the feedback

So how would I get dec12 in cell b2 depending on the date in cell c2 less one month
0
 

Author Comment

by:route217
ID: 38743265
Solved....
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question