I have a column of names, some DO NOT start with a capital letter, how do I filter them

new to Mac environment and i have a column of names, some DO NOT start with a capital letter, how do I filter them

HI PTU,
You can mark the rows starting with lower case letters using a formula, then filter on the contents of the column containing the formula. For the example below, the names are in column B and the formula is in column C.
C2: =IF(AND(CODE(B)>=95,CODE(B)<=122),"!!!","")
CODE returns the ASCII code for the first character in the target cell. Lower case letters have ASCII codes in the range specified in the formula: a = 95, z = 122
For names starting with characters in this range, the forula returns a string of three exclamation points. For any other initial character, the formula returns a null string ( "" ).
An empty cell in column B will cause the formula to return an error in that row of column C. You can avoid this by embedding the formula in an IF statement that suppresses the calculation if the length of the entry in column B is less than one character. Revised formula shown below.
C2: =IF(LEN(B)<1,"",IF(AND(CODE(B)>=95,CODE(B)<=122),"!!!",""))
Regards,
Barry

Similar Messages

  • Search for all words in a table column that any of the words start with a certain letter

    I have products table. Each row has a Description which may have a few words within it. I wanted to know if it's possible to search through it and find all descriptions that have match the search. But, I want it to consider it a match even if it's not the
    first word of the description, but rather the start of any word in the description.
    For example:
    Descriptions
    Nice Casual Gloves(This should show up, and although it's not in the very beginning of the description it's at the beginning of a new word.)
    Nice Dressy Gloves(This should show up, and although it's not in the very beginning of the description it's at the beginning of a new word.)
    Great Dresses (This should show up)
    Fancy Outerwear
    Glasses (This should show up)
    Shoes
    Sheer Stockings (This should not show up because although it has a "g" it's not in the beginning of a word.)
    Boots
    Galoshes (This should show up)
    I would want to search within this list Where Description like 'G%' but I don't want it to only get the descriptions that start with "g" at the beginning of the description, but rather any "g" at the beginning of any word. I do not want
    to get all descriptions that have a "g" somewhere in the word (then I could just do WHERE DESCRIPTION LIKE '%g%'), rather only if it somewhere within the description but at the beginning of any word.
    Thank you so much
    Debra has a question

    The most perfect solution would be to get a CLR routine to either (a) Do a regular expression match, (b) Run a split routine at CLR speeds then do a simple LIKE, or (c) both (a) and (b).  If your requirements grow to handle more and more complex searches,
    you may have to do it that way eventually.
    However, like the other answers, here's a way to do it reasonably well given your current requirements.  You may have to tweak the REPLACE logic if you have frequent OTHER forms of word delimiters.
    Method:  Pull data; add space before and after original text; replace all common word separators other than space with a space (so for example, "(These pretzels)", "He said 'These pretzels are making me thirsty" and so forth would
    be replaced with a space before "The"; then do a Patindex (you could do with just a LIKE also) on the search string prefaced with a space.  Here's an example, stealing from table sys.messages just for ease of demonstration.
    With SampleData as
    Select top 100 *
    , ' ' + Replace(Replace(Replace(Replace(text, '"', ' '), '''', ' '), '/', ' '), '(', ' ') + ' ' as TextPlus
    from sys.messages
    where language_id = 1033
    Select TextPlus
    , patindex('% The%', textplus)
    from SampleData
    where patindex('% The%', textplus) > 1
    Same logic, in the most concise format:
    Select top 100 Text
    from sys.messages
    where language_id = 1033
    and ' ' + Replace(Replace(Replace(Replace(text, '"', ' '), '''', ' '), '/', ' '), '(', ' ') + ' ' like '% the%'

  • Can field names not start with a single letter camel case?

    I am using Hibernate 3.6, JPA 2.0, and Spring 3.0.6. I have fields in my objects like the following:
    class PersonContact {
    Long eAddressCpId;
    ElectronicAddress eAddress;
    I use field access (in my orm files) and queries/inserts/etc work without an issue. The fields are both in the class as well as in the orm files. But on startup of the application, the JPA configuration load spits out warnings:
    2011-02-22 15:38:10,785 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.contactpoint.ElectronicAddress.eAddress not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,801 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PersonContact.eAddressCpId not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,801 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PersonContact.eAddress not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,817 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PartyContact.eAddressCpId not found in class but described in <mapping-file/> (possible typo error)
    2011-02-22 15:38:10,817 [[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.hibernate.cfg.annotations.reflection.JPAOverridenAnnotationReader - Property com.foo.model.person.PartyContact.eAddress not found in class but described in <mapping-file/> (possible typo error)
    If I change my field names to be from eAddress to electronicAddress and eAddressCpId to electronicAddressCpId , then I don't get these warnings.
    Is there requirements around the field names?
    Thanks..jay

    Hi,
    If you have this PersonContact.eAddress in your mapping file, Hibernate will look in PersonContact for
    1 a public field called eAddress
    2 a public member method called getEAddress (Or geteAddress).
    3 a public member method called isEAddress(Or isAddress)
    Your fields aren't public, so my guess is that getEAddress is found. From this "get" is stripped away and the rest is "decapitalized".
    This decapitalize method has these lines:
    if (name.length() > 1 && Character.isUpperCase(name.charAt(1)) &&
          Character.isUpperCase(name.charAt(0))){
                 return name;
    }So yes, I think there is a requirement with fields names. (Or rather getter names, since fields aren't decapitalized)
    You could try and change your mapping file into PersonContact.EAddress to see if I'm right.
    Btw, I am not a Java programmer, so this is what I could manage from a poor mans view at this (Open) source of Hibernate's.
    Regards
    Peter

  • HT4528 I have photos on my phone that will not download.... How can I get them to download to my computer.

    I have photos on my phone that I can see but cannot get them to download to my computer.... Please help.

    Are these photos in your camera roll? I ask, because only camera roll photos/videos can be imported to a computer.

  • I have updated my iCloud account (new email address) on my iMac but it did not syn with my iPad. How do I get them to syn?, I have updated my iCloud account (new email address) on my iMac but it did not syn with my iPad. How do I get them to syn?

    I have updated my Apple ID (email change) with my iMac but my iPad still retains the old email address.  How do I get the Apple ID on iPad to update?

    Settings>iTunes and App Stores>Apple ID. Tap the old ID and sign out. Sign in with the changed ID.

  • I have lost all of my FAVORITES (tabs, not bookmarks) after an update! How do I get them back now?

    After an update of Firefox, I lost all my tabs (not bookmarks). I searched all the help info and found nothing that said how to replace tabs only bookmarks. Please help, this is most frustrating!

    If those tabs aren't in History > Recently Closed Tabs or Windows then they are probably lost.
    You can try to search them in the History if you haven't bookmarked them.
    Using the "Show my windows and tabs from last time" setting is a more reliable way to restore session data.
    * Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • I have a corrupt email, that I can not delete via normal actions.  How can I get rid of this email?

    I have a corrupt email, that I can not delete with normal actions.  How do I get rid of it?

    The email was recieved from Fidelity (whom I get 1000's of email from.  The eamil account is an msn account that has wooked flawlessly for years.  The email deleted from my msn account on other computers, it is only on my Mac using my the supplied email viewer.  The message is :  Can not move this email to trash.  Input output error.

  • TS3991 I have some Pdfs missing from in my ibooks. How do i get them back?

    I have some Pdfs missing from in my ibooks. How do i get them back? My os is 7.05

    Tap the cloud symbol with the down arrow next to the songs you want to download.  You can also download an entire playlist by opening it, scrolling to the bottom and tapping Download All.  You can download an entire album by tapping the album, then tapping the download symbol at the top of the song list.  You can download an entire artist by doing the same thing after tapping the artist name.
    To save on your data plan, do this while your connected to wifi (and your charger to save battery).

  • Hi, i have deleted accidentally some photos and the trash is empty. How can I recover them? Urgentlyyy

    Hi, i have deleted accidentally some photos and the trash is empty. How can I recover them? Urgentlyyy

    Which trash is empty? If it's the iPhoto trash, check the System Trash, as files deleted from iPhoto 11 go there. Assuming that's also empty then you have exactly two options:
    1. Restore from your back up
    or
    2. Use a file recovery app such as File Salvage - you can download a free trial and it will scan the disk for you and tell you with might be recoverable. Actual recovery will require that you purchase the app. There may be many files with the same or similar names. Always recover the largest file size.
    There are other such apps. Search on Macupdate or the App Store

  • HT2905 I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?

    In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
    You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
    Then resync with your iPhone and all will be well.

  • TS1367 Hallo,I have an IMAC 21.5. which does not start.When i press the power button i hear only beep with an interval of 4-5 seconds.Some times when i take off the RAMS and put them again then get a white screen and shows that i have to insert a bootable

    Hallo ,I have an IMAC 21.5. which does not start.When i press the power button i hear only beep with an interval of 4-5 seconds.Some times when i take off the RAMS and put them again then get a white screen and shows that i have to insert a bootable device.Then i bought OSX mountainlion on line and wrote it on a DVD and tried with a USB key board to start the DVD.But does not work.Please help me to get this imac work.
    Thankyou in advance  for your help.
    Terrence

    Hey terremo,
    Thanks for the question. From the information you provided, it sounds like the iMac is successfully turning on, however video is not displayed. These symptoms can usually be isolated further by the troubleshooting steps in this article:
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT1573
    Thanks,
    Matt M.

  • Hi! I have a problem with the adjustment brush some are not there anymore like soften skin, how i can fix that?

    Hi! I have a problem with the adjustment brush some are not there anymore like soften skin, how i can fix that?

    Hi dear,
    it's funny, real funny.
    I think the programmes have diffrent sound system from the normal calls system.
    All you need to do is to turn the sound up from the bottom in the phone side in the time you're making or recieving the call.
    you'll hear the sound.
    I hope that would help.
    All the best

  • I was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ?

    i was backing up my iPhone and importing photos onto iPhoto at the same time , then suddenly it says no more space available (i had 48GB before i do this and now i have 18GB) i can't find the back up or the photo anywhere , how can i delete them ? i dont need the pictures or the back ups , i want to delete them but they are not there

    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown asBackups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install ODS in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size with the largest at the top. It may take a few minutes for ODS to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with ODS, quit it and also quit Terminal.

  • HT204380 I have bought a new iPad mini. its not showing me Facetime Installed. How should I start a Facetime ?

    I have bought a new iPad mini. its not showing me Facetime Installed. How should I start a Facetime ?

    Where did you buy it? facetime is barred from devices sold in some countries, due to the countries insisting upon it. UAE and other middle eastern countries are examples.
    If you bought your iPad in a country that banns its use then you'll never have facetime on that device. It's locked out at the most basic level.

  • I'm having troube with music. Some artists that start with an "P" appear under the "R" menu and similarly throughout the alphabet. Same about albums, songs

    I'm having troube with music. Some artists that start with an "A" appear under the "B" menu and similarly throughout the alphabet. Same about albums, songs and genres. It suddenly happened after about 3 days of iOS 5 usage. Re-synchronization doesn't help. I also tried deleting some artists from ipod, but it doesn't help either.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

Maybe you are looking for