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

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Status
Not open for further replies.

Forum statistics

Threads
1,223,275
Messages
6,171,126
Members
452,381
Latest member
Nova88

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