+ Reply to Thread
Results 1 to 5 of 5

Extract 16:30 value each day

  1. #1
    Forum Contributor
    Join Date
    05-14-2007
    Location
    London
    MS-Off Ver
    office 365
    Posts
    118

    Extract 16:30 value each day

    Hi and thank you for taking the time to help me with this problem. Attached is a spreadsheet with values contained in it.

    We have in column B the date time values at 30min intervals ie 11/12/2013 16:30:00, 11/12/2013 16:00:00, 11/12/2013 15:30:00 etc
    We have in column C the value for each 30min time is there ie 6507, 6517, 6531 etc

    In column E i would like the 16:30 value for each day

    Hope you can help

    Thank you
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Extract 16:30 value each day

    One way: E2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down.

    Filter on non blank column E

    HTML Code: 
    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Extract 16:30 value each day

    Using your posted workbook...Maybe this approach

    F1: TimeTest...(or any text that is not a column heading from your data)
    F2: =MOD(B2,1)=--"16:30:00"

    H1: Intraday_Date
    I1: Bar Time
    J1: Value

    • Select A1:C4376
    • Data.Advanced_Filter
    ...Check: Copy to another loca5tion
    ...List range: $A$1:$C$4376
    ...Criteria range: $F$1:$F2
    ...Copy to: $H$1:$J$1
    ...Click: OK

    The matching records will list under $H$1:$J$1

    Alternatively, you could just use E1 as the Copy to range
    E1: Value

    and only the values will list

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Contributor
    Join Date
    05-14-2007
    Location
    London
    MS-Off Ver
    office 365
    Posts
    118

    Re: Extract 16:30 value each day

    Thank you very much

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: Extract 16:30 value each day

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extract a Value
    By Rajesh123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2008, 12:03 AM
  2. [SOLVED] How can I extract each Max key value ?
    By diglas1 via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-31-2006, 06:10 PM
  3. extract value
    By martinjf in forum Excel General
    Replies: 6
    Last Post: 08-14-2005, 05:05 PM
  4. [SOLVED] Extract Unique Values, Then Extract Again to Remove Suffixes
    By Karl Burrows in forum Excel General
    Replies: 23
    Last Post: 06-25-2005, 08:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1