Computers & Internet Logo

Related Topics:

Anonymous Posted on Mar 11, 2008

Access i get last date of the current month in access but in excell eomonth()

1 Answer

Anonymous

Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

  • Expert 133 Answers
  • Posted on Mar 11, 2008
Anonymous
Expert
Level 2:

An expert who has achieved level 2 by getting 100 points

Hot-Shot:

An expert who has answered 20 questions.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Joined: Feb 15, 2008
Answers
133
Questions
4
Helped
76405
Points
239

There is no function to do this as part of a whole suite of date manipulation functions, but I seem to have imagined that, as I couldn’t find. I was dreading having to do lots of nasty date arithmetic, but then I discovered that the zeroth day of a month is treated as the last day of the previous month! So the last day of the month for the date that’s in cell B3 is simply:
=DATE(YEAR(B3), MONTH(B3)+1, 0)
It even works across year boundaries, so DATE(2004, 13, 0) really does give

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
1answer

How do you set the month and date

To set the month and date on a device, you will need to follow the specific instructions for that device. The steps may vary depending on the type of device you are using (e.g., a computer, smartphone, digital watch, etc.) and the operating system or software it is using.
Here are a few general steps you can follow to set the month and date on a device:
  1. Locate the settings menu for the device. This is usually accessed through an icon or menu option labeled "settings," "options," or something similar.
  2. In the settings menu, look for an option related to the date and time. This option may be labeled "date and time," "clock," or something similar.
  3. Select the option to set the date and time. This will usually open a window or menu where you can enter the current month, day, and year.
  4. Use the provided fields or menus to enter the current month, day, and year. You may need to use drop-down menus or arrow buttons to navigate through the options.
  5. Once you have entered the correct month, day, and year, save your changes and exit the settings menu. The device should now be set to the correct date.
Jan 06, 2023 • The Watches
1helpful
1answer

In an Excel Spreadsheet, A1 contains date and I need A2 to be yellow if the date falls in the month of May

it is all in the formula setting at the top
download the excel user manual and any excel problems are explained in that document
0helpful
1answer

How to add current date to folder name- updates automatically

newPath = "C:\Year\" & year(Date)
Call MkDir(newPath)
newPath = "C:\Year\" & year(Date) & "\" & month(Date)
Call MkDir(newPath)
1helpful
1answer

How to calculate the difference of two dates by year, month and day using the formula in excel?

To calculate the difference in Years use =Year(c,r)-Year(c,r)
To calculate the difference in Months use =Month(c,r)-Month(c,r)
To calculate the difference in Months use =(c,r)-(c,r)

c= column, r= row

You will need to format the source cells as dates
1helpful
1answer

Converting date of a month to last working day of the month

use the below formula to get the date of the LWD (Monday thru Friday) of the month.
Assumed that if the date in cell A1 is 6-May-2005. then formula will be
=DATE(YEAR(A1),MONTH(A1)+1,0)-(MAX(0,WEEKDAY(DATE(YEAR(A1),MONTH(A1)+1,0),2)-5))
0helpful
2answers

Formula for calculating the days beween months

for example, cell A1 has date (01-01-2008) and cell A2 has current date (08-24-2008) and cell A3 shows total days, is that you want to know? if yes, apply formula as under...

cell A3......(properties set as General to show digits)................ =SUM(A2-A1)
0helpful
1answer

Unable to Change Dates

Hi,
I am using MS-2007, i got the solution upto some level only.
i can't say exactly whether it is right or not.
my solution is :

first change the settings in ControlPanel/Regional and Language Options.
Click on Customize button/open the Date Tab and set the date format there.
and then proceed with CSV.
Open CSV in Excel and divide Text to coloumns.
Ur all Date Cells will be in particual Format.
and Select that coloumns and right click Format Celss....etc.
Thanking u.

If u found any Douts, Suggestions ,Plzz let me know.
0helpful
1answer

Functions

The eomoth function returns the last day of the month.
Use EOMONTH to calculate maturity dates or due dates that fall on the last day of the month.

eomonth (1/2/08, 1) will return 31. The number of days in the month.

eomonth (1/2/08, 2) will return 59, The number of days in the month plus the next month (February)
Not finding what you are looking for?

128 views

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...