+ Reply to Thread
Results 1 to 6 of 6

selecting exact time (**:00) from 1 minute data

  1. #1
    Forum Contributor
    Join Date
    08-06-2014
    Location
    iran
    MS-Off Ver
    2016
    Posts
    110

    selecting exact time (**:00) from 1 minute data

    hi
    i want to select one hour data from sheet 1 some body (Sourabhg98(with best wishes for him)) post me the formula below

    A2 =INDEX(Sheet1!A:B,(ROW(A1)-1)*60+2,1)

    B2 =INDEX(Sheet1!A:B,(ROW(A1)-1)*60+2,2)
    i use it and it works correct until my device has no interruption so som how i face with this problem like this
    2011/01/01 02:00 1.223
    2011/01/01 02:01 1.217
    2011/01/01 02:03 1.228
    2011/01/01 02:04 1.212
    2011/01/01 02:05 1.21
    2011/01/01 02:06 1.204
    2011/01/01 02:10 1.211
    2011/01/01 02:11 1.214
    2011/01/01 02:13 1.218
    2011/01/01 02:17 1.222


    and then the result is not correct with that formula
    so please help me sending a code or formula with sensitiveness to the **:00
    thanks so much
    Attached Files Attached Files
    Last edited by fakhteh; 02-13-2015 at 06:40 AM. Reason: thanks

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: selecting exact time (**:00) from 1 minute data

    I think this may work:

    Paste into A2 on your result sheet and confirm with CTRL+SHIFT+ENTER. Drag down until you get an invalid date value:

    Please Login or Register  to view this content.
    In B2 of the same sheet, paste and drag down to fill. This does not have to be entered with CSE:

    Please Login or Register  to view this content.
    Last edited by mcmahobt; 02-19-2015 at 11:08 AM.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Forum Contributor
    Join Date
    08-06-2014
    Location
    iran
    MS-Off Ver
    2016
    Posts
    110

    Re: selecting exact time (**:00) from 1 minute data

    Hi
    i dont know if it is my fault or not but the result of (b2=) isnt correct
    please check the formula if it needs to be correct and if not warn me
    thanks so much

  4. #4
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: selecting exact time (**:00) from 1 minute data

    My apologies. Try the formula now.

  5. #5
    Forum Contributor
    Join Date
    08-06-2014
    Location
    iran
    MS-Off Ver
    2016
    Posts
    110

    Re: selecting exact time (**:00) from 1 minute data

    Hi again
    i tried the formula and i faced to a problem. how can i fix this : (#value! 2011/01/02 04:00 3.889) as i have attached and the other problem is how can i delete #num! to have just exact time and the last one is the amounth of my data in excel that is too large for about a year (monthly)
    so if there is a way as vba (macro) i think it is better if not i will use it afther your correction
    i appreciate your help thanks so much.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: selecting exact time (**:00) from 1 minute data

    If you want to go the formula route (processing intensive), paste this into A2 on Sheet2 and confirm with CSE:

    Please Login or Register  to view this content.
    Then in B2 paste this, does not have to be confirmed with CSE:

    Please Login or Register  to view this content.

+ 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. Replies: 2
    Last Post: 02-15-2014, 03:12 PM
  2. Correspond Dates to Minute by Minute Data
    By chubby127 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-22-2013, 05:50 AM
  3. [SOLVED] Please Help - Trying to convert 1-2 sec data to a 5 minute Average based on time stamp -
    By elyk1173 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-31-2012, 10:34 AM
  4. Calculating hourly averages from 15 minute time-series data
    By randinator in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2012, 12:18 PM
  5. Replies: 6
    Last Post: 11-12-2011, 12:38 AM

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