Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Referring to a Date in SumIf

I am very new to forumlas/excel. I want a cell to sum C3:C100, if A3:A100
contains an entry for September. cells A3:A100 are formatted as dates:
09/01/2005.

I don't know how to fill in the blank in the following formula to tell the
worksheet to only sum entries for the month of September:

=SUMIF(A3:A100,_________,C3:C100)

How do I refer to "90" in the criteria section of this formula?

TIA
S. Jackson


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Referring to a Date in SumIf

I'm sorry, but I'm going to need a little more help. I don't understand.

FYI, column A is formatted mm/dd/yyyy, if that means anything.


"Don Guillett" wrote in message
...
try this one that I use
=SUMPRODUCT((MONTH(ChecksA)=1)*ChecksD)

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I am very new to forumlas/excel. I want a cell to sum C3:C100, if

A3:A100
contains an entry for September. cells A3:A100 are formatted as dates:
09/01/2005.

I don't know how to fill in the blank in the following formula to tell

the
worksheet to only sum entries for the month of September:

=SUMIF(A3:A100,_________,C3:C100)

How do I refer to "90" in the criteria section of this formula?

TIA
S. Jackson






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Referring to a Date in SumIf

I'm having trouble applying this. I tried this and got an error that said
the formula contained an error:

SUMIF((MONTH(A3:A100)=9),C3:C100)

What is wrong here?

S. Jackson

"Don Guillett" wrote in message
...
checksa is a defined name I gave to a range in columna. You may prefer to
use
a2:a200 d2:d200
instead
change the 1 to 9 for sep

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I'm sorry, but I'm going to need a little more help. I don't

understand.

FYI, column A is formatted mm/dd/yyyy, if that means anything.


"Don Guillett" wrote in message
...
try this one that I use
=SUMPRODUCT((MONTH(ChecksA)=1)*ChecksD)

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I am very new to forumlas/excel. I want a cell to sum C3:C100, if

A3:A100
contains an entry for September. cells A3:A100 are formatted as

dates:
09/01/2005.

I don't know how to fill in the blank in the following formula to

tell
the
worksheet to only sum entries for the month of September:

=SUMIF(A3:A100,_________,C3:C100)

How do I refer to "90" in the criteria section of this formula?

TIA
S. Jackson












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Referring to a Date in SumIf

I finally figured it out:
=SUMPRODUCT((MONTH(A3:A100)=9)*C3:C100)

But, I was wondering if there was a way to use the SUMIF function. What is
the proper syntax?

Shelly

"S Jackson" wrote in message
...
I'm having trouble applying this. I tried this and got an error that said
the formula contained an error:

SUMIF((MONTH(A3:A100)=9),C3:C100)

What is wrong here?

S. Jackson

"Don Guillett" wrote in message
...
checksa is a defined name I gave to a range in columna. You may prefer

to
use
a2:a200 d2:d200
instead
change the 1 to 9 for sep

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I'm sorry, but I'm going to need a little more help. I don't

understand.

FYI, column A is formatted mm/dd/yyyy, if that means anything.


"Don Guillett" wrote in message
...
try this one that I use
=SUMPRODUCT((MONTH(ChecksA)=1)*ChecksD)

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I am very new to forumlas/excel. I want a cell to sum C3:C100, if
A3:A100
contains an entry for September. cells A3:A100 are formatted as

dates:
09/01/2005.

I don't know how to fill in the blank in the following formula to

tell
the
worksheet to only sum entries for the month of September:

=SUMIF(A3:A100,_________,C3:C100)

How do I refer to "90" in the criteria section of this formula?

TIA
S. Jackson












  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Referring to a Date in SumIf

=Sumif() wouldn't work on this.

You could insert another column that returns the month and use that:
=SUMIF(B1:B100,9,C1:C100)

or you could use an array formula:
=SUM(IF(MONTH(A1:A100)=9,C1:C100))
This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

But =sumproduct() is easier to type and doesn't require the curly brackets.

But be aware that if you're looking for January figures, that empty cells will
look like they have months of 1 (January).

You may want:
=sumproduct(--(isnumber(a3:a100)),--(month(a3:a100)=1),c3:c100)



S Jackson wrote:

I finally figured it out:
=SUMPRODUCT((MONTH(A3:A100)=9)*C3:C100)

But, I was wondering if there was a way to use the SUMIF function. What is
the proper syntax?

Shelly

"S Jackson" wrote in message
...
I'm having trouble applying this. I tried this and got an error that said
the formula contained an error:

SUMIF((MONTH(A3:A100)=9),C3:C100)

What is wrong here?

S. Jackson

"Don Guillett" wrote in message
...
checksa is a defined name I gave to a range in columna. You may prefer

to
use
a2:a200 d2:d200
instead
change the 1 to 9 for sep

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I'm sorry, but I'm going to need a little more help. I don't

understand.

FYI, column A is formatted mm/dd/yyyy, if that means anything.


"Don Guillett" wrote in message
...
try this one that I use
=SUMPRODUCT((MONTH(ChecksA)=1)*ChecksD)

--
Don Guillett
SalesAid Software

"S Jackson" wrote in message
...
I am very new to forumlas/excel. I want a cell to sum C3:C100, if
A3:A100
contains an entry for September. cells A3:A100 are formatted as
dates:
09/01/2005.

I don't know how to fill in the blank in the following formula to

tell
the
worksheet to only sum entries for the month of September:

=SUMIF(A3:A100,_________,C3:C100)

How do I refer to "90" in the criteria section of this formula?

TIA
S. Jackson











--

Dave Peterson
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 referring to range names formulas not updating Excel_Still_Stumps_ME Excel Worksheet Functions 1 September 19th 06 08:14 PM
SUMIF function referring to values on different Worksheet TeeBee0831 Excel Worksheet Functions 10 May 3rd 05 10:28 PM
Totalling by referring to 2 date ranges Mike Excel Discussion (Misc queries) 2 March 30th 05 01:59 AM
Totalling by referring to 2 date ranges Mike Excel Discussion (Misc queries) 0 March 29th 05 11:57 PM
Referring Date in VBA anupam[_3_] Excel Programming 1 August 26th 04 01:10 PM


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