#1   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default SUM (TODAY thru EOM)

Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default SUM (TODAY thru EOM)

If that is how your data will always be laid out then try:

=SUM(INDEX(B2:B32,DAY(TODAY())):B32)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha




  #3   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default SUM (TODAY thru EOM)

Sandy ... (Good morning)

Exactly as requested ... & I will be using ... but one more twist.

Should Col A Date not start with 1st of Month (1-31) & I need to INDEX Col A
into this equation with remaining requirements the same ... How do I do this?

ie:

Find TODAY in Col A ... SUM Col B Range from associated Value in Col B to EOM

Thanks ... Kha

"Sandy Mann" wrote:

If that is how your data will always be laid out then try:

=SUM(INDEX(B2:B32,DAY(TODAY())):B32)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default SUM (TODAY thru EOM)

If by:

Should Col A Date not start with 1st of Month (1-31)


you mean that some of the cells in the start of the range A2:A32 are blank
then the formula given will still work because it is not actually using any
of the dates in Column A.

If you mean that the date in A2 may not be the 1st of the month then try:

=SUM(INDEX(B2:B32,MATCH((TODAY()),A2:A32)):B32)

This assumes that the cell from the end of your data to row 32 are empty, if
not, change the A32 & B32 to the ends of your data.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Sandy ... (Good morning)

Exactly as requested ... & I will be using ... but one more twist.

Should Col A Date not start with 1st of Month (1-31) & I need to INDEX Col
A
into this equation with remaining requirements the same ... How do I do
this?

ie:

Find TODAY in Col A ... SUM Col B Range from associated Value in Col B to
EOM

Thanks ... Kha

"Sandy Mann" wrote:

If that is how your data will always be laid out then try:

=SUM(INDEX(B2:B32,DAY(TODAY())):B32)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha









  #5   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default SUM (TODAY thru EOM)

Dead Nuts ... Perfect ... :)

=SUM(INDEX(B2:B32,MATCH((TODAY()),A2:A32)):B32)

I am always grateful for those who provide the many solutions on these boards.

Thank you ... Kha





"Sandy Mann" wrote:

If by:

Should Col A Date not start with 1st of Month (1-31)


you mean that some of the cells in the start of the range A2:A32 are blank
then the formula given will still work because it is not actually using any
of the dates in Column A.

If you mean that the date in A2 may not be the 1st of the month then try:

=SUM(INDEX(B2:B32,MATCH((TODAY()),A2:A32)):B32)

This assumes that the cell from the end of your data to row 32 are empty, if
not, change the A32 & B32 to the ends of your data.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Sandy ... (Good morning)

Exactly as requested ... & I will be using ... but one more twist.

Should Col A Date not start with 1st of Month (1-31) & I need to INDEX Col
A
into this equation with remaining requirements the same ... How do I do
this?

ie:

Find TODAY in Col A ... SUM Col B Range from associated Value in Col B to
EOM

Thanks ... Kha

"Sandy Mann" wrote:

If that is how your data will always be laid out then try:

=SUM(INDEX(B2:B32,DAY(TODAY())):B32)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha












  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,345
Default SUM (TODAY thru EOM)

Glad that it worked for you. Thanks for the feedback.

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Dead Nuts ... Perfect ... :)

=SUM(INDEX(B2:B32,MATCH((TODAY()),A2:A32)):B32)

I am always grateful for those who provide the many solutions on these
boards.

Thank you ... Kha





"Sandy Mann" wrote:

If by:

Should Col A Date not start with 1st of Month (1-31)


you mean that some of the cells in the start of the range A2:A32 are
blank
then the formula given will still work because it is not actually using
any
of the dates in Column A.

If you mean that the date in A2 may not be the 1st of the month then try:

=SUM(INDEX(B2:B32,MATCH((TODAY()),A2:A32)):B32)

This assumes that the cell from the end of your data to row 32 are empty,
if
not, change the A32 & B32 to the ends of your data.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Sandy ... (Good morning)

Exactly as requested ... & I will be using ... but one more twist.

Should Col A Date not start with 1st of Month (1-31) & I need to INDEX
Col
A
into this equation with remaining requirements the same ... How do I do
this?

ie:

Find TODAY in Col A ... SUM Col B Range from associated Value in Col B
to
EOM

Thanks ... Kha

"Sandy Mann" wrote:

If that is how your data will always be laid out then try:

=SUM(INDEX(B2:B32,DAY(TODAY())):B32)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Ken" wrote in message
...
Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of
Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha













  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default SUM (TODAY thru EOM)

Ken,

I'm assuming you have dates in A1 - A32 so tru this

=SUM(IF(DAY(A2:A32)=DAY(TODAY()),B2:B32,0))
It's an array so commit with Ctrl+Shift+Enter.

Mike

"Ken" wrote:

Excel2003 ...

Range A2:A32 contains Days of Month (1-31)
Range B2:B32 contains Values

Cell B33 ... I wish to SUM Col B Values from TODAY thru End of Month.

ie: If TODAY is 04/18 ... Sum B Values 04/18 thru EOM
ie: If TODAY is 04/19 ... Sum B Values 04/19 thru EOM

Thanks ... Kha

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
=TODAY() Amy Excel Discussion (Misc queries) 5 January 24th 08 12:25 AM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
TODAY() alex Excel Worksheet Functions 2 January 31st 07 02:11 PM
How is everyone today? MommaQ Excel Discussion (Misc queries) 0 March 17th 05 03:15 PM
=IF(OR(TODAY()G9),"Pass","Overdue") Why doe it not wo. Fkor Excel Discussion (Misc queries) 3 March 10th 05 08:29 AM


All times are GMT +1. The time now is 06:05 AM.

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"