+ Reply to Thread
Results 1 to 5 of 5

How can I get 1,1,0 if I have string, string, blank

  1. #1
    Registered User
    Join Date
    05-29-2009
    Location
    London, England
    MS-Off Ver
    The new Vista one with a strange menu
    Posts
    11

    How can I get 1,1,0 if I have string, string, blank

    If I have text strings in A1 and B1 and C1 is blank, how can I get an array of 1,1,0?

    eg. cat, dog, [blank]
    {=--(cat, dog, [blank])} ???

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

    Re: How can I get 1,1,0 if I have string, string, blank

    Not sure what you are trying to ultimately achieve... Are you putting this in a larger formula ?


    ISTEXT(A1:C1)

    check if cell has text or not.. returns TRUE or FALSE the -- will convert to 1 and 0,
    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
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How can I get 1,1,0 if I have string, string, blank

    Please take a few minutes and read the Forum Rules about cross posts.

    Cross-posting is when you post the same question in other forums on the web. You'll find people are disinclined to respond to cross-posts because they may be wasting their time solving a problem that has been solved elsewhere.

    It is preferred that you not cross-post at all, but if you do, please provide a link to the cross-post
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    05-29-2009
    Location
    London, England
    MS-Off Ver
    The new Vista one with a strange menu
    Posts
    11

    Re: How can I get 1,1,0 if I have string, string, blank


  5. #5
    Registered User
    Join Date
    05-29-2009
    Location
    London, England
    MS-Off Ver
    The new Vista one with a strange menu
    Posts
    11

    Re: How can I get 1,1,0 if I have string, string, blank

    Quote Originally Posted by NBVC View Post
    Not sure what you are trying to ultimately achieve... Are you putting this in a larger formula ?
    Thanks, that's great!

+ 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