LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi


"Max" wrote in message
...
"Arvi Laanemets" wrote:
This assumes there is a single row for every moth,
and always a row for a month, does it?


Yes of course <g, the assumed set up was described
in the response, as always ..

More general solution (dates in column A, values in column
B, headers in row 1, sum is placed outside of data range, p.e. in cell
C2)
=SUMIF(A:A,""&DATE(YEAR(MAX(A:A)),MONTH(MAX(A:A))-11,0),B:B)


Just a thought. The above would return zero if the dates were not "real"
dates.
(A possibility that I had guessed might be the case, in the earlier
response. It wasn't clear from the orig. post.)


P.e. month names as text?
It's simply - then OP will be in trouble :-)

(Of-course even then it's possible, but the formula will be huge. It's main
reason I always advice to use real dates - when there is a need, then you
always can format them to be displayed as month names. But my 1st preference
will be the format "yyyy.mm", which allows to sort data properly.)


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )



--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--






 
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
months between 2 dates!!! speary Excel Discussion (Misc queries) 1 August 19th 05 03:22 PM
Why "datedif" function results sometimes negative numbers? Ambrosiy Excel Worksheet Functions 1 July 8th 05 11:29 AM
Rolling Year in Excel JJC Excel Discussion (Misc queries) 0 June 8th 05 11:21 PM
How do i change 15 months to read 1 year and 3 months? Marty Excel Discussion (Misc queries) 1 February 17th 05 11:21 PM
rolling months tjkyon Excel Discussion (Misc queries) 2 January 20th 05 05:39 PM


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