+ Reply to Thread
Results 1 to 5 of 5

Compare two columns and place values ​​side by side

  1. #1
    Registered User
    Join Date
    06-20-2022
    Location
    Berlin, Germany
    MS-Off Ver
    2013
    Posts
    7

    Compare two columns and place values ​​side by side

    Hello,

    I'm facing a problem which I couldn't solve even after a long search and trying.

    I have a column A, here are date values ​​without gaps. Then I have a column B with dates which are however incomplete, even if there are double values. In column C&D are values ​​that belong to the respective cells in B. I'm looking for a function/macro which

    - Compares values ​​from column B with values ​​from column A, if they are the same, puts them next to each other, if there are double dates then delete the doubles and there should be an "X" where the dates should be missing.

    I hope that someone can help me. I attached an Example Sorry for my bad English..

    Thank you in advance and best regards

    Example.PNG

  2. #2
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2402-17328.20068
    Posts
    1,360

    Re: Compare two columns and place values ​​side by side

    Going off of the picture:

    Please Login or Register  to view this content.
    Probably many more ways of doing this but above is just my brains freehand
    If things don't change they stay the same

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Compare two columns and place values ​​side by side

    Hi and welcome to the forum

    Pictures are of little value. Honestly, no one wants to re-type your data to try and solve your issue. Additionally, we would only be guessing at how your data was structured, ie. formulas, formatting, etc. Additionally, due to how some browsers behave, many of our members cannot see uploaded pictures/images. Please do not take this route.

    Please attach a sample file that represents what you have. The structure of your attachment should be the same structure as your actual data. Any proprietary information should be changed.

    Include in the attachment any code you're currently using (whether it works or not) and an "After" of what you wish the output to be.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  4. #4
    Registered User
    Join Date
    06-20-2022
    Location
    Berlin, Germany
    MS-Off Ver
    2013
    Posts
    7

    Re: Compare two columns and place values ​​side by side

    Hello,

    This is exactly that, what I needed! You are awesome, thank you very much!!!

    Best regards

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,882

    Re: Compare two columns and place values ​​side by side

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Side by side of 1 cell values ​​in every 4 rows
    By shtmd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-26-2021, 12:37 PM
  2. Register dynamic values ​​in static values ​​via VBA
    By edneipaula in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-26-2019, 08:57 AM
  3. How to Find, compare and retrieve values ​​from different columns?
    By onlymeat in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-06-2014, 08:46 AM
  4. [SOLVED] Find different values ​​in different columns
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-01-2014, 09:17 AM
  5. compare values in one column, based on the values ​​in the second
    By young_86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2013, 10:16 AM
  6. Replies: 7
    Last Post: 11-23-2012, 08:40 AM
  7. [SOLVED] VBA to sum values ​​based on the values ​​in column
    By young_86 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2012, 11:49 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