+ Reply to Thread
Results 1 to 26 of 26

problem in convert from 15 minutes to 10 minutes

  1. #1
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    convert from 15 minutes table to 10 minutes table

    dear
    i have records for wind speed and its every 15 minutes as you see in pictures below ...what i want to do is to convert it from every 15 minutes to every 10 minutes for example for one hour from

    Table 1
    14:00 5.55
    14:15 6.75
    14:30 6.36
    14:45 6.44
    15:00 6.19


    to
    Table 2
    14:00 (the same value of previous table)
    14:10 (the average of 14:00 and 14:15)
    14:30 (the same value of previous table)
    14:40 (the average of 14:30 and 14:45)
    14:50 (the average of 14:45 and 14:15:00)
    15:00 (the same value of previous table)

    how can i do this task ???i tray some solution but the hard problem face me how to keep the same value from previous table in new table

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: convert from 15 minutes table to 10 minutes table

    Hi and welcome to the forum

    Im not sure that what you want to do would be mathematically correct? You have taken 4 readings per hour, and you want to convert them to 6 readings per hour?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: convert from 15 minutes table to 10 minutes table

    See the attached file.

    The result is in the green cells.
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    thank u very much
    but there is minor problem
    the (14:30) value in table 1 not equal to (14:30) in table 2 -the new table-

    Table 1
    14:00 5.55
    14:15 6.75
    14:30 6.36
    14:45 6.44
    15:00 6.19

    Table 2

    14:00 5.55
    14:10 6.15
    14:20 6.56
    14:30 6.40
    14:40 6.40
    14:50 6.32
    15:00 6.19

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: convert from 15 minutes table to 10 minutes table

    Make sure the format is all the same for the whole sheet.

    See the attached file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    Quote Originally Posted by oeldere View Post
    Make sure the format is all the same for the whole sheet.

    See the attached file.
    thanks very mach
    i tray to make my own file but i faced this problem
    problem 1.jpg

    how can i avoid it

    attached my excel file with formula

    =IFERROR($E1,$A$1:$B$17,2,0),(INDEX($A$1:$B$17,MATCH($E1,$A1:$A$17,1),2)+INDEX($A$17:$B$17,MATCH($E1,$A$1:$A$1:$A$17,1)+1,2))/2)

  7. #7
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    my excel file
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: convert from 15 minutes table to 10 minutes table

    Please check if this is what you want.

    See the attached file.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    thank u very much
    please can u help me how to avoid error i make it as in my excel file
    can u explain me the formula you make (document or link can explain the formula)

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: convert from 15 minutes table to 10 minutes table

    If you post your formula I can explain it to you (otherwise you get an explaination of a dutch formula).

  11. #11
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    =IFERROR($E1,$A$1:$B$17,2,0),(INDEX($A$1:$B$17,MATCH($E1,$A1:$A$17,1),2)+INDEX($A$17:$B$17,MATCH($E1,$A$1:$A$1:$A$17,1)+1,2))/2)

    this my formula when i tray to run it i have this error Message ...can you help me how to avoid it

    http://www.iraqup.com/up/20130601/27...X_98073434.jpg

    another question please

    =IFERROR($E1,$A$1:$B$17,2,0),(INDEX($A$1:$B$17,MATCH($E1,$A1:$A$17,1),2)+INDEX($A$17:$B$17,MATCH($E1,$A$1:$A$1:$A$17,1)+1,2))/2)

    can u explain me the (red)
    i so appreciated for your help

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: convert from 15 minutes table to 10 minutes table

    You didn't copy the whole formula.


    In dutch it''s this one.
    Please Login or Register  to view this content.
    Seek for the differance in your formula.

  13. #13
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: convert from 15 minutes table to 10 minutes table

    dear can you check attached file and tell whats problem with it

    the problem that the value of 10:30 AM in first table not equal to the value of 10:30 AM in generated table


    10:00:00 AM 2.23 10:00:00 AM 2.23
    10:15:00 AM 1.67 10:10:00 AM 1.95
    10:30:00 AM 1.75 10:20:00 AM 1.71
    10:45:00 AM 1.52 10:30:00 AM 1.71
    11:00:00 AM 1.30 10:40:00 AM 1.635
    11:15:00 AM 0.76 10:50:00 AM 1.41
    11:30:00 AM 0.78 11:00:00 AM 1.41
    11:45:00 AM 0.67 11:10:00 AM 1.03
    12:00:00 PM 1.12 11:20:00 AM 0.77
    12:15:00 PM 0.86 11:30:00 AM 0.77
    12:30:00 PM 1.17 11:40:00 AM 0.725
    12:45:00 PM 0.61 11:50:00 AM 0.895
    1:00:00 PM 0.42 12:00:00 PM 0.895
    1:15:00 PM 0.63 12:10:00 PM 0.99
    1:30:00 PM 0.06 12:20:00 PM 1.015
    1:45:00 PM 0.64 12:30:00 PM 1.015
    2:00:00 PM 1.30 12:40:00 PM 0.89
    2:15:00 PM 1.05 12:50:00 PM 0.515
    2:30:00 PM 1.04 1:00:00 PM 0.515
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    attached file
    Attached Files Attached Files

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    Advice: refer to the already given solution, so other member can take notice of.

    http://www.excelforum.com/excel-form...25#post3262625

  16. #16
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    OK thanks plz need your help

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    I see 2 differant data (15 minutes) and (10 minutes).

    I don't see the expected (desired) result.

    In that case I can't help you with your problem (and probably other members also can't help you).

  18. #18
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    plz check the file you already made it tom me it work and very effictive but when i copy the formula
    =IFERROR(VLOOKUP($E1,$A$1:$B$17,2,0),(INDEX($A$1:$B$17,MATCH($E1,$A$1:$A$17,1),2)+INDEX($A$1:$B$17,MATCH($E1,$A$1:$A$17,1)+1,2))/2)

    to another file it is not work (check the first attachment) also so i need to explanation why this error
    Attached Files Attached Files

  19. #19
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    You ask me to compare to workbooks for you.

    Plaese put all data together (in 1 workbook), and also show me the result, than I will take a look at it.

  20. #20
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    my problem is i need formula or help in this task :
    i have records for wind speed and its every 15 minutes as you see in pictures below ...what i want to do is to convert it from every 15 minutes to every 10 minutes for example for one hour from

    Table 1
    14:00 5.55
    14:15 6.75
    14:30 6.36
    14:45 6.44
    15:00 6.19


    to
    Table 2
    14:00 (the same value of previous table)
    14:10 (the average of 14:00 and 14:15) the new value should = 6.15
    14:20 (the average of 14:14 and 14:30)
    14:30 (the same value of previous table)
    14:40 (the average of 14:30 and 14:45) the new value should =6.55
    14:50 (the average of 14:45 and 14:15:00)
    15:00 (the same value of previous table)


    your answer and help is useful but the problem with it it work only on file you upload it when i copy your formula in another excel sheet it is not work the file attached named (AA) in previous post it is your work but when i tray to copy your formula to another file as in file (book1) attached in post 2
    it is not work

    so please to help in check the error of formula in the first attached file

  21. #21
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    See my request in #7.

  22. #22
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    Quote Originally Posted by oeldere View Post
    See my request in #7.
    OK see attached file
    Attached Files Attached Files

  23. #23
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    In which column I will find the result?

  24. #24
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    Quote Originally Posted by oeldere View Post
    In which column I will find the result?
    in column M

  25. #25
    Registered User
    Join Date
    05-30-2013
    Location
    iraq
    MS-Off Ver
    Excel 2007
    Posts
    16

    Re: problem in convert from 15 minutes to 10 minutes

    up for more

  26. #26
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: problem in convert from 15 minutes to 10 minutes

    Probably I don't get it.

    In column M are formula's in the cells.

    What should be the desired (expected) results, if column M don't have the correct answers.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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