+ Reply to Thread
Results 1 to 4 of 4

Organize scattered, similar cell values into the same columns?

  1. #1
    Registered User
    Join Date
    12-20-2016
    Location
    United States
    MS-Off Ver
    2016
    Posts
    40

    Organize scattered, similar cell values into the same columns?

    Hi everyone! I've been struggling on and off for the past couple of days trying to find a way to come up with a solution to my problem with a large export of data I have. I will include some pictures with some arbitrary data to help explain what I have and what I'd like to do with the data, in hopes that someone wouldn't mind giving me a little guidance, but I'll try to verbally-explain the problem first.

    I have a list of computer names in column "A", and starting in column "B" I have many columns of software installed, for each of the many rows of computers. The software installed on each computer, starting in column "B", is in alphabetical order. The problem is that no every computer has the same software installed, so though many computers have the same software installed, the software is very rarely aligned with the same software in a given column. This causes an issue with filtering and reporting. For instance, if I want to filter only hosts that have a specific software installed, the results will show only computers with the that specific software in that specific column. If that software I'm filtering for exists in other columns then it gets omitted from the filter.

    So I'm trying to come up with a way to either automatically align all of the same software into the same column; or maybe even automatically-generating a list of all of the various software found in the large range (often 300+ rows, and 50+ columns), placing that list across the top row of the spreadsheet, and then place a marker (maybe like an "x") in the cell corresponding to software installed on each machine in each row........ I'm open to anything that will help organize the software in order to be able to see which machine(s) have a specific software installed on them, whether it be a built-in solution within the tools of Excel than I'm unaware of, VBA, or a formula that I can place on another worksheet that will organize this data better.

    Something that would be worth keeping in mind is that the list of machines, nor the list of software, will be consistent each time I need to generate a report..... and the list of computers and all of the various software is so long that I will not be able to reference the specific cell values to make this happen, since the machines and software will always be changing.

    Here is an example of how the data I have looks. The colors in column A can represent the computer names, and the numbers from column B and beyond can reference the names of the software found on each computer:

    example1.JPG



    And this is an example of what can possibly work, if there's a relatively easy way to do this:

    example2.JPG


    I've honestly exhausted all efforts in trying to find a way to give me something to work with, between trying to find some VBA to start with, a formula that would work, or feature other than adding something like Kutools (we're not allowed to install other software/tools on our devices) to my computer. Any help and guidance would be HUGELY appreciated at this point. Thanks so much!!!

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Organize scattered, similar cell values into the same columns?

    Here is an array formula tested on a much smaller sample attached:

    =IF(SUM(IF(($B$1:$D$5=G$1)*($A$1:$A$5=$F2), 1, 0))>0,"X","")

    It is array, meaning that you need to activate it using ctrl+shift+enter instead of regular enter.
    Attached Files Attached Files
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    12-20-2016
    Location
    United States
    MS-Off Ver
    2016
    Posts
    40

    Re: Organize scattered, similar cell values into the same columns?

    Thanks so much for the assistance Paul! I actually did find some help from someone else that used a macro, and didn't require me to spell out the 100+ unique software across the top row for each report. Here was their solution:

    HTML Code: 
    I just removed the "Installed" column from this macro since I didn't really need to iterate that the software is in-fact installed, and it worked great. I really do appreciate your assistance though!!!

  4. #4
    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,883

    Re: Organize scattered, similar cell values into the same columns?

    Your post does not comply with Rule 3 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Please make sure to include the full link, so that other members will be permitted to continue helping you

    No help to be offered until OP has posted crosspost locations.
    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

+ 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. Similar Values in two columns
    By yatindatta in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-30-2019, 02:45 AM
  2. Replies: 4
    Last Post: 06-07-2018, 04:22 PM
  3. [SOLVED] Find similar values in two columns
    By mellopete in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-06-2017, 05:46 PM
  4. Match values from two columns having similar values in 1st column if not error
    By csunilkumar in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-23-2014, 08:32 AM
  5. Replies: 5
    Last Post: 10-26-2013, 01:03 PM
  6. Search columns with similar values
    By vijay2482 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-02-2010, 08:18 AM
  7. Compare columns for similar values
    By uncleslinky in forum Excel General
    Replies: 1
    Last Post: 04-07-2009, 02:08 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