+ Reply to Thread
Results 1 to 4 of 4

using if then functrion with alpha numeric cells

  1. #1
    Registered User
    Join Date
    06-19-2007
    Posts
    16

    using if then functrion with alpha numeric cells

    I have some project numbers in column A. They contain letters and numbers. Other codes are in column A as well and I have been able to isolate them without a problem but they were all numeric. Some projects are billable and others are not(noted in column C). I was trying something like this. =IF(AND(C1="B",A1=_______),D1)

    D1 has the value that I would like to place in the current cell if the forumla is true. The underlined portion of my if then formula is where i am having the problem. First, if it is possible, is there a way to say if the cell contains letters then use it? If that is not possible is there a way to format the cell to numerical even though it contains letters, this way i can use a few > or < functions to isolate the data I need.

    Thanks,

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Perhaps something like:

    =IF(AND(C1="B",ISTEXT(A1)),D1,"")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    06-19-2007
    Posts
    16
    That picked it up but also picked up all of the A1 cells that are numeric only as well. So it is bringing back quite a few cells that I can't have in that column. how do i add not equal to the and section of the forumula?

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Probably because your "numeric" entries, are, in fact, text entries....

    Try instead:

    =IF(AND(C1="B",NOT(ISNUMBER(A1+0))),D1,"")

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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