Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
abanerji
 
Posts: n/a
Default Sumif formula not giving result


What could be wrong with this formula please? It is not throwing an
error, just evaluating to zero. However, the basic data which I have
should return a positive number. The formula is

=SUMIF($C2:$C54,"date(2005,9,30)",E2:E54)

The range c2:c54 contains valid dates some of which are greater than
sep 30 2005. The range e2:e54 contains amounts.
The range c2:c54 also includes a few blank cells.


--
abanerji
------------------------------------------------------------------------
abanerji's Profile: http://www.excelforum.com/member.php...o&userid=35382
View this thread: http://www.excelforum.com/showthread...hreadid=551513

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Sumif formula not giving result

Hi

Try this:
=SUMIF($C2:$C54,""&date(2005,9,30),E2:E54)

Hope this helps.
Andy.

"abanerji" wrote in
message ...

What could be wrong with this formula please? It is not throwing an
error, just evaluating to zero. However, the basic data which I have
should return a positive number. The formula is

=SUMIF($C2:$C54,"date(2005,9,30)",E2:E54)

The range c2:c54 contains valid dates some of which are greater than
sep 30 2005. The range e2:e54 contains amounts.
The range c2:c54 also includes a few blank cells.


--
abanerji
------------------------------------------------------------------------
abanerji's Profile:
http://www.excelforum.com/member.php...o&userid=35382
View this thread: http://www.excelforum.com/showthread...hreadid=551513



  #3   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Sumif formula not giving result

Try where A1 contains your date:

=SUMIF($C2:$C53,"" & A1,E2:E53)

OR

=SUMIF($C2:$C53,"25/9/2005",E2:E53)

"abanerji" wrote:


What could be wrong with this formula please? It is not throwing an
error, just evaluating to zero. However, the basic data which I have
should return a positive number. The formula is

=SUMIF($C2:$C54,"date(2005,9,30)",E2:E54)

The range c2:c54 contains valid dates some of which are greater than
sep 30 2005. The range e2:e54 contains amounts.
The range c2:c54 also includes a few blank cells.


--
abanerji
------------------------------------------------------------------------
abanerji's Profile: http://www.excelforum.com/member.php...o&userid=35382
View this thread: http://www.excelforum.com/showthread...hreadid=551513


  #4   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default Sumif formula not giving result


=sumif($c2:$c54,""&date(2005,9,30),e2:e54)


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=551513

  #5   Report Post  
Posted to microsoft.public.excel.misc
abanerji
 
Posts: n/a
Default Sumif formula not giving result


Thank you Toppers. I tried your second alternative ... it worked.

But, I am still academically curious as to why my
"date(year,month,day)" function inserted within the formula failed to
evaluate.
I think I have successfully embedded functions within other formulae
several times in the past.


--
abanerji
------------------------------------------------------------------------
abanerji's Profile: http://www.excelforum.com/member.php...o&userid=35382
View this thread: http://www.excelforum.com/showthread...hreadid=551513



  #6   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Sumif formula not giving result

See the other responses but the "date(...)" is treated as a text string
whereas the "" & date( ...) is treated as comparator + function in the same
way that you can use "" & A1.

HTH

"abanerji" wrote:


Thank you Toppers. I tried your second alternative ... it worked.

But, I am still academically curious as to why my
"date(year,month,day)" function inserted within the formula failed to
evaluate.
I think I have successfully embedded functions within other formulae
several times in the past.


--
abanerji
------------------------------------------------------------------------
abanerji's Profile: http://www.excelforum.com/member.php...o&userid=35382
View this thread: http://www.excelforum.com/showthread...hreadid=551513


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
The Formula is displaying, not the result tcarp Excel Discussion (Misc queries) 6 January 30th 07 06:51 AM
Formula not giving me the right result Steved Excel Worksheet Functions 6 May 10th 06 03:22 AM
Formula Showing In A Cell Instead of Proper Result DanK New Users to Excel 2 March 4th 06 06:46 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Copy Paste of Formula Produces Incorrect Result JLa Excel Discussion (Misc queries) 1 May 17th 05 06:56 PM


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