+ Reply to Thread
Results 1 to 2 of 2

making a decision tree using excel!

  1. #1
    andrew h via OfficeKB.com
    Guest

    making a decision tree using excel!

    hello all, i`ve been trying to make a decision tree using excel, the problem
    i encounter is that i wish to put information in to b11 which is related to
    information in b3, the information in b3 is ether 0 or err and is based on a
    "y" or "n" being entered, does anyone know which formula to use which will
    print a true of false statement in b11

  2. #2
    David McRitchie
    Guest

    Re: making a decision tree using excel!

    Hi Andrew,
    If you mean print "True" or "False" or your error

    b11: =Left(b3)="y"

    So you can use YES, Yes, yes, Y, y and get True
    everything else will show False

    Or to treat the error in B3 as False, you might want to use
    B11: =IF(ISERR(B3),FALSE,LEFT(B3)="Y")

    FWIW (For What It's Worth)
    Most worksheet formulas are not case sensitive
    Most VBA comparisons are case sensitve
    http://www.mvps.org/dmcritchie/excel/strings.htm
    --
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    "andrew h via OfficeKB.com" <[email protected]> wrote m...
    > hello all, i`ve been trying to make a decision tree using excel, the problem
    > i encounter is that i wish to put information in to b11 which is related to
    > information in b3, the information in b3 is ether 0 or err and is based on a
    > "y" or "n" being entered, does anyone know which formula to use which will
    > print a true of false statement in b11


    -------------
    Posting questions to newsgroups from so called "forums" end up on websites
    in addition to the newsgroups and this really screws up web searches as it is
    necessary to suppress a long list of sites full of advertising that repeat newsgroup
    postings. Google search (web searches), and you have Google Groups
    (for newsgroup searchs) but sites that send questions to newsgroups screw
    up the distinction and instead of finding what you in a search you get 95% noise
    in top hits.



+ 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