Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default removing/ignoring time in a date time field

I have data from a DB that I am working with. The transaction time is in
date, time format. when I want to run a function against this data

=sumproduct((date=x)*(issue=Y)*(status=z))

I would like to be able to query against a date (24 hour period)
unfortunately 7/17/2008 does not = 7/17/2008 01:00:54.

is there a way to ingnore the time stamp so that I can query the data and
pull all data on a specific date.

Thanks

Jeff

--
Jeff
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default removing/ignoring time in a date time field

Instead of date=x, you can try

=IF(TEXT(date,"mmmm-dd-yyyy")=TEXT(x,"mmmm-dd-yyyy"),1,0)
--
John C


"Jeff" wrote:

I have data from a DB that I am working with. The transaction time is in
date, time format. when I want to run a function against this data

=sumproduct((date=x)*(issue=Y)*(status=z))

I would like to be able to query against a date (24 hour period)
unfortunately 7/17/2008 does not = 7/17/2008 01:00:54.

is there a way to ingnore the time stamp so that I can query the data and
pull all data on a specific date.

Thanks

Jeff

--
Jeff

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default removing/ignoring time in a date time field

So how would that apply to a named range?

I am looking through several hundred rows of data and trying to get a count
of issues on a certain date.

if the range name=Date how does that work into the formula below?

Thanks

Jeff
--
Jeff


"John C" wrote:

Instead of date=x, you can try

=IF(TEXT(date,"mmmm-dd-yyyy")=TEXT(x,"mmmm-dd-yyyy"),1,0)
--
John C


"Jeff" wrote:

I have data from a DB that I am working with. The transaction time is in
date, time format. when I want to run a function against this data

=sumproduct((date=x)*(issue=Y)*(status=z))

I would like to be able to query against a date (24 hour period)
unfortunately 7/17/2008 does not = 7/17/2008 01:00:54.

is there a way to ingnore the time stamp so that I can query the data and
pull all data on a specific date.

Thanks

Jeff

--
Jeffs

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
Removing date from time Ugnz Excel Discussion (Misc queries) 5 November 13th 07 10:00 PM
Ignoring Time in a Date Time Calculation nmp Excel Worksheet Functions 3 November 23rd 05 08:32 PM
How to Join/concatenate a date field with a time field in Excel? Alan Excel Discussion (Misc queries) 4 August 9th 05 10:07 PM
Drop time in date/time field Gail Excel Worksheet Functions 1 March 21st 05 08:21 PM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


All times are GMT +1. The time now is 08:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"