+ Reply to Thread
Results 1 to 8 of 8

if function to produce a value

  1. #1
    Registered User
    Join Date
    09-08-2015
    Location
    usa
    MS-Off Ver
    2010
    Posts
    73

    Question if function to produce a value

    I was wondering if I could produce an if statement where I could produce the word "down" if the 11th character = "10", how would the formula look?

    BW1-10-R1-10-P05

    Any help would be appreciated.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: if function to produce a value

    Hi,

    Welcome to the forum.

    If you have the text in A1 (BW1-10-R1-10-P05), try the following formula in B1:

    =IF(1*MID(A1,11,2)=10,"down","")

  3. #3
    Valued Forum Contributor
    Join Date
    02-07-2013
    Location
    Philippines
    MS-Off Ver
    Excel Online; 365
    Posts
    610

    Re: if function to produce a value

    try:

    =IF(VALUE(RIGHT(LEFT(A1,12),2))=10,"down")
    If I've helped U pls click on d *Add Reputation

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: if function to produce a value

    Or try this
    =IF(COUNTIF(M10,"??????????10*")=1,"Down","")

  5. #5
    Forum Contributor
    Join Date
    08-07-2015
    Location
    AB, Canada
    MS-Off Ver
    Excel 2013 x64
    Posts
    132

    Re: if function to produce a value

    The following formula should also work:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: if function to produce a value

    Or try this
    =IF(COUNTIF(M10,"??????????10*")=1,"Down","")

  7. #7
    Registered User
    Join Date
    09-08-2015
    Location
    usa
    MS-Off Ver
    2010
    Posts
    73

    Re: if function to produce a value

    Thanks everyone awesome it works

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: if function to produce a value

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

    Also, you can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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: 5
    Last Post: 06-01-2014, 04:54 PM
  2. Making countif function produce blanks as opposed to 0's
    By njw499 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2014, 10:28 PM
  3. "IF()" function using "TODAY()" to produce a value in days
    By Rob.Marchel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2012, 09:12 PM
  4. how to produce this graph
    By aha123 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 11-29-2011, 08:17 PM
  5. function problem to produce data value with two condition of column
    By herukuncahyono in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-26-2010, 05:36 AM
  6. [SOLVED] Can IF function produce a blank cell?
    By [email protected] in forum Excel General
    Replies: 8
    Last Post: 02-27-2006, 01:35 PM
  7. produce a formulate to produce assigned seats for dinner
    By DavidJoss in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 10:05 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