+ Reply to Thread
Results 1 to 4 of 4

evaluate text present in specific format in another column in Excel

  1. #1
    Registered User
    Join Date
    06-07-2020
    Location
    India
    MS-Off Ver
    2013
    Posts
    4

    evaluate text present in specific format in another column in Excel

    I have a text written as "12*14" in C4 and and number "1000" in B4. I want to calculate D4 as 1000-12*14

    I have tried following, But both are not working here.

    B4-NUMBERVALUE(C4)

    B4-VALUE(C4)

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: evaluate text present in specific format in another column in Excel

    Hi,

    Is this a one-off exercise? Or are you looking for a generalisable solution to apply to equations with different operators, e.g. addition, subtraction, division, etc.?

    If C4 always contains the product of two values:

    =B4-PRODUCT(0+MID(SUBSTITUTE(C4,"*",REPT(" ",25)),{1,25},25),{1;1})

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    06-07-2020
    Location
    India
    MS-Off Ver
    2013
    Posts
    4

    Re: evaluate text present in specific format in another column in Excel

    Thanks, It worked for me.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742
    You're welcome!

+ 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] Counting number of blank cells if specific text is present in another column.
    By scratchnsurf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-06-2020, 08:05 AM
  2. Insert text if not present in specific columns
    By klturi421 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-30-2019, 11:20 PM
  3. Replies: 11
    Last Post: 12-17-2018, 02:17 PM
  4. [SOLVED] In a specific column find text and change the format
    By Louisa Venter in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-22-2015, 02:43 PM
  5. [SOLVED] Create formula to sum column total if specific text is present in second column
    By Banir in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-08-2013, 07:48 AM
  6. [SOLVED] Merge/unmerge based on whether specific text is present in a column
    By susanbarbour in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2012, 09:08 AM
  7. [SOLVED] SUM/COUNT column(s) based on specific value present within the column
    By markx in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2005, 07:06 AM

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