Multiple if condition help please

map6122

New Member
Joined
Jan 28, 2016
Messages
22
Hello fellas,

I have over 60000 rows of data in excel 2010.
Each row have unique client name

like I have 4 client names I want to keep the same as their real name in Client placeholder to automate column. I have another 40 clients like John and David that I want to assign them Other in Client placeholder to automate column. Is there a way to do it??
Thanks in advance.

Client name Client Placeholder to automate
ABCABC
ABC1ABC1
ABC2ABC2
JohnOther
DavidOther

<tbody>
</tbody>
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Tetra201

MrExcel MVP
Joined
Oct 14, 2016
Messages
3,801
Place this in your placeholder column and copy down:

=IF(OR(A1="ABC",A1="ABC1",A1="ABC2",A1="ABC3"),A1,"Other")
 
Upvote 0

Tetra201

MrExcel MVP
Joined
Oct 14, 2016
Messages
3,801
@map6122:

Glad to have been of help.
 
Upvote 0

Tetra201

MrExcel MVP
Joined
Oct 14, 2016
Messages
3,801
@FDibbins:

I thought about the shorter version, but then decided that "ABC" might not be the actual name.
 
Upvote 0

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
@FDibbins:

I thought about the shorter version, but then decided that "ABC" might not be the actual name.

Good point, that is why it is always better to have sample data that closely approximates your real data.

@ map, can you provide some realist sample data?
 
Upvote 0

Forum statistics

Threads
1,191,122
Messages
5,984,773
Members
439,910
Latest member
Flyingjoblo

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
Top