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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Place this in your placeholder column and copy down:

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

I thought about the shorter version, but then decided that "ABC" might not be the actual name.
 
Upvote 0
@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,214,653
Messages
6,120,752
Members
448,989
Latest member
mariah3

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