Excel 'IF' problem

Status
Not open for further replies.

emilyshaw93

New Member
Joined
Nov 11, 2015
Messages
18
Hi there,

I have an excel problem. I have set up quite a complex workbook over multiple sheets.

I have a list of names from one sheet, as below:

Adam 1
Emily 3
Emily 3
Emily 3
John 2
John 2

Basically, this counts the number of times a name is mentioned in a previous sheet. What I want to happen is that if a name is mentioned AT LEAST once, to move it into another list, but only to move one name (ie only 1 Emily and 1 John), not all references to it.

I have set the system up so that the formula works for just 1 mention, using the formula below:
=IF('NAMES'!I4=1,'NAMES'!B4)

Where I4 refers to the counting function set up, and B4 refers to the corresponding name itself.

So basically, if used AT LEAST once, copy the name across, but ONLY ONCE.

Any help much appreciated!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Status
Not open for further replies.

Forum statistics

Threads
1,215,427
Messages
6,124,831
Members
449,190
Latest member
rscraig11

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