Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Paula,
check if you don't have any spaces, simple formula should work =B1-A1 "Paula" wrote: Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Eduardo
When I drag my formula it works sometimes and not others, how can I find out what the error is? I don't have any spaces? Regards Paula "Eduardo" wrote: Hi Paula, check if you don't have any spaces, simple formula should work =B1-A1 "Paula" wrote: Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
let' say your dates are in column A and B, in another two columns enter =trim(A1) =trim(B1) that will ride off any blank space "Paula" wrote: Hi Eduardo When I drag my formula it works sometimes and not others, how can I find out what the error is? I don't have any spaces? Regards Paula "Eduardo" wrote: Hi Paula, check if you don't have any spaces, simple formula should work =B1-A1 "Paula" wrote: Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
sorry I press send before finishing
then copy this two columns as values on top of your data "Paula" wrote: Hi Eduardo When I drag my formula it works sometimes and not others, how can I find out what the error is? I don't have any spaces? Regards Paula "Eduardo" wrote: Hi Paula, check if you don't have any spaces, simple formula should work =B1-A1 "Paula" wrote: Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Paula
Simply subtracting one date from the other date should do it. But that doesn't work for you. Perhaps one (or both) date is not a date but is text. Do this. Select each date cell, in turn, and format the cell as "General". If it's a date (which is really a number), you should get a 5-digit number. If you get the same "date", that entry is text. In that case, clear the cell, format it as a date, and re-enter the date. Post back if you need more. HTH Otto "Paula" wrote in message ... Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try entering the dates as m/d/y rather than d/m/y
Date entry depends upon your Regional Settings Gord Dibben MS Excel MVP On Tue, 9 Feb 2010 07:46:04 -0800, Paula wrote: Hi, I am trying to calculate the number of days between 2 dates, I am sure in the past I have simply just did a formula to say date in cell 1 - date in cell 2, however I get a value error. The dates are formatted i nthe following way 18/11/2009 for example and I just need to calculate the number of days between 2 dates. Many thanks Paula |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date-error Format | Setting up and Configuration of Excel | |||
date error | New Users to Excel | |||
Error calculating date | Excel Worksheet Functions | |||
date error | Excel Discussion (Misc queries) | |||
Date Error - HELP! | Excel Discussion (Misc queries) |