+ Reply to Thread
Results 1 to 5 of 5

Conditional formula based on a word in a line

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    Ahmedabad
    MS-Off Ver
    7.0
    Posts
    41

    Conditional formula based on a word in a line

    Sir

    is that possible to put an output on a condition based on a word in a cell

    Like :

    Cell B4 has a line : i m too old to use this gun now

    now D4 i want this formula

    If cell B4 has a word : old put in D4 output 100 else 0000

    how to be done that

    find that in attached file

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Conditional formula based on a word in a line

    hi anmol. try:
    =IF(COUNTIF(C4,"*arif*"),100,1000)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-02-2014
    Location
    Ahmedabad
    MS-Off Ver
    7.0
    Posts
    41

    Re: Conditional formula based on a word in a line

    Thanks a lot

    just feel blessed to get solution

    but what if i i want to use this formula with if or Condition

    like if C4 has arif then put 100 or it it has anmol put 1000 but if it has awesome put 0

    plz suggest

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,943

    Re: Conditional formula based on a word in a line

    =IFERROR(INDEX({100,1000,0},MATCH(TRUE,SEARCH({"arif","anmol","awesome"},A1)>0,0)),0)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Registered User
    Join Date
    02-21-2015
    Location
    Egypt
    MS-Off Ver
    2010
    Posts
    2

    Re: Conditional formula based on a word in a line

    Guys - I know it was too hard to think about this solution but here you go with the solution to highlight certain word in cell
    1) Open Excel Sheet
    2) Insert Text Box
    3) Move the text box to the word you want to highlight it
    4) remove text box outline
    5) fill the box color as you wish
    6) reduce the box transparency so that your highlighted word appears

    Your feedback is really matters!
    BR,
    Mohamed Hassaan From Egypt

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Conditional formatting based on a word in a cell
    By dprobst in forum Excel General
    Replies: 2
    Last Post: 08-22-2014, 08:05 AM
  2. [SOLVED] Where more than 1 line exists in excel transfer - insert line in word report bookmark
    By PippiLaRue in forum Word Programming / VBA / Macros
    Replies: 3
    Last Post: 03-13-2013, 05:04 AM
  3. Replies: 1
    Last Post: 08-17-2012, 08:16 PM
  4. Replies: 3
    Last Post: 02-10-2012, 11:55 AM
  5. [SOLVED] conditional if based on a word value...
    By Carlee in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2005, 12:06 PM

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