Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
KDA
 
Posts: n/a
Default How do I use the wildcard character and the NOT function?

I am trying to write a formula that will use the wildcard character with the
NOT function. In a list of names, I need to know which names were written as
First Name Last Name and which names were written Last Name, First Name. The
following formula works if you know the specific name.....=NOT(A2="Jones,
Jim")....but not if you have names other than Jones, Jim.
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

=IF(ISERROR(FIND(",",A2)),"First Last","Last, First")

Though it will choke on Jim Jones, Jr.

HTH,
Bernie
MS Excel MVP


"KDA" wrote in message
...
I am trying to write a formula that will use the wildcard character with

the
NOT function. In a list of names, I need to know which names were written

as
First Name Last Name and which names were written Last Name, First Name.

The
following formula works if you know the specific name.....=NOT(A2="Jones,
Jim")....but not if you have names other than Jones, Jim.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"