Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Formula still needed! Help!

What formula can I use to get the sum of cells in 1 column, but only if that
cell corresponds to a date in January. For example, column A is the date
column and every cell has a different date in it and I want to get the sum of
all the entries in column T in January or February etc.


The date column is setup in the format of dd/mm/yy

I've tried
=SUMPRODUCT(--(A4:A100000/1/7),--(A1:A10000<0/2/7),--(AP4:AP10000))

and I've tried =SUMPRODUCT((JANUARY(A4:A10000)=1)*(AP4:AP10000))

but neither has worked. Help!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Formula still needed! Help!

Hi

Try
=SUMPRODUCT(--(A4:A10000=--"01/01/07"),--(A1:A10000<=--"28/02/07"),--(AP4:AP10000))


--
Regards

Roger Govier


"judgejulz" wrote in message
...
What formula can I use to get the sum of cells in 1 column, but only
if that
cell corresponds to a date in January. For example, column A is the
date
column and every cell has a different date in it and I want to get the
sum of
all the entries in column T in January or February etc.


The date column is setup in the format of dd/mm/yy

I've tried
=SUMPRODUCT(--(A4:A100000/1/7),--(A1:A10000<0/2/7),--(AP4:AP10000))

and I've tried =SUMPRODUCT((JANUARY(A4:A10000)=1)*(AP4:AP10000))

but neither has worked. Help!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Formula still needed! Help!

=SUMPRODUCT((MONTH(A4:A10000)=1)*(AP4:AP10000))

MONTH is a FUNCTION and tests if the month in A4:A10000 is 1 i.e January.

HTH

"judgejulz" wrote:

What formula can I use to get the sum of cells in 1 column, but only if that
cell corresponds to a date in January. For example, column A is the date
column and every cell has a different date in it and I want to get the sum of
all the entries in column T in January or February etc.


The date column is setup in the format of dd/mm/yy

I've tried
=SUMPRODUCT(--(A4:A100000/1/7),--(A1:A10000<0/2/7),--(AP4:AP10000))

and I've tried =SUMPRODUCT((JANUARY(A4:A10000)=1)*(AP4:AP10000))

but neither has worked. Help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Formula still needed! Help!

=SUMPRODUCT(--(A4:A10000=--"2007-01-01"),--(A4:A10000<--"2007-03-01"),--(AP4:AP10000))


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"judgejulz" wrote in message
...
What formula can I use to get the sum of cells in 1 column, but only if
that
cell corresponds to a date in January. For example, column A is the date
column and every cell has a different date in it and I want to get the sum
of
all the entries in column T in January or February etc.


The date column is setup in the format of dd/mm/yy

I've tried
=SUMPRODUCT(--(A4:A100000/1/7),--(A1:A10000<0/2/7),--(AP4:AP10000))

and I've tried =SUMPRODUCT((JANUARY(A4:A10000)=1)*(AP4:AP10000))

but neither has worked. Help!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Formula still needed! Help!

That never worked either. It's just coming up 'error in formula' #VALUE!

"Roger Govier" wrote:

Hi

Try
=SUMPRODUCT(--(A4:A10000=--"01/01/07"),--(A1:A10000<=--"28/02/07"),--(AP4:AP10000))


--
Regards

Roger Govier


"judgejulz" wrote in message
...
What formula can I use to get the sum of cells in 1 column, but only
if that
cell corresponds to a date in January. For example, column A is the
date
column and every cell has a different date in it and I want to get the
sum of
all the entries in column T in January or February etc.


The date column is setup in the format of dd/mm/yy

I've tried
=SUMPRODUCT(--(A4:A100000/1/7),--(A1:A10000<0/2/7),--(AP4:AP10000))

and I've tried =SUMPRODUCT((JANUARY(A4:A10000)=1)*(AP4:AP10000))

but neither has worked. Help!




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
Formula help needed cheetah Excel Worksheet Functions 0 November 30th 06 04:06 PM
Appropriate formula needed! Adnan Excel Discussion (Misc queries) 2 November 20th 06 06:01 PM
Formula Needed Steven Sinclair Excel Discussion (Misc queries) 7 October 19th 06 10:53 PM
Formula needed Connie Martin Excel Worksheet Functions 10 May 4th 06 01:19 AM
Formula needed Edgar Thoemmes Excel Worksheet Functions 3 January 13th 05 02:07 PM


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