+ Reply to Thread
Results 1 to 3 of 3

aligning cells based on matching data in column pairs

  1. #1
    Registered User
    Join Date
    08-13-2014
    Location
    London
    MS-Off Ver
    2007
    Posts
    2

    aligning cells based on matching data in column pairs

    Hi all,

    Hope you can help me. I've got 3 pairs of columns and I need to sort through them and align the cells in columns E&F with those in A&B and C&D. The cells I need to match up are the times (columns A, C and E)

    Example - convert this:

    A...............................B..........C...............................D.........E...............................F......
    BID TIME.....................BID.......ASK TIME....................ASK......TRADE TIME................TRADE
    30/07/2014 14:21:04.....6.10.....30/07/2014 14:22:37.....6.13.....30/07/2014 14:21:04.....6.13
    30/07/2014 14:21:06.....6.11.....30/07/2014 14:22:54.....6.13.....30/07/2014 14:22:37.....6.13
    30/07/2014 14:22:37.....6.11.....30/07/2014 14:22:56.....6.13.....30/07/2014 14:22:54.....6.13
    30/07/2014 14:22:54.....6.11.....30/07/2014 14:22:56.....6.14.....30/07/2014 14:22:56.....6.13
    30/07/2014 14:22:56.....6.11.....30/07/2014 14:22:59.....6.13.....30/07/2014 14:22:59.....6.13

    Into this:

    BID TIME.....................BID.......ASK TIME....................ASK......TRADE TIME................TRADE
    30/07/2014 14:21:04.....6.10.................................................30/07/2014 14:21:04.....6.13
    30/07/2014 14:21:06.....6.11........................................................................................
    30/07/2014 14:22:37.....6.11.....30/07/2014 14:22:37.....6.13.....30/07/2014 14:22:37.....6.13
    30/07/2014 14:22:54.....6.11.....30/07/2014 14:22:54.....6.13.....30/07/2014 14:22:54.....6.13
    30/07/2014 14:22:56.....6.11.....30/07/2014 14:22:56.....6.13.....30/07/2014 14:22:56.....6.13
    ............................................30/07/2014 14:22:56.....6.14............................................
    ............................................30/07/2014 14:22:59.....6.13.....30/07/2014 14:22:59.....6.13

    I don't know VBA so hopefully there's a way of doing this with a basic Excel function.

    And then I need to figure out how many of the trades were done at the bid and how many at the ask. I expect I'll be able to figure this out using a filter.

    Thanks in advance.

    -FF88

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: aligning cells based on matching data in column pairs

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    08-13-2014
    Location
    London
    MS-Off Ver
    2007
    Posts
    2

    Re: aligning cells based on matching data in column pairs

    Sample attached with raw data and desired results.
    Attached Files Attached Files

+ 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: 6
    Last Post: 04-11-2014, 04:45 AM
  2. Aligning columns based on matching rows
    By kenny10 in forum Excel General
    Replies: 2
    Last Post: 02-12-2014, 04:19 PM
  3. [SOLVED] Matching two pairs of cells between two lists
    By pierre86 in forum Excel General
    Replies: 8
    Last Post: 09-13-2013, 08:43 PM
  4. [SOLVED] Graciously requesting assistance aligning columns based on identical data in cells
    By roking in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2012, 01:34 PM
  5. Replies: 1
    Last Post: 07-06-2006, 01:25 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