PantherTheCat
New Member
- Joined
- Mar 22, 2011
- Messages
- 3
I have been trying to no avail, to be able to find out, how long an account has been active within the time frame of a certain year.
I created a formula to change all the start dates to 1/1/2010
I now need to find out if they had an end date, and if so, how many months they were active in a year.
Here is some examples of what the sheet looks like .
1/1/2010 9/9/2010 9/10/2010 8
1/1/2010 9/9/2010 9/10/2010 8
10/26/2010 10/30/2010 #NUM!
10/26/2010 11/1/2010 #NUM!
10/26/2010 11/1/2010 #NUM!
1/1/2010 2/1/2009 #NUM!
6/15/2010 10/12/2010 #NUM!
1/1/2010 #NUM!
Here is the formula i am using that is returning Dates
=IF(AND(DATEDIF(E183,F183,"m")<=11,(DATEDIF(E183,F183,"m")<>"")),(DATEDIF(E183,F183,"m")),(0))
Which clearly isnt working - If you notice the #num!
I also tried a formula to compare that to an Error.type 6
That did not work.
Ultimately if there is an easier way to take all the dates, determine between 4 columns How many months the site has been active in 2010, that would be great.
Column 1
Site Active in 2010
Column 2
Old software deactivated in 2010
Column 3
New Software Activated in 2010
Column 4
New Software deactivated in 2010
Everything but Column 1 has the possibility of not having a date in it. Which throws off the entire deal.
I have been trying to figure this out the past 2 days. Honestly by now I could have just manually done the calculations by hand - but i have a feeling that this will come up again and would love some insight.
I created a formula to change all the start dates to 1/1/2010
I now need to find out if they had an end date, and if so, how many months they were active in a year.
Here is some examples of what the sheet looks like .
1/1/2010 9/9/2010 9/10/2010 8
1/1/2010 9/9/2010 9/10/2010 8
10/26/2010 10/30/2010 #NUM!
10/26/2010 11/1/2010 #NUM!
10/26/2010 11/1/2010 #NUM!
1/1/2010 2/1/2009 #NUM!
6/15/2010 10/12/2010 #NUM!
1/1/2010 #NUM!
Here is the formula i am using that is returning Dates
=IF(AND(DATEDIF(E183,F183,"m")<=11,(DATEDIF(E183,F183,"m")<>"")),(DATEDIF(E183,F183,"m")),(0))
Which clearly isnt working - If you notice the #num!
I also tried a formula to compare that to an Error.type 6
That did not work.
Ultimately if there is an easier way to take all the dates, determine between 4 columns How many months the site has been active in 2010, that would be great.
Column 1
Site Active in 2010
Column 2
Old software deactivated in 2010
Column 3
New Software Activated in 2010
Column 4
New Software deactivated in 2010
Everything but Column 1 has the possibility of not having a date in it. Which throws off the entire deal.
I have been trying to figure this out the past 2 days. Honestly by now I could have just manually done the calculations by hand - but i have a feeling that this will come up again and would love some insight.