+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Can a cell formula identify a row by the first character in a specific cell?

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Portland Oregon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Can a cell formula identify a row by the first character in a specific cell?

    I need to be able to create a formula that will help me identify cells by what they start with. Here are the details.

    In column A, the data in each cell will always begin with either an "N", "C", "D" or "F" and be followed by 6 numbers (eg. C928712). I need to perform different acctions for each row depending on what the first letter of cells in Column A are. I have been sorting them and then manually impacting the data, but it is becomming an excessive time constraint. Is there any way to accomplish this? Is it possible to do something like an IF statement?

    =IF(A2 'starts with' C,f2,"")

    looking for suggestions and any help I can get. Follow-up questions are welcome to get to a solution.

    Thanks.
    Last edited by John McKeon; 07-20-2011 at 11:58 AM.

  2. #2
    Registered User
    Join Date
    07-19-2011
    Location
    Portland Oregon
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Starts with...

    I have attemped to be more specific to my needs. Is my new post heading better?

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Can a cell formula identify a row by the first character in a specific cell?

    Hello,

    the Left() function can be useful here

    =IF(left(A2,1)="C",f2,"")

    cheers,

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1