Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default SumIf Function Question

I have a very large Worksheet labeled 'Global Schedule'. The first 2 rows
are used as a header. In Col. L there are dates and in Col. N there are
prices. At any given time Col. L cells may or may not have a date. I would
like to use a formula so it will automatically update, as opposed to VBA
where I would need an event to update the calculations below. I would like
the formula placed in a worksheet labeled 'Summary'.

1.) Sum all cells in Col. N if the cell in the same row in Col. L has a
value. This is what I got, but it does not work:

=SUMIF('Global Schedule'!L:L,ISBLANK() = FALSE,'Global Schedule'!N:N)

2.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the current month.

3.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the next month.

4.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
after the next month.

Thanks,
Ryan

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default SumIf Function Question

Hi Ryan,

I have not tested this nut it should point you in the right direction

1.) *Sum all cells in Col. N if the cell in the same row in Col. L has a
value. *This is what I got, but it does not work:

=SUMIF('Global Schedule'!L:L,ISBLANK() = FALSE,'Global Schedule'!N:N)


change to:

=SUMIF('Global Schedule'!L:L,<"",'Global Schedule'!N:N)

2.) *Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the current month.


something like:

=SUMIF(Month('Global Schedule'!L:L),Month($A$1),'Global Schedule'!N:N)


3.) *Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the next month.



=SUMIF(Month('Global Schedule'!L:L),Month($A$1)+1,'Global Schedule'!
N:N)


4.) *Sum all cells in Col. N if the cell in the same row in Col. L is a date
after the next month.


=SUMIF(Month('Global Schedule'!L:L),Month($A$1)+2,'Global Schedule'!
N:N)


Where cell A1 contains a date within the required current month


Regards

Michael
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 586
Default SumIf Function Question

Step 1: works great!

Step 2,3, & 4 I'm having issues with. They seem to make sense, but I'm not
sure why they will not work.

This is what I put.
Step 2:
=SUMIF(Month('Global Schedule'!L:L),"="&MONTH(NOW()),'Global Schedule'!N:N)
Step 3:
=SUMIF(Month('Global Schedule'!L:L),"="&MONTH(NOW())+1,'Global Schedule'!N:N)
Step 4:
=SUMIF(Month('Global Schedule'!L:L),""&MONTH(NOW())+1,'Global Schedule'!N:N)

Thanks,
Ryan


"michael.beckinsale" wrote:

Hi Ryan,

I have not tested this nut it should point you in the right direction

1.) Sum all cells in Col. N if the cell in the same row in Col. L has a
value. This is what I got, but it does not work:

=SUMIF('Global Schedule'!L:L,ISBLANK() = FALSE,'Global Schedule'!N:N)


change to:

=SUMIF('Global Schedule'!L:L,<"",'Global Schedule'!N:N)

2.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the current month.


something like:

=SUMIF(Month('Global Schedule'!L:L),Month($A$1),'Global Schedule'!N:N)


3.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
within the next month.



=SUMIF(Month('Global Schedule'!L:L),Month($A$1)+1,'Global Schedule'!
N:N)


4.) Sum all cells in Col. N if the cell in the same row in Col. L is a date
after the next month.


=SUMIF(Month('Global Schedule'!L:L),Month($A$1)+2,'Global Schedule'!
N:N)


Where cell A1 contains a date within the required current month


Regards

Michael

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
SUMIF question (although, I think I'm using the wrong function) Ashley Excel Discussion (Misc queries) 8 January 15th 10 06:46 PM
SumIf Function Question RyanH Excel Worksheet Functions 6 February 28th 08 02:43 PM
function question (sumif countif conditional) Norbert Excel Worksheet Functions 0 February 25th 08 09:37 PM
SUMIF function question khux Excel Worksheet Functions 1 November 8th 05 10:07 PM
Countif/Sumif function question psyd Excel Worksheet Functions 0 November 5th 04 06:09 AM


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