Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8578015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:17:29+00:00 2026-06-11T20:17:29+00:00

I’m trying to group data from a table. The table was built off a

  • 0

I’m trying to group data from a table. The table was built off a pivot table, with values returned equaling 1 if the employee had worked on a project or not.

I tried Hlookup, vlookup…can’t figure it out.

The “1” value from the table means that the person worked on that particular project.
I need a formula to say, If L.Bish=”1″, then return all names that also equal “1”

The long way would be to filter table values under each person for value “1” to find whether or not other team members have worked with that person.

I would then need to apply this formula to all other team members to see who has and hasn’t worked together on a project.

Any help or direction would be great

As you can see, Bish has worked with the following:
Carl
Good
Etc.

Table is below:

Table

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:17:30+00:00Added an answer on June 11, 2026 at 8:17 pm

    I assume you have employees and projects in rows and columns or vice-versa. If you were to “unpivot” your table, you’d be able to put it back in a pivot and do your groupings the way you want.

    Check out my Table2DB add-in here.

    In your case, you could simply run the macro below and create a pivot based on your new sheet

    Sub UnPivot()
    Dim lLastCol As Long, lLastRow As Long
    Dim rgCell As Range, shtOrg As Worksheet, shtDest As Worksheet
    Dim lRowDest As Long
    
    'turn off updates to speed up code execution
    With Application
        .ScreenUpdating = False
        .EnableEvents = False
        .Calculation = xlCalculationManual
    End With
    
    Set shtOrg = ActiveSheet
    
    lLastRow = Cells(Rows.Count, 1).End(xlUp).Row
    lLastCol = Cells(48, Columns.Count).End(xlToLeft).Column
    
    Set shtDest = Sheets.Add
    lRowDest = 2
    
    shtDest.Cells(1, 1) = "Project"
    shtDest.Cells(1, 2) = "Employee"
    
    With shtOrg
        For Each rgCell In .Range(.Cells(49, 2), .Cells(lLastRow, lLastCol)).SpecialCells(xlCellTypeConstants)
    
            If rgCell.Value = 1 Then
                shtDest.Cells(lRowDest, 1) = .Cells(rgCell.Row, 1)
                shtDest.Cells(lRowDest, 2) = .Cells(48, rgCell.Column)
                lRowDest = lRowDest + 1
            End If
    
        Next rgCell
    End With
    
    With Application
        .ScreenUpdating = True
        .EnableEvents = True
        .Calculation = xlCalculationAutomatic
    End With
    
    End Sub
    

    To get the ones who didn’t work together, build a table as shown below and use formula:
    =IF(COUNTIFS(OFFSET($A$49:$A$78,0,MATCH($A2,$48:$48,0)-1,,),1,OFFSET($A$49:$A$78,0,MATCH(B$1,$48:$48,0)-1,,),1)>0,”Did”,”Didn’t”) & ” Work together”

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to select an H1 element which is the second-child in its group
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.