IFERROR formula help

Pottie8

New Member
Joined
Jun 1, 2017
Messages
42
Hi All

I have a column (in sheet called worksheet column E - starting in row 2) with all names, including duplicates.

I wish to make a list in a seperate sheet in column A with only the unique values (each name once in this list - starting in row 6). This list must also look at the value in worksheet column F (starting in row 2) and only build this list if this value is matched to the A1 of the new worksheet.

This is my current attempt at it:

=IFERROR(INDEX(Worksheet!$E$2:$E$16;MATCH(0;COUNTIF(Worksheet!$F$1:F1;Worksheet!$E$2:$E$16);0));"")

Quick Demo:

Worksheet
EF
NAMEGROUP
2JohnApple
3JohnApple
4MaryApple
5LukeApple
6LukeApple
7LukeApple
8JamesApple
9JamesApple
10PaulApple
11JasonPear
12JasonPear
13JasonPear
14JasonPear
15PeterPear
16PeterPear

<tbody>
</tbody>

Seperate Sheet
A
1APPLE
2
3
4
5
6John
7Mary
8Luke
9James
10Paul
11
12
13
14
15
16
17

<tbody>
</tbody>

Hope this makes sense and someone has got some input for me :)


Thank you in advance.


Regards,
Pottie8
 
Last edited:

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Try this array formula in A6 copied down
=IFERROR(INDEX(Worksheet!$E$2:$E$16,MATCH(0,(Worksheet!$F$2:$F$16<>A$1)+COUNTIF(A$5:A5,Worksheet!E$2:E$16),0)),"")
Ctrl+Shift+Enter

Hope this helps

M.
 
Upvote 0

Forum statistics

Threads
1,214,846
Messages
6,121,905
Members
449,054
Latest member
luca142

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