+ Reply to Thread
Results 1 to 5 of 5

put 2 formulas in one cell?

Hybrid View

mike12345 put 2 formulas in one cell? 11-28-2011, 10:01 AM
tom1977 Re: put 2 formulas in one... 11-28-2011, 10:05 AM
brokenbiscuits Re: put 2 formulas in one... 11-28-2011, 10:06 AM
MarvinP Re: put 2 formulas in one... 11-28-2011, 10:08 AM
mike12345 Re: put 2 formulas in one... 11-28-2011, 10:11 AM
  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    New York, New York
    MS-Off Ver
    Excel 2003
    Posts
    25

    put 2 formulas in one cell?

    Hi,

    I have some information that is 12 characters long. I want to drop off the first 2 characters of each cell and also drop off the last 4 as well. I have the below formual WS2541259992

    =RIGHT(D48, LEN(D48)-4)&" "&LEFT(D48, LEN(D48)-4)

    But when i run that formula for the below cell

    WS2541259992

    It returns the below

    2541259992 WS254125

    Basically I want it to return 254125 all in once without having to do two formulas in two different cells. Can anyone tell me how to do this? Thanks

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: put 2 formulas in one cell?

    try maybe this
    =MID(A1,3,6)
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Valued Forum Contributor
    Join Date
    10-13-2010
    Location
    Sunderland, England
    MS-Off Ver
    Excel 2007 (Home) / 2003 (Work)
    Posts
    740

    Re: put 2 formulas in one cell?

    =mid(d48,3,len(d48)-6)

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,355

    Re: put 2 formulas in one cell?

    Hi mike12345,

    Try =MID(A1,3,6) in B1 with your 12 characters in A1.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    Registered User
    Join Date
    04-27-2009
    Location
    New York, New York
    MS-Off Ver
    Excel 2003
    Posts
    25

    Re: put 2 formulas in one cell?

    The MID formula did it. Thanks everyone

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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