+ Reply to Thread
Results 1 to 4 of 4

Stop running formula and show "No" if a text appears

  1. #1
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Lightbulb Stop running formula and show "No" if a text appears

    Hi experts,

    I have attached here an excel sheet, and here a formula is used in the column Z4 to show "incentive achieved" or not situation based on some conditions.
    In this case, I need the formula to be improved giving a condition to show "No" in the column Z4 in case the column H4 has a text (FD or LD, as highlighted in yellow color).
    Pls help me improve this formula to handle this condition.

    Regards
    Anuruddha
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Stop running formula and show "No" if a text appears

    tRY

    =IF(OR(H4="LD",H4="FD"),"No",IF(H4>0,IF(AND(M4/Q4>=L4/R4,M4/O4>=L4/O4),"Yes","No"),))
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    12-06-2013
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2016
    Posts
    605

    Re: Stop running formula and show "No" if a text appears

    Quote Originally Posted by shukla.ankur281190 View Post
    tRY

    =IF(OR(H4="LD",H4="FD"),"No",IF(H4>0,IF(AND(M4/Q4>=L4/R4,M4/O4>=L4/O4),"Yes","No"),))
    Thanks a lot for your solution.

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Stop running formula and show "No" if a text appears

    Happy to help you

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  2. [SOLVED] Cell AF5 to show "specfic text" from AI5:AI62 if M5 IS "155 X 220"
    By cjohnr1388 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-06-2016, 06:51 AM
  3. [SOLVED] How to stop running "ThisWorkbook" codes when opening Excel file by macro
    By lukelucky in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2015, 12:15 PM
  4. [SOLVED] A drop down box that is different between the "text" chosen and the "value" appears
    By dikopaw in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2012, 03:16 AM
  5. [SOLVED] Show (copy) data at "X" time and stop update.
    By Anka in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-06-2012, 05:09 PM
  6. Can't stop "Show PDF Results;" Truncated text
    By Dan Meyer in forum Excel General
    Replies: 0
    Last Post: 07-09-2009, 01:24 PM
  7. [SOLVED] Stop code from running when I click "Cancel"
    By Dean in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2006, 08:40 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