Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Excel Magic Trick #217: IF Function Text Logical Test

Loading...

Sign in or sign up now!
16,670
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jan 20, 2009

See how to create a simple If function formula that uses a logical test that involves Text (instead of a number).

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (ExcelIsFun)

  • @ExcelIsFun Hi, thx for ur videos. i am trying to add a text list, so that the value returns the number 1 in a cell regardless of what name is entered from the list i.e.  =IF(B4="Steinberg""De Freitas",1,0)

    De Freitas

    DeGiglio

    Kostulias

    Mehta

    Rubinstein

    Steinberg

    Wuestman

  • @MoniqueNJ , try:

    =ISTEXT(B4)+1

    and copy formula down.

  • Can you use multiple cell in this formula and instead of true or false make it add. example between cell b14 to ae14 it encounters the word "so" it adds 1, so if there are 16 so then the results will be 16. help?

  • @jinn666 , maybe:

    =COUNTIF(B14:AE14,"so")

  • OH GODDDD you just saved my life! Thank you very much!

  • @popcornfield1 , I am glad that this help!

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • @TheMasonah , I am not sure. But THE best Excel question site is:

    mrexcel [dot] com/forum

  • eth the Well Done

    ot to =IF(B5="to","Well Done", "Whoops")

    dna and =IF(B6="and","Well Done", "Whoops")

    I am trying to create a Dolch word exercise for low ability young adults. I am putting a mixed up word in A column and If formula giving Well done if correct answer is put in B column. First row worked fine - (the) spelt correctly. Subsequent rows do not. All cells are formatted as text. Any ideas why.

  • I am looking to use an IF function that tests for the presence of text in a certain cell. Is this possible to be done?

  • You are welcome!

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more