Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bismark
 
Posts: n/a
Default Matching numbers witin a series

A3 and A4 contain from and to dates.

B1 and B2 contain Year one start & Finish (eg 1/1/05 and 31/12/05)
Subsequent Colums contain subsequent years.

I need help in trying to establish how many days within the dates specified
in A3 and A4 are also contained within the periods specified in each column.

I am using Microsoft Office XP.
--
Ron.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Matching numbers witin a series

Hi!

If I understand correctly:

=SUMPRODUCT(--(ROW(INDIRECT(B1&":"&B2))=$A3),--(ROW(INDIRECT(B1&":"&B2))<=$A4))

Copy across as needed.

Biff

"Bismark" wrote in message
...
A3 and A4 contain from and to dates.

B1 and B2 contain Year one start & Finish (eg 1/1/05 and 31/12/05)
Subsequent Colums contain subsequent years.

I need help in trying to establish how many days within the dates
specified
in A3 and A4 are also contained within the periods specified in each
column.

I am using Microsoft Office XP.
--
Ron.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bismark
 
Posts: n/a
Default Matching numbers witin a series

Thanks Biff.

Your response was exactly what I needed.

I don't understand it, but it does exactly what I want.

Many thanks.
--
Ron.


"Bismark" wrote:

A3 and A4 contain from and to dates.

B1 and B2 contain Year one start & Finish (eg 1/1/05 and 31/12/05)
Subsequent Colums contain subsequent years.

I need help in trying to establish how many days within the dates specified
in A3 and A4 are also contained within the periods specified in each column.

I am using Microsoft Office XP.
--
Ron.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Matching numbers witin a series

You're welcome. Thanks for the feedback!

Biff

"Bismark" wrote in message
...
Thanks Biff.

Your response was exactly what I needed.

I don't understand it, but it does exactly what I want.

Many thanks.
--
Ron.


"Bismark" wrote:

A3 and A4 contain from and to dates.

B1 and B2 contain Year one start & Finish (eg 1/1/05 and 31/12/05)
Subsequent Colums contain subsequent years.

I need help in trying to establish how many days within the dates
specified
in A3 and A4 are also contained within the periods specified in each
column.

I am using Microsoft Office XP.
--
Ron.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Matching numbers witin a series

=MIN($B$2,$A$4)-MAX($B$1,$A$3)+1

Regards,
Bernd

Reply
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
How do I add (') at the beginning and end of a series of numbers? Ann Excel Discussion (Misc queries) 1 April 5th 06 03:55 PM
Trying to change ColorIndex for series settings SiriS Charts and Charting in Excel 3 March 14th 06 01:54 PM
Extract sub-string of number from field of long series of numbers ExcelExtrator Excel Worksheet Functions 3 December 27th 05 10:56 PM
How to change a series of positive numbers to negative numbers Ellie Excel Worksheet Functions 5 September 5th 05 05:10 PM
Matching parts to model numbers Craig wotdoo Excel Discussion (Misc queries) 4 May 12th 05 05:56 AM


All times are GMT +1. The time now is 03:48 AM.

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

About Us

"It's about Microsoft Excel"