+ Reply to Thread
Results 1 to 5 of 5

Formula to correlate varying data in one column to varying data in another column

  1. #1
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2013
    Posts
    8

    Formula to correlate varying data in one column to varying data in another column

    I hope the question isn't to ambiguous. I really had no Idea how to phrase it.

    What I'm looking for is a way to calculate time in between key strokes. So I have this csv file that looks like this:

    Time(ms) Hand Rotation Left Thumb Right Thumb Tapping Finger Code Mapped Output
    3 A 0 0 0 A000
    791 A 0 0 0 A00000 Shift
    6563 A 0 0 7 A0070000 a
    8841 A 1 0 5 A1050000
    9346 A 1 0 2 A102000 e

    In Column A I have miliseconds, in Columb G i have the mapped output. I want a way to calculate the time in between each keystroke. Something like

    To find the first cell with data in G and get the milliseconds in A I have
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then I would have something like
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But then how would I continue to map through the data and get a difference every time there is a new mapped output??

    So column A will always have milliseconds in it but column G only contains a char if there was a keystroke at that time.

    I honestly don't even have a clue on how to go about building a formula to calculate this. Any help or advice would be SUPER appreciated.
    Last edited by Chris_SS; 05-09-2014 at 07:39 AM.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Formula to correlate varying data in one column to varying data in another column

    Have a look at the attached example
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Formula to correlate varying data in one column to varying data in another column

    Hmmm.. when I implement this i get a #NUM error on the rows that have input. In your example you wrap the function with {} yet when I do that on my Excel it gives me an error. I am working with Excel 2013 Professional Plus

  4. #4
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Formula to correlate varying data in one column to varying data in another column

    Quote Originally Posted by Chris_SS View Post
    Hmmm.. when I implement this i get a #NUM error on the rows that have input. In your example you wrap the function with {} yet when I do that on my Excel it gives me an error. I am working with Excel 2013 Professional Plus
    After keying in the formula, change it to an array formula by pressing Ctrl + Shift + Enter
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  5. #5
    Registered User
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Formula to correlate varying data in one column to varying data in another column

    Gah! Thank you so much! I'd love to learn a lot of the more complicated formulas at some point!!

+ 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. Need to transpose one column into multiple with varying data
    By Topher77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-21-2014, 06:06 PM
  2. [SOLVED] Find a Specific Column Title, Copy the corresponding (varying data) and Paste
    By sperry2565 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2013, 11:25 AM
  3. Varying column letter in a formula
    By SarBreen in forum Excel General
    Replies: 1
    Last Post: 06-08-2011, 01:00 PM
  4. If I have data for varying times in a column chart, how do I space
    By tc1967uk in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-22-2005, 02:06 PM
  5. Fill down formula using VBA to varying column lengths
    By Lee Jeffery in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 01-28-2005, 08:40 PM

Tags for this Thread

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