Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Sumif Help needed

=SUMIF(A3:A356,MONTH(TODAY())-1,F3:F356) ' works fine
but
=SUMIF(A3:A356,MONTH()=1,F3:F356) 'does not
=SUMIF(A3:A356,MONTH(A3:A356)=1,F3:F356) 'does not
Really need the second line to work

Why? Is there a way around it, not using sumproduct?

--
Carl & Linda Brehm
Lake Lafourche Bird House
Hebert, LA

Keets, Tiels, GN Lories, Quakers
Mitred Conures, TAG's, Bourkes
Lovebirds, Cherry Head Conures
Prince of Whales

Wholesale Cages to Breeders & Pet Stores
  #2   Report Post  
Posted to microsoft.public.excel.programming
NC NC is offline
external usenet poster
 
Posts: 7
Default Sumif Help needed

hi you can try yhe following ARRAY formula.

=SUM(IF(MONTH(A3:A356)=1,F3:F356))

just be sure after entering the formula in formula window press
shift+control+enter & not just enter.

excel will treat this as an array formula and show it as
{=SUM(IF(MONTH(A3:A356)=1,F3:F356))}

hope it solves your problem.

Best Regards
NC

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Sumif Help needed

just be sure after entering the formula in formula window press
shift+control+enter & not just enter.


What difference does that make?

--
Carl & Linda Brehm

"NC" wrote in message
oups.com...
hi you can try yhe following ARRAY formula.

=SUM(IF(MONTH(A3:A356)=1,F3:F356))

just be sure after entering the formula in formula window press
shift+control+enter & not just enter.

excel will treat this as an array formula and show it as
{=SUM(IF(MONTH(A3:A356)=1,F3:F356))}

hope it solves your problem.

Best Regards
NC



  #4   Report Post  
Posted to microsoft.public.excel.programming
NC NC is offline
external usenet poster
 
Posts: 7
Default Sumif Help needed

As already specified in message pressing "Shift+control+enter" after
entering formula makes it be treated as array formula

for more on array formulas visit following url

http://www.cpearson.com/excel/array.htm

Regards
NC

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 help needed j.jansson Excel Discussion (Misc queries) 6 August 28th 07 02:46 PM
Help needed with a SUMIF(AND Francois via OfficeKB.com Excel Discussion (Misc queries) 11 June 6th 07 01:31 PM
SumIf help needed ( I think) Julie Excel Discussion (Misc queries) 4 August 21st 06 10:00 PM
SumIf help needed plz... miwarren Excel Worksheet Functions 7 June 29th 05 10:18 AM
SUMIF help needed Walter Excel Worksheet Functions 9 April 30th 05 04:50 AM


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