LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Need Help with Sumif function

No prob, David. Thanks for clarifying.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Apologies for the confusion.
I now realise that the reason that I was getting different answers (zero
in the case of the first formula) is that we speak different languages.
If I change your formula from ...,"12/31/07",... to ...,"31/12/07",...
then I get the same correct answer as using ...,date(2007,12,31),...
I should have realised, as you obviously had when you mentioned that the
latter was "the better, unambiguous way to go."
I knew that there was cases where 12/31/07 is treated as 12 divided by 31
divided by 07, but I knew that if it were treated that way I would be
getting all TRUE results from the condition, but I wasn't wide enough
awake at the time to realise that it was presumably treating 12/31/07 as a
string in this case, and hence the date comparison was always coming out
FALSE.
--
David Biddulph



 
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 nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
Using the TODAY() function in a SUMIF function JPB Excel Worksheet Functions 4 July 27th 06 04:01 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Can SUMIF function include AND function ShaneS Excel Worksheet Functions 1 May 17th 05 03:24 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


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