+ Reply to Thread
Results 1 to 7 of 7

two different formula need to join together

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    two different formula need to join together

    Dear all, two different formula need to join together
    1st formula
    LEFT(B1,FIND("as of np",B1)-1)
    2nd formula
    IF(ISNUMBER(SEARCH("sep of dd.",B1)),MID(B1,SEARCH("sep of dd.",B1)+11,LEN(B1)))
    currently i kept above two formula in different two cell to get actual output. now i want to keep both formula in a single cell

  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: two different formula need to join together

    There's an old saying that goes...if it aint broke, dont fix it...if these 2 are working fine like they are - and are not causing any problems - why mess with them?

    Having said that, if you are really insistent on combining them, what exactly are you trying to do with them?
    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
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: two different formula need to join together

    H FDibbins , thanks for reply , here is my issue

    My actual paragraph is like below in the cell A1 , here * means more sentence that I haven’t shown
    **************million with consolidated sep of dd. 11.92 as of np. 524.19 million ************
    From above paragraph I want to get only 11.92. for getting this particular value what I am doing ?

    1st I delete all data that start form “as of np.” How I did ? its like below

    CELL  B1:  LEFT(A1,FIND("as of np",A1)-1)
    So CELL B1 Results : **************million with consolidated sep of dd. 11.92

    Here all data start form “as of np.” Has been removed
    Now
    CELL C1: IF(ISNUMBER(SEARCH("sep of dd.",B1)),MID(B1,SEARCH("sep of dd.",B1)+11,LEN(B1)))
    CELL C1 Results : 11.92

    Yes this the real output what I am looking for !!

    Here cell C1 formula got form:

    http://www.excelforum.com/excel-prog...ml#post3441876

    if I raised whole project at time , I might not get the answer !! for this reason , I divided my problem into part by part . after getting all those then try to implement , hope you got my point.
    ok no issue as
    Last edited by nur2544; 10-18-2013 at 12:58 AM.

  4. #4
    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: two different formula need to join together

    While I do understand your reason for splitting this, it would have been easier if you had put it all in the same thread

    OK so all you really want out of a long string of text/numbers is the 11.92?

    If so, then I would think you need to use the =mID() function...

    =MID(A1,SEARCH("dd",A1,1)+4,(SEARCH("as of np",A1,1)-1)-(SEARCH("dd",A1,1)+4)

  5. #5
    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: two different formula need to join together

    I presume that seeing as you marked this as SOLVED, you were satisfied wit my suggestion?

  6. #6
    Forum Contributor
    Join Date
    06-08-2012
    Location
    BD
    MS-Off Ver
    Microsoft Office 2016
    Posts
    640

    Re: two different formula need to join together

    Hi FDibbins, it works very well , happy to get very small formula for the complex task .
    I presume that seeing as you marked this as SOLVED, you were satisfied wit my suggestion?
    I marked this as SOLVED because , I thought it is complex issue & although my particular job already solved by two formula so I should not kill others valuable time for the same issue .

  7. #7
    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: two different formula need to join together

    no problem, and thanks for the feedback

+ 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] SQL Join - Left Join, but with 4 tables
    By kenny.fsw in forum Access Tables & Databases
    Replies: 4
    Last Post: 05-29-2013, 09:03 AM
  2. Cannot get MEDIAN formula using an AND Join...
    By RTE in forum Excel General
    Replies: 3
    Last Post: 12-15-2011, 04:54 PM
  3. Join 2 Cells to Create a Formula
    By racer25 in forum Excel General
    Replies: 1
    Last Post: 02-05-2008, 05:32 AM
  4. Join 2 Cell to make a new formula
    By racer25 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2008, 09:14 AM
  5. Join number from formula with text...#VALUE
    By ekramer@ansonindustries.com in forum Excel General
    Replies: 4
    Last Post: 02-21-2006, 05:00 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