+ Reply to Thread
Results 1 to 6 of 6

Arrange data in columns B and C against a linear timeline in column A

  1. #1
    Registered User
    Join Date
    08-23-2012
    Location
    Earth
    MS-Off Ver
    Excel 2016
    Posts
    2

    Arrange data in columns B and C against a linear timeline in column A

    I apologize in advance because I'm sure there's an answer to this question already, but I'm not knowledgeable enough to provide the right search terms to find it despite my best efforts.

    I have data in two columns - first a Date, then a Value.

    I want to put a sequential date sequence in Column A (e.g. 1/1/2018 to 12/31/2020), then paste my non-sequential data into two columns and have Excel align the data values with the timeline.

    How do I get the pasted non-sequential data (Dates and their Values) to line up with the corresponding dates in Column A?

    I've managed to use this formula that someone generously posted:
    =IF(ISNA(MATCH(A1,B:B,0)),"",INDEX(B:B,MATCH(A1,B:B,0)))

    ...to get my data's Dates to align with the timeline, but I can't get the Values to do the same.

    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Arrange data in columns B and C against a linear timeline in column A

    In B17 then copied across.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Arrange data in columns B and C against a linear timeline in column A

    You can use this formula in B2:

    =IF(ISNA(MATCH($A2,$E:$E,0)),"",VLOOKUP($A2,$E:$F,COLUMNS($E:E),0))

    and copy it into C2. Then you can copy both those formulae down as far as you need to.

    Hope this helps.

    Pete

    P.S. If you are no longer using Excel 2003, please update your profile.

  4. #4
    Registered User
    Join Date
    12-03-2020
    Location
    Bangkok,Thailand
    MS-Off Ver
    365
    Posts
    29

    Re: Arrange data in columns B and C against a linear timeline in column A

    Here are alternative ones.

    B17 and down:

    =IFERROR(--CONCAT(IF(A17=$E$2:$E$6,$E$2:$E$6,"")),"")

    C17 and down:

    =CONCAT(IF(A17=$E$2:$E$6,$F$2:$F$6,""))

  5. #5
    Registered User
    Join Date
    08-23-2012
    Location
    Earth
    MS-Off Ver
    Excel 2016
    Posts
    2

    Thumbs up Re: Arrange data in columns B and C against a linear timeline in column A

    Pete's solution does the trick nicely - thanks Pete!

    Also thank you for pointing out my stale profile info - I've updated it.


    Thank you to everyone who assisted - I appreciate the efforts of all the experts on this forum.

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Arrange data in columns B and C against a linear timeline in column A

    Glad to help, and thanks for the rep.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Using a more recent version of Excel allows you to simplify the formula that I gave you:

    =IFERROR(VLOOKUP($A2,$E:$F,COLUMNS($E:E),0),"")

    Put this in B2, copy into C2, then copy both formulae down, as before.

    Hope this helps.

    Pete

+ 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] Arrange column data from multiple sheets based on two columns each sheet has.
    By Choochi in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 04-01-2020, 07:49 PM
  2. Cashflow Modeling: Looking up multiple values over a non-linear timeline
    By nkoglin in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2019, 01:10 PM
  3. Arrange columns by alphabetical column names
    By jewelsharma in forum Excel General
    Replies: 10
    Last Post: 01-05-2018, 04:34 AM
  4. arrange the data of some columns in on column
    By cvs_morna in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 07-18-2014, 05:12 AM
  5. Replies: 0
    Last Post: 02-27-2013, 07:55 PM
  6. Re-arrange data in one column into multiple columns
    By AdamParker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2012, 08:13 PM
  7. [SOLVED] Project exponential growth againt linear timeline
    By [email protected] in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2006, 09:15 AM

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