LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Philm
 
Posts: n/a
Default Year-to-date year to date formula

Hi All
I have a formula that gives me year-to-date on an incomplete
range A to L..

=SUM(OFFSET(A2:AL,0,0,1,MATCH(M1,A1:L1,0)))

So incoming data
A3 = 3
B3 = 4
C3 = 5

etc....

To go with is I have targets completed to L

A2 = 3
B2 = 3
C2 = 3
etc

And months (working on a July - June year)

A1 = Jul
B1 = Aug
C1 = Sep
etc

Problems

We are now in October so we have figures to date
But I also want the targets added up to date not the whole year
which the above formula does.


1) I would like the formula to work from todays date eg NOW() but match
cant seem to handle date types (cell format = mmm)

2) formula works fine on incomplete rows but in the case of target
takes the whole row.

So is there another formula that
a) allows for date comparisons given the formula above
b) copes with full rows (so I only want Jul to October added in the
above senario)

Cheer

Phil

 
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
If formula for date range rediproof Excel Discussion (Misc queries) 9 May 28th 05 04:59 AM
Date formula: return Quarter and Fiscal Year of a date Rob Excel Discussion (Misc queries) 7 May 11th 05 08:48 PM
formula IF returning current date diane Excel Worksheet Functions 1 March 10th 05 06:54 AM
Excel formula with date constraints Warrior Pope Excel Discussion (Misc queries) 3 January 28th 05 03:08 PM
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"