Excel Formula Issue - Please Assist

peachycream

New Member
Joined
Apr 7, 2011
Messages
44
Can someone assist me with a formula issue I am having please?

I have a cell with a data validation list in it. When I select the name on that list I would like their team to populate in the cells beneath him. The team info is a different worksheet in the same workbook. I thought I could use Vlookup but that doesn't seem to work because it doesn't account for multiple entries under one name. I hope I am describing the issue accurately.

BobSupTech
RayBob1
TimBob2
LarryBob3
Ray4
Ray5
Ray6
Tim7
Tim8
Tim9
Larry10
Larry11
Larry12
<colgroup><col width="64" style="width: 48pt;" span="4"> <tbody> </tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
could you provide us with an example by telling us where your data validation is and where you'd like the list to be populated?

It looks like you have 4 data validation lists in column A, but then you want them all to appear in column C? I'm confused...
 
Upvote 0
could you provide us with an example by telling us where your data validation is and where you'd like the list to be populated?

It looks like you have 4 data validation lists in column A, but then you want them all to appear in column C? I'm confused...

Sorry if I was too vague.

The original 4 names are in a data validation list in cell a1 of sheet1 and the list with sups (column a) / teams (column b) are on sheet2.

I would like to select a name from the list in cell a1 from sheet1 and have the team associated with that sup on sheet2 populate cells a2,a3,a4,etc. on sheet1.
 
Upvote 0
Something like this?


Excel 2010
ABCDE
1SupTechBob
2Bob11
3Bob22
4Bob33
5Ray4
6Ray5
7Ray6
8Tim7
9Tim8
10Tim9
11Larry10
12Larry11
13Larry12
Sheet1
Cell Formulas
RangeFormula
E2{=IF(ISERROR(INDEX($A$1:$B$13,SMALL(IF($A$1:$A$13=$E$1,ROW($A$1:$A$13)),ROW(1:1)),2)),"",INDEX($A$1:$B$13,SMALL(IF($A$1:$A$13=$E$1,ROW($A$1:$A$13)),ROW(1:1)),2))}
Press CTRL+SHIFT+ENTER to enter array formulas.



Source: How To Return Multiple Match Values in Excel Using INDEX-MATCH or VLOOKUP
 
Last edited:
Upvote 0
Enter with Ctrl+Shift+Enter, not just Enter. Drag down and then over.

B2 (Sheet 1):
Code:
=IFERROR(INDEX(Sheet2!A$1:A$25,SMALL(IF(Sheet2!$A$1:$A$25=$A$1,ROW(Sheet2!A$1:A$25)-ROW(Sheet2!A$1)+1),ROWS(B$1:B1))),"")
 
Last edited:
Upvote 0
I'm trying to understand the formula but I am confused by the last portion concerning ROWS. Should that be Sheet2! before the B$1:B1?
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,208
Members
448,874
Latest member
b1step2far

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top