#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default date formula help

Hi,
I have a table of employees joining date and payments for that month. The
problem is i want to calculate days from the current date till the end of the
month in order to come to total days payable.
for eg in col C (name of the emp) Col D (Date of joining) rest i need to
work this is an on going process for each month .

Any help is appreciated
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 189
Default date formula help

HI,
Make sure that col D,E are formatted to date.

in the next col ie col E you need to know the number of days in that month
hence you enter this formula.
=DATE(YEAR(D3),MONTH(D3)+1,0)
Now since both the columns are formatted to date you can substract these
columns in col. F (=E2-D2) and you would get the number of days payable to
that employee. The date of joining will not be added to this in case if you
wish to add the date of joining please put the formula = E2-D2+1
This should solve you issue
--
_______________________
Click "Yes" button if it helps
________
Thanks
Suleman Peerzade


"Maeena" wrote:

Hi,
I have a table of employees joining date and payments for that month. The
problem is i want to calculate days from the current date till the end of the
month in order to come to total days payable.
for eg in col C (name of the emp) Col D (Date of joining) rest i need to
work this is an on going process for each month .

Any help is appreciated

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a formula in a date range to locate a specific date - ecel util Excel Discussion (Misc queries) 0 February 19th 07 03:03 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM


All times are GMT +1. The time now is 09:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"