+ Reply to Thread
Results 1 to 9 of 9

Formula using mid and length not working in the last part of formula - but not sure why

Hybrid View

  1. #1
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,064

    Re: Formula using mid and length not working in the last part of formula - but not sure wh

    It's not such a flexible solution, as it will only work if the text lengths are the same as your example. My solution is more flexible, as it allows any number of characters before the extracted text and up to 99 within the brackets. It gets rid of the final bracket by substituting it with a null value "".

    To fully understand formulae, get into the habit of scrutinising them using Evaluate Formula on the Formulas ribbon.

    You haven't yet marked the thread as solved.
    Last edited by AliGW; 01-22-2021 at 04:22 AM.
    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.

+ 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] VBA auto-sort not working when the "IFERROR" part of the formula is in effect
    By davo3286 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-08-2019, 08:16 PM
  2. [SOLVED] Formula Help : IF(ISBLANKK) - Second part not working
    By Logit in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 01-13-2018, 09:18 PM
  3. Format a part of a text working with only value not working with formula result
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2017, 05:41 AM
  4. Cell length formula to remove any characters over 31 in length
    By tehkayd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-02-2015, 11:45 AM
  5. [SOLVED] length and alphanumeric formula (quick formula question)
    By nawGo in forum Excel General
    Replies: 4
    Last Post: 06-17-2014, 12:49 PM
  6. [SOLVED] Finding a formula that will consider length of cell and length of words
    By Mariah B in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2013, 05:39 PM
  7. 2nd part of formula not working
    By dbl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2005, 03:05 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