+ Reply to Thread
Results 1 to 6 of 6

Change a result number after a certain Word

  1. #1
    Forum Contributor
    Join Date
    02-20-2022
    Location
    Indonesia
    MS-Off Ver
    Excel 2016
    Posts
    118

    Talking Change a result number after a certain Word

    Hello,

    I have a cell that need to change the number once a specific word show up in the other cell.
    is there any solution to my problem using vlookup or other formula..

    I already make the detail what I want in the attachment.

    Thanks in advance..
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Change a result number after a certain Word

    Maybe Im missing something, but the result from your formula matches exactly your expected result?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    02-20-2022
    Location
    Indonesia
    MS-Off Ver
    Excel 2016
    Posts
    118

    Re: Change a result number after a certain Word

    Quote Originally Posted by FDibbins View Post
    Maybe Im missing something, but the result from your formula matches exactly your expected result?
    Yes, but it just for the number before SPLIT word come in the cell..
    that formula wouldn't work after the SPLIT Word..

    I want one formula to cover it all, for example

    1526 [this is the first cell where the formula run]
    1526
    SPLIT 3052 [i dont have to change the formula in here/auto identify because there is SPLIT word in]
    3052 [I dont have to change the formula because in the previous cell already has a SPLIT word]
    Last edited by Sultan1994; 10-09-2023 at 12:00 AM.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,568

    Re: Change a result number after a certain Word

    Is this what you want?

    =VLOOKUP($A$1,Table1[#All],IF(COUNTIF(B$5:B5,"SPLIT")=0,2,3),0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Contributor
    Join Date
    02-20-2022
    Location
    Indonesia
    MS-Off Ver
    Excel 2016
    Posts
    118

    Re: Change a result number after a certain Word

    Yess, thats exactly what I want.

    a new insight for me, thanks Ali..

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,568

    Re: Change a result number after a certain Word

    Glad to have helped.

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

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help.

+ 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. A makro that change a formula to the result (but just as pure number)
    By Fawa in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-27-2019, 02:44 PM
  2. Word result based on number formula.
    By K-Linerz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2017, 11:37 AM
  3. [SOLVED] Provide combined result based on change of part number
    By nguerra in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2015, 01:49 PM
  4. Formula to change a word to a number
    By henesey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-05-2013, 10:01 PM
  5. How to change a number into word.
    By khokababu in forum Excel General
    Replies: 4
    Last Post: 04-16-2012, 06:19 AM
  6. Trying to change a code number into a word
    By moomog in forum Excel General
    Replies: 3
    Last Post: 09-16-2009, 08:13 PM
  7. [SOLVED] change a number (100) to word (i.e Hundred)
    By CHA Salam in forum Excel General
    Replies: 2
    Last Post: 01-29-2005, 11:06 AM

Tags for this Thread

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