#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raj Raj is offline
external usenet poster
 
Posts: 130
Default Help with SumIf

I am new to using formulas in Excel and need some help with using SumIf and a
date.
In column A I have the month and Year "Nov-06". I would like to do is have
Column C Sum only if the current day is < 12 of the month.
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Raj Raj is offline
external usenet poster
 
Posts: 130
Default Help with SumIf

This is the formula I have but I am getting 0 as a result.
Thanks

"Raj" wrote:

I am new to using formulas in Excel and need some help with using SumIf and a
date.
In column A I have the month and Year "Nov-06". I would like to do is have
Column C Sum only if the current day is < 12 of the month.
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Help with SumIf

Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(DAY(A1:A10)<12),C1:C10)

Biff

"Raj" wrote in message
...
I am new to using formulas in Excel and need some help with using SumIf and
a
date.
In column A I have the month and Year "Nov-06". I would like to do is
have
Column C Sum only if the current day is < 12 of the month.
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Help with SumIf

Hold on there a second.......

In column A I have the month and Year "Nov-06".


If you have dates like Nov-06 how do you know what day of the month that is?

If I type in Nov-06 Excel evaluates it as Nov 6 2006 not Nov 2006

Seems to me that you should use the full date.

Biff

"Biff" wrote in message
...
Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(DAY(A1:A10)<12),C1:C10)

Biff

"Raj" wrote in message
...
I am new to using formulas in Excel and need some help with using SumIf
and a
date.
In column A I have the month and Year "Nov-06". I would like to do is
have
Column C Sum only if the current day is < 12 of the month.
Thanks





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default Help with SumIf

No typo.

If I format a cell as mmm-yy and type in Nov-06 Excel (2002) shows it in the
formula bar as 11/6/2006.

If I don't preformat the cell and type in Nov-06 Excel automatically
converts it to 6-Nov and shows 11/6/2006 in the formula bar.

Biff

"Sandy Mann" wrote in message
...
If I type in Nov-06 Excel evaluates it as Nov 6 2006 not Nov 2006


I assume that it is a typo because my XL97 evaluates Nov-06 to November 1
2006 not the 6th

--
Regards,

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


with @tiscali.co.uk


"Biff" wrote in message
...
Hold on there a second.......

In column A I have the month and Year "Nov-06".


If you have dates like Nov-06 how do you know what day of the month that
is?

If I type in Nov-06 Excel evaluates it as Nov 6 2006 not Nov 2006

Seems to me that you should use the full date.

Biff

"Biff" wrote in message
...
Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(DAY(A1:A10)<12),C1:C10)

Biff

"Raj" wrote in message
...
I am new to using formulas in Excel and need some help with using SumIf
and a
date.
In column A I have the month and Year "Nov-06". I would like to do is
have
Column C Sum only if the current day is < 12 of the month.
Thanks








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Help with SumIf

"Biff" wrote in message
...
No typo.


mmmmmm......

It must just be me being the poor cousin again then <g

--

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


with @tiscali.co.uk


"Biff" wrote in message
...
No typo.

If I format a cell as mmm-yy and type in Nov-06 Excel (2002) shows it in
the formula bar as 11/6/2006.

If I don't preformat the cell and type in Nov-06 Excel automatically
converts it to 6-Nov and shows 11/6/2006 in the formula bar.

Biff

"Sandy Mann" wrote in message
...
If I type in Nov-06 Excel evaluates it as Nov 6 2006 not Nov 2006


I assume that it is a typo because my XL97 evaluates Nov-06 to November 1
2006 not the 6th

--
Regards,

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


with @tiscali.co.uk


"Biff" wrote in message
...
Hold on there a second.......

In column A I have the month and Year "Nov-06".

If you have dates like Nov-06 how do you know what day of the month that
is?

If I type in Nov-06 Excel evaluates it as Nov 6 2006 not Nov 2006

Seems to me that you should use the full date.

Biff

"Biff" wrote in message
...
Try this:

=SUMPRODUCT(--(ISNUMBER(A1:A10)),--(DAY(A1:A10)<12),C1:C10)

Biff

"Raj" wrote in message
...
I am new to using formulas in Excel and need some help with using SumIf
and a
date.
In column A I have the month and Year "Nov-06". I would like to do is
have
Column C Sum only if the current day is < 12 of the month.
Thanks










  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 318
Default Help with SumIf

=SUMIF(A1:A15,"<11/7/2006",C1:C15)

"Raj" wrote:

I am new to using formulas in Excel and need some help with using SumIf and a
date.
In column A I have the month and Year "Nov-06". I would like to do is have
Column C Sum only if the current day is < 12 of the month.
Thanks

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 to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
How to use SUMIF function with non-adjacent cells KLaw Excel Worksheet Functions 5 October 19th 06 10:15 AM
SUMIF function help PO Excel Worksheet Functions 1 June 1st 06 09:33 AM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM


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