Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wistfulee
 
Posts: n/a
Default adding days correctly


Hi there, help please??

I am making a spreadsheet to show how many days a truck was used. If I
subtract say B1 from A1 I get a number of days, but if its is actually a
day off. If we use something from 4/10/2006 to 4/10/2006 I want to get
an answer of 1 day, not 0. I have tried the basic subtraction & the
DAYS360, but am not finding what to you all must be an oh-so-simple
solution. Any help would be greatly appreciated.

Céline


--
wistfulee
------------------------------------------------------------------------
wistfulee's Profile: http://www.excelforum.com/member.php...o&userid=33626
View this thread: http://www.excelforum.com/showthread...hreadid=533985

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default adding days correctly

Maybe just subtract the dates and add one?

=a1-b1+1





wistfulee wrote:

Hi there, help please??

I am making a spreadsheet to show how many days a truck was used. If I
subtract say B1 from A1 I get a number of days, but if its is actually a
day off. If we use something from 4/10/2006 to 4/10/2006 I want to get
an answer of 1 day, not 0. I have tried the basic subtraction & the
DAYS360, but am not finding what to you all must be an oh-so-simple
solution. Any help would be greatly appreciated.

Céline

--
wistfulee
------------------------------------------------------------------------
wistfulee's Profile: http://www.excelforum.com/member.php...o&userid=33626
View this thread: http://www.excelforum.com/showthread...hreadid=533985


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
pdberger
 
Posts: n/a
Default adding days correctly

Wist--

I see the problem -- you're thinking of 4/10 as both the beginning and
ending, but Excel isn't smart enough to see that. If you're consistently off
by one day, why can't you just do the subtraction and then add 1?

HTH

"wistfulee" wrote:


Hi there, help please??

I am making a spreadsheet to show how many days a truck was used. If I
subtract say B1 from A1 I get a number of days, but if its is actually a
day off. If we use something from 4/10/2006 to 4/10/2006 I want to get
an answer of 1 day, not 0. I have tried the basic subtraction & the
DAYS360, but am not finding what to you all must be an oh-so-simple
solution. Any help would be greatly appreciated.

CĂ©line


--
wistfulee
------------------------------------------------------------------------
wistfulee's Profile: http://www.excelforum.com/member.php...o&userid=33626
View this thread: http://www.excelforum.com/showthread...hreadid=533985


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John James
 
Posts: n/a
Default adding days correctly


=A1-B1+1

Format as general or as a number


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=533985

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wistfulee
 
Posts: n/a
Default adding days correctly


I guess I was overthinking the issue. Thank you from a very tired lady.


--
wistfulee
------------------------------------------------------------------------
wistfulee's Profile: http://www.excelforum.com/member.php...o&userid=33626
View this thread: http://www.excelforum.com/showthread...hreadid=533985

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
Formula for adding days to a date excluding weekends and holidays? Jake via OfficeKB.com Excel Discussion (Misc queries) 3 May 20th 23 07:48 PM
Adding Working Days to a Formula jpw1972 Excel Discussion (Misc queries) 1 April 4th 06 09:46 AM
add days without adding weekend brian thompson3001 via OfficeKB.com New Users to Excel 11 March 8th 06 05:02 PM
Adding XY days to date in cells satucha Excel Discussion (Misc queries) 1 November 25th 05 08:02 AM
Adding Days (i.e. Mon, Tue, Wed, Thur...) to sheet BigBadTex Excel Discussion (Misc queries) 2 November 1st 05 07:35 PM


All times are GMT +1. The time now is 08:54 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"