+ Reply to Thread
Results 1 to 7 of 7

Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

  1. #1
    Registered User
    Join Date
    10-02-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    17

    Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    Hi sir, If i want to find last three numbers ending with "1.90 and also 1.85" then only it should be visible in in "C2" otherwise it should stay blank, like the way it is in below image, Below formula is working fine for finding numbers ending with" 1.90" but i want it to find also ending with "1.85" also from B2 and show in "C2" or if not found stay blank

    Attachment 551052

    IF(ISERROR(SEARCH("1.9",TEXT(B2,"@"),1)),"",B2)
    Attached Images Attached Images
    Last edited by feroz763; 12-07-2017 at 04:33 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    feroz763, Good morning.

    I'm not sure if I understood your question correctly.

    Try to use:

    C2 --> =IF(OR(B2=1.85,B2=1.9),B2,"")

    Copy this formula down.

    Format the C column to numeric with 2 decimal places.

    Please, tell us if it worked as you wanted.

    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Registered User
    Join Date
    10-02-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    17

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    Hi sir, in below formula i am able to find "1.90" i also want to find "1.85" also from same cell please help.

    =IF(ISERROR(SEARCH("1.90",TEXT(b2,"@"),1)),"",b2)

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,697

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    What Marcilio gave you should work fine for what you "seem" to be wanting. Could you be more clear about what you are trying to do and how Marcilio's formula fails?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    10-02-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    17

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    Hi sir, If i want to find last three numbers ending with "1.90 and also 1.85" then only it should be visible in in "C2" otherwise it should stay blank, like the way it is in below image, Below formula is working fine for finding numbers ending with" 1.90" but i want it to find also ending with "1.85" also from B2 and show in "C2" or if not found stay blank

    forumala.jpg

    IF(ISERROR(SEARCH("1.9",TEXT(B2,"@"),1)),"",B2)
    Last edited by feroz763; 12-07-2017 at 04:32 PM.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    That changes the requirements completely...

    Try this in C2:

    =IF(OR(RIGHT(TEXT(B2,"0.00"),4)={"1.90","1.85"}),B2,"")

  7. #7
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Please help, "C2" cell should show if ending three digits with ie "1.90 and 1.85 only"

    Thanks for the rep!

+ 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: 02-05-2019, 12:03 AM
  2. Replies: 6
    Last Post: 12-05-2017, 05:21 PM
  3. VBA Updates Pivot Table by cell contents, i want to show "blank" instead of "all"
    By mattinwpg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-15-2017, 10:58 PM
  4. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  5. If "6343" in cell A3 matches "monthly" in B3 show a "Y" in C3
    By laaxy in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 04-05-2014, 07:38 PM
  6. Replies: 3
    Last Post: 01-02-2014, 02:15 PM
  7. Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" not working
    By redders in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2011, 03:52 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