+ Reply to Thread
Results 1 to 6 of 6

Adding a Mid Function to a Match Formula

  1. #1
    Registered User
    Join Date
    03-16-2017
    Location
    Manchester
    MS-Off Ver
    365
    Posts
    4

    Post Adding a Mid Function to a Match Formula

    Hi All

    I am trying to add a MID function to a MATCH Formula as the urls I need to check are over 255 characters.

    I have tried to do this as a XMATCH formula but it would not return the row numbers and would crash my system.

    The following formula works but not with anything over 255 characters, so I would like to add a MID function so it just checks the middle 255 Characters but I can not get it to work.
    This is the formula at the moment - =IF(ISNA(MATCH(A2,Hosted!B:B,0)),"",MATCH(A2,Hosted!B:B,0))

    Can anyone tell me how and where to add the MID fundtion please?

    I have have attached a sample document with the formula working and with an example of it breaking.

    This is the results tab where urls are added, those with less than 255 characters are pulling the rom number from the "Hosted" sheet correctly (Higlighted in green). Also those that have more than 255 characters return #Value! (Highlighted in Yellow)
    Example 1.JPG

    This is the Sheets with the list of URL's
    Example 2.JPG

    Any help on this would be massively appreciated as it is driving me crazy and I have been working on this one formula for days!!
    Attached Files Attached Files
    Last edited by markexcelhell; 04-22-2022 at 09:31 AM. Reason: Adding Attachment

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Adding a Mid Function to a Match Formula

    Quote Originally Posted by markexcelhell View Post
    I have tried to attached the sample excel but for some reason it wont allow me to so here are some screen shots.
    The paper clip icon does not work for attachments. To attach a file:

    1. Under the text box where you type your reply click the Go Advanced button.
    2. On the next screen scroll down and under the Attachments section click the Manage Attachments link, which will show a pop-up window.
    3. Click the Choose File button to select a file to attached.
    4. Click the Upload button to upload the file.
    5. Then click the Close This Window button. Your file is now attached to your post.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-16-2017
    Location
    Manchester
    MS-Off Ver
    365
    Posts
    4

    Re: Adding a Mid Function to a Match Formula

    Thanik you that worked perfectly, the example document is attached.

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

    Re: Adding a Mid Function to a Match Formula

    Click * below if this answer helped

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

  5. #5
    Registered User
    Join Date
    03-16-2017
    Location
    Manchester
    MS-Off Ver
    365
    Posts
    4

    Re: Adding a Mid Function to a Match Formula

    Is there any issue with posting to two different locations? I will happily take one down if it s problem?

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Adding a Mid Function to a Match Formula

    Quote Originally Posted by markexcelhell View Post
    Is there any issue with posting to two different locations? I will happily take one down if it s problem?
    You are allowed to post the same question to two locations, but we have a rule that if you do that you must include a link to the other location. The reason we ask this is that otherwise you will have people in both locations duplicating effort. It's even worse if it gets solved in one place, but people are still working on it in the other place.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

+ 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] Adding a Count function to Offset, Match formula
    By JO505 in forum Excel General
    Replies: 11
    Last Post: 05-13-2015, 05:52 PM
  2. [SOLVED] Adding a match to an existing formula
    By pauldaddyadams in forum Excel General
    Replies: 15
    Last Post: 02-08-2015, 04:19 PM
  3. [SOLVED] Adding IFERROR IF MATCH Formula to each row
    By MICowboy13 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2014, 02:47 PM
  4. Adding ISNA , or ISERROR to an Index/Match function
    By DaNmAc26 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-24-2013, 04:14 PM
  5. Adding a variable to index & match function using VBA
    By prestopr in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-07-2013, 05:48 PM
  6. Adding if to and index match function
    By Diddy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2011, 04:12 PM
  7. Adding a third match to an Index Match Formula
    By Weasel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2009, 01:51 PM

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