Re: Formula not adding right

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The easiest way is to put a date in a cell and use that cell
=b1

--
Don Guillett
SalesAid Software
dguillett1@xxxxxxxxxxxxx
"Rob" <Rob@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:88ECE7B5-42E0-4BD7-AC63-A2DAD141CAE1@xxxxxxxxxxxxxxxx
I'm trying to add up all the items that started on the current day. Johnny
is
the starting point person and the date & time is inserted that he started
an
item is recorded next to his name, currently there should be 11 for just
today. So I figured that i'd tweak a code I got help on yesterday to do
this,
here's what I have...

="Started Today - " &
SUMPRODUCT((B7:B20000="Johnny")*(C7:C20000<=9/7/2006)) & " Total"

The above code returns 8 so I also tried these variants...

="Started Today - " &
SUMPRODUCT((B7:B20000="Johnny")*(C7:C20000<9/7/2006)) & " Total"
="Started Today - " &
SUMPRODUCT((B7:B20000="Johnny")*(C7:C20000>9/7/2006)) & " Total"
="Started Today - " &
SUMPRODUCT((B7:B20000="Johnny")*(C7:C20000<=NOW())) & " Total"


There's more variants but none of them gives me the result I'm looking
for.
Oh, also here's what the date colum looks like, 9/7/2006 9:01:11 AM

Thanks in Advance,
Rob


.



Relevant Pages

  • Re: active offset
    ... Ran up against a sort problem. ... For Each cell In Range ... "Don Guillett" wrote: ... Sub active_offset ...
    (microsoft.public.excel.programming)
  • Re: Getting External Data with Bullying/Boundary problems
    ... Don Guillett wrote: ... .BackgroundQuery = True ... should incorporate a name delete into the macro to prevent this. ... The workbook has not been locked, nor the cell in question. ...
    (microsoft.public.excel.misc)
  • Re: active offset
    ... Is there a way to go from wksheet desc to wksheet data to get to the cell ... "Don Guillett" wrote: ... Sub cutpaste() ...
    (microsoft.public.excel.programming)
  • Re: Need help with macro to copy, paste, and clear cell values
    ... Don Guillett ... Microsoft MVP Excel ... When I exit cell G26 (or the equivalent cell when using a relative ... > Private Sub Worksheet_Change ...
    (microsoft.public.excel.misc)
  • Re: Question about multiple IFs
    ... Microsoft MVP Excel ... "Don Guillett" wrote in message ... ONE cell for each row in the destination sheet. ... "Roger Govier" wrote: ...
    (microsoft.public.excel)