+ Reply to Thread
Results 1 to 13 of 13

Need help with a calculation that matches computer name & software

  1. #1
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Need help with a calculation that matches computer name & software

    I need help with a calculation or formula that will match the computer name from one worksheet and put an "X" on a report in another worksheet for the software that computer name has on it. The script I am trying to work with was done by a previous user and I can't tell what it is referencing and I want the script to reference a separate workbook for the data. Can anyone help me with this? I am trying to sift through a 40,000 line machine print out with 1172 machines and I am trying to create a software report that shows all of the software for each machine. If that makes sense?
    Attached Files Attached Files

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need help with a calculation that matches computer name & software

    Try in H3, drag right and down >> =IF(COUNTIFS('Computer Data Master List'!$B:$B,$B3,'Computer Data Master List'!$F:$F,$C3,'Computer Data Master List'!$C:$C,H$2),"x","")

    Does that help?
    HTH
    Regards, Jeff

  3. #3
    Forum Expert
    Join Date
    11-27-2007
    Location
    New Jersey, USA
    MS-Off Ver
    2013
    Posts
    1,669

    Re: Need help with a calculation that matches computer name & software

    OR Sumproduct formula in H3. Although they may be slow to execute.

    HTML Code: 
    1. Click on the * Add Reputation if you think this helped you
    2. Mark your thread as SOLVED when question is resolved

    Modytrane

  4. #4
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    What I am trying to do is match the computer name from software Due Report Test worksheet with the name on the Computer Data Master List. If the name matches then mark with an "x" for all software that computer has listed on it in the Master list and put an "x" on the Report. Hopefully that makes sense. In the master list, there are several different software entries with the same computer name and I am trying to list what computer has what software on it in the Report. I tried the formula you posted and it is marking the X but it is marking the "X" in every column. If the software is not listed for that computer I want it to leave the cell blank.

  5. #5
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    The calculation/formula the previous user was using is =IF(IFERROR(INDEX($B:$B,MATCH($S4&AC$3,$B:$B&$C:$C,0)),"")="","","x") however, all of the data was on one sheet and my data list is too large for that so I need to be able to use a separate workbook for that.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need help with a calculation that matches computer name & software

    I understand what you are asking and I feel you have been provided a solution. What is not working with what you were provided? I'm not to concerned with what the previous user was using as a formula especially if it does not seem necessary.

  7. #7
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    Hey Jeffrey, I truly appreciate all the help with this. This is totally out of my wheelhouse. What is happening when I run that formula in the worksheet, it is putting an "X" in every cell. What I need it to do, is only put an "X" in the cell if the software listed matches for that computer name otherwise if that computer does not have the software on it, it will leave the cell blank. I may not be explaining this very well. In my master worksheet I have 43,000 rows and repeating computer names for a total of 1127 computers. With that being said, I am trying to mark with an "X" in the appropriate cell that matches the software on that computer so I can total how many software licenses I have over the 1127 computers. Hopefully I am not making this too complicated.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need help with a calculation that matches computer name & software

    You are not making this complicated, but with that many rows and machines, this formula is going to bog down the processor. But check this out and maybe we can find another solution.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    That looks pretty good Jeffrey! but how to I add more data to the master list and still get it to run? do I have to copy the fields or lock the fields? Sorry this really isn't in my wheelhouse. I don't normally do a lot of formula work in excel. I don't really care if it bogs the processor since that will be the only thing runny on that machine but if you think it will take forever to run do you have any ideas on how to do it differently. I will be using this method moving forward with a lot of projects i am working so so I would like to use this to do it since doing 1127 machines manually would make my eyes cross.

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Need help with a calculation that matches computer name & software

    As for an alternate method, I have asked those who have much more formula experience for their help.

    The formula is alread set to read more data.

    =IF(COUNTIFS('Computer Data Master List'!$B:$B,$B3,'Computer Data Master List'!$F:$F,$C3,'Computer Data Master List'!$C:$C,H$2),"x","")

    Notice the countifs is reading the entire range on the Computer Data Master List tab. Just add more data to the Computer Data Master List tab and then on the Software Due Report Test tab, add the info into column B and C.

    Now drag the formula in H2 over to the right and then down. Again, the processing time will be labored.

    If you get stuck, load your complete list of data in the worksheet and then post again.

  11. #11
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    Sweet! I really appreciate all the help again! you are awesome! I will try it out on a smaller test batch and let you know as soon as I can. And thanks for the explanation! That really helped a lot!

  12. #12
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Need help with a calculation that matches computer name & software

    I notice that the data in the sample file appears to be sorted by Computer Name (ascending), then by App Name (ascending). Would this be the case with your actual data?

    If it is, then it might be possible to improve processing time by generating dynamic ranges for each computer name, then checking the app name with something on the basis of

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where app_name is the range of apps in column C dynamically generated according to computer name in column B using something like

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    as a named range definition. See attached copy of your file with this set up.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-03-2019
    Location
    Oklahoma
    MS-Off Ver
    office 365 (2016)
    Posts
    10

    Re: Need help with a calculation that matches computer name & software

    Let me take a look at that Jason and let you know.

+ 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. Matches points calculation for Fifa
    By yiyi2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2018, 05:29 AM
  2. Replies: 3
    Last Post: 05-18-2018, 08:20 AM
  3. Formula to look for matches perform Calculation
    By hammer2 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-13-2014, 10:26 PM
  4. Replies: 1
    Last Post: 09-24-2013, 03:03 AM
  5. Replies: 1
    Last Post: 09-24-2013, 02:06 AM
  6. [SOLVED] Inventory calculation with partial matches
    By G-Force in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-13-2012, 02:43 PM
  7. do a calculation if a date range matches
    By kistev in forum Excel General
    Replies: 3
    Last Post: 04-05-2007, 12:39 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