excel formula question

Discussion in 'Trading Software' started by Gordon Gekko, May 30, 2003.

  1. say in a1 i have "bird"

    what can i put in a2 to count the number of letters in a1 (4)?

    thanks
     
  2. =LEN(a1)

    which should give you 4. (Note that if a1 contains 123.4, then a2 will equal 5)
     
  3. nice! perfect!

    thanks! :cool:
     
  4. For the sake of correctness, let me qualify my previous reply by stating that it is true for all cases except when cells a1 and a2 have range names "hand" and "bush" respectively - in this case, =LEN(a1) yields 8, as clearly a "bird" in the "hand" is worth two in the "bush".
     
  5. Nice !