Formula ? Pull in name from another sheet once ?

zone709

Well-known Member
Joined
Mar 1, 2016
Messages
2,079
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a sheet that has a list of names in Column A. The thing is the name is there multiple times. How and if I can pull in the name once onto another sheet having it recognize the next name is different and pull it in? Remember each name will not be repeated the same amount of times. It will always be different.

Examples:

Excel 2016 (Windows) 32 bit
A
B
C
D
E
F
1
2
3
4
5
6
7
8
9
10
11
12
Name
13
Espo
14
Espo
15
Espo
16
Espo
17
Rivera
18
Rivera
19
Rivera
20
Rivera
21
Rivera
22
Len
23
Len
24
Len
25
Len
26
27
Sheet: Flush


Results

Excel 2016 (Windows) 32 bit
A
B
C
D
1
2
3
4
5
6
7
8
9
10
11
12
Name
13
Espo
14
Rivera
15
Len
16
17
Sheet: Roll
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Just use the Excel "Remove Duplicates" functionality found on the Data menu.
 
Upvote 0
ok that's one way of doing it, but I'm pulling all the names in first with formulas only needing name once.
 
Upvote 0
hi the duplicate function is good, but you see I'm puling it in from another sheet. So if I have lets says rates like this.

26.30
26.30
26.30
59.80
59.80
26.30
26.30

Mt results I need to be
26.30
59.80
26.30

With using this function it will.
26.30
59.80

Why I thought at first I would need a formula to pull it in.
 
Upvote 0
I have seen people come up with some pretty complex formulas to do that, but that isn't really my forte.
If I had to do something like this, I would probably create VBA code to do it.
 
Upvote 0
With this Flush sheet:
ABC
1
2
3
4
5
6
7
8
9
10
11
12NameName
13EspoEspo
14EspoRivera
15EspoLen
16EspoRivera
17RiveraLen
18RiveraEspo
19RiveraMike
20RiveraJoe
21RiveraEspo
22Len
23Len
24Len
25Len
26Rivera
27Len
28Espo
29Mike
30Mike
31Mike
32Joe
33Espo
34Espo
35

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Flush

Array Formulas
CellFormula
C13{=IFERROR(INDEX(Flush!$A$13:$A$100,SMALL(IF(Flush!$A$13:$A$100<>Flush!$A$12:$A$99,ROW($A$13:$A$100)-ROW($A$13)+1),ROWS($A$13:$A13))),"")&""}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>


<tbody>
</tbody>

This is an array formula. Enter the formula in the formula bar, change the ranges to match your workbook (notice the offset on the 3rd range), and confirm with Control+Shift+Enter. Now drag it down the column.

Let us know if this is what you're looking for.
 
Upvote 0
Before I go ahead and come up with a VBA solution, does Eric's solution work for you?
 
Upvote 0
Eric this is great thanks so much. Joe this helps out a lot, but if I run into a situation that I didn't mention. Then ill come back here to see about a VBA solution. Thanks again.
 
Upvote 0
Hi so this formula works great but ran into an issue. When I scroll it down the Flush sheet has like a 1000 rows of data. So what I tried to do is change the range from $A$100 to $A$1000. When I do this to all it returns blank. I feel like its something small to fix this issue and been trying everything, but still cant find solution or understand why it wont work. Thanks
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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