Year-to-date formula?
From: Jeff (anonymous_at_discussions.microsoft.com)
Date: 03/19/04
- Next message: eric g.: "two monitors w/ excel xp"
- Previous message: AlfD: "Re: Rounding Fractions"
- In reply to: ftjjk: "Year-to-date formula?"
- Next in thread: Art: "RE: Year-to-date formula?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 10:59:36 -0800
Hi.
I'm not sure exactly what you're after, but if you
might use the following formulas:
For number of days from date in A1 from 1/1/curYR:
=A1-DATE(YEAR(NOW()),1,1)
for number of months from date in A1 from 1/1/curYR:
=(YEARFRAC(A1,DATE(YEAR(NOW()),1,1),))*12
(you can use the fraction or round or truncate it)
LOL!
>-----Original Message-----
>I found the following formula for creating a year to
date formula from
>http://www.beyondtechnology.com/tips.shtml
>
>=SUM(OFFSET(A2,0,0,1,MONTH(NOW())))
>
>My problem is that my data is not one cell per month but
is the actual
>date input in column A (my data is vertical not
horizontal)and can
>range from 3 to 9 days of inputs per month. Rather than
use the month
>function I need to use the input dates in column A. I
was considering
>an IF statement to compare A(x) to NOW() but I am have
serious brain
>drain and can't go anywhere with this. Any help would
be appreciated.
>
>
>---
>Message posted from http://www.ExcelForum.com/
>
>.
>
- Next message: eric g.: "two monitors w/ excel xp"
- Previous message: AlfD: "Re: Rounding Fractions"
- In reply to: ftjjk: "Year-to-date formula?"
- Next in thread: Art: "RE: Year-to-date formula?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|