Forum Discussion

DWFL1's avatar
DWFL1
Brass Contributor
Dec 19, 2017
Solved

Match names between two sheets and return value of a cell in the row

Hi

 

I am looking for a way to match a name between two sheets and then return a date value which is in a different cell in the same row.

 

So in sheet 2 if a site name in coulomb B matches a site name in sheet 1 coulomb A, return the value from a specific cell in the same row as where the names matched.

 

The data is sorted on dates which may change and I need to be able to show the updated date value in sheet 2 when date and order changes in sheet 1 for a specific site name. 

    • pjamies's avatar
      pjamies
      Copper Contributor

      I'm not sure if this thread is still viewed or not ..  but here goes

      So I have 2 sheets that both will use the username as the key in column A

      Sheet 1 has all user names

      Sheet 2 contains groups that users in sheet 1 could be associated with .. (each user could be associated with several groups)

      I need to find each user and all of the groups they might be in (and this cannot be via a Pivot table ..mainly because this information is in 2 different sheets and there is thousands of rows of data)

      Any help would be great!

       

      • lukedeloosh's avatar
        lukedeloosh
        Copper Contributor

        Without seeing the data, I would think a Pivot Table would be the best approach here. Select the user names and all groups from sheet 2 > Insert > Pivot Table.

         

        Pivot Table

        1. Add the Username column to Rows
        2. Add Group column to both Columns and Values
    • Clerk_495's avatar
      Clerk_495
      Copper Contributor

      Are there any other alternatives to using Vlookup?

    • DWFL1's avatar
      DWFL1
      Brass Contributor

      Thanks this worked perfectly.

Resources