PC Review


Reply
Thread Tools Rate Thread

Date counting with data from Access

 
 
=?Utf-8?B?VmFsRW5n?=
Guest
Posts: n/a
 
      10th Sep 2007
I am working with Excel 2003. We have set up a querry to pull data from our
Access database. One of the needs we have is to average the number of days
for a task. To do this we have a formula set up to count the days and
average them. It seems simple enough to do. The problem I am finding is
that we have a lot of one day tasks that are being counted as 0. If the
start date is the same as the finish date it equals 0, and if the end day is
one day later it counts 1 instead of 2. Is there a way to format it to
recognize the first day as a day?
 
Reply With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      10th Sep 2007
Try this:

=finishdate - startdate +1

Hope this helps.

Pete

On Sep 10, 9:10 pm, ValEng <Val...@discussions.microsoft.com> wrote:
> I am working with Excel 2003. We have set up a querry to pull data from our
> Access database. One of the needs we have is to average the number of days
> for a task. To do this we have a formula set up to count the days and
> average them. It seems simple enough to do. The problem I am finding is
> that we have a lot of one day tasks that are being counted as 0. If the
> start date is the same as the finish date it equals 0, and if the end day is
> one day later it counts 1 instead of 2. Is there a way to format it to
> recognize the first day as a day?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Importing records with Date/Time data type into an Access 2007 data table Cillacil Microsoft Access External Data 0 3rd Apr 2009 08:50 PM
counting number of days between today's date and start date =?Utf-8?B?QVNTSw==?= Microsoft Access Forms 6 25th Jul 2007 03:04 PM
counting data from an Access database =?Utf-8?B?dGltbXVsbGE=?= Microsoft Excel Programming 1 6th Mar 2007 06:20 PM
i have two date fileds Opend date Due date, can i set default on due date so, its always = to open date on my data entry form1 Urgent Mike Saifie Microsoft Access Form Coding 1 9th Mar 2006 01:08 AM
excel formula counting date to date in 4 columns =?Utf-8?B?c3R1aWUgZA==?= Microsoft Excel Worksheet Functions 1 4th May 2005 12:46 PM


Features
 

Advertising
 

Newsgroups
 


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