+ Reply to Thread
Results 1 to 11 of 11

Translating values over time

  1. #1
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Translating values over time

    Hi everybody.
    I have a complicated math problem. As follows:
    At the time points: 00:00, 00:05, 00:10, 00:15,....(multiple of 5), the data before and after does not change.
    In addition to the above milestones, it changes, based on the time of 2 landmarks.
    Please see attached file.
    Can someone research and help me solve this complex problem.
    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: Translating values over time

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Translating values over time

    Thank you Mr. Jindon
    First of all, I apologize for not being clear and not checking the demo file carefully.
    I would like to send back the file and the desired content.
    Thank you.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: Translating values over time

    Still not clear.

    You said
    "Begin: 00:00 to 00:05, Decreasing value."
    "Begin: 00:15 to 00:20,Incremental value."
    Waht about others?

  5. #5
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Translating values over time

    @jindon.
    Yes, that's what I took as an example.
    My problem is to consider the first and last two landmarks.
    If the starting point data is larger than the end point data, then the values are decremented.
    If the starting price is less than the end point, the values increase.
    The result is the same as the Demo file.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: Translating values over time

    I wrote the code according to your data set of before/after. and you only have up to 2022/1/1 0:15:00.

    I don't think I understand why you are trying to say, unless you upload your complete results that you want.

  7. #7
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Translating values over time

    @jindon:
    I assigned the desired result to File.
    I also checked the file again.
    Can you please write vba code for me.
    Thank you.
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: Translating values over time

    Decrease 00:00 to 00:14, Increase 00:15 to 00:24, Decrease 00:25 to 00:29.
    so, no logical interval?

  9. #9
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Translating values over time

    @jindon:
    My data is huge.
    So I just included some demo values.
    The key to the problem is to compare two time points so that there are translational values that increase or decrease.
    You try to research for me.
    Thank you.

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,592

    Re: Translating values over time

    Did you want to say that

    Check each 5 minutes and if it is increasing, increase, otherwise decrease.

    Please Login or Register  to view this content.

  11. #11
    Forum Contributor tax112's Avatar
    Join Date
    02-28-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2016 | 2019
    Posts
    438

    Re: Translating values over time

    @jindon:
    Exactly.
    Thank you very much.

+ 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. [SOLVED] Translating array formula - count unique values between dates on filtered sheet - to VBA
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-10-2018, 09:45 AM
  2. [SOLVED] Need help with translating .VB to VBA
    By RinorM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-22-2014, 05:34 AM
  3. [SOLVED] Help translating If/Then fn to LOOKUP
    By HelpMeAmelia in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-05-2013, 02:10 AM
  4. Translating Xs to number values
    By Starmy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-22-2013, 07:16 PM
  5. Translating an inconsistent text string to time format.
    By graveyardshiftee in forum Excel General
    Replies: 2
    Last Post: 02-21-2012, 05:42 AM
  6. Translating unique values
    By mrodsho in forum Excel General
    Replies: 1
    Last Post: 01-12-2011, 11:56 AM
  7. [SOLVED] "Translating" values in a cell
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-12-2005, 07:06 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