+ Reply to Thread
Results 1 to 6 of 6

Failed attempts to link two sheets

  1. #1
    Registered User
    Join Date
    01-14-2024
    Location
    paris
    MS-Off Ver
    Windows 365 / version 2302 Build 16.0.16130.20848
    Posts
    12

    Failed attempts to link two sheets

    Dear all,
    Happy new year and all the best for 2024!

    I have a document with two excel sheets, both including in column "THE CRITERIA" a wide number of row with the same text. The information differs in the next columns, and I would like to replicate some information in both sheets. It seems that the problem I am facing is that the information in the column A is, in some cases, a large number of characters.

    There below the failed attempts:
    - VLOOKUP: the text column A is often >350 characters;
    - Vlookup(right or left): the text in the cells can either (i) start the same way, (ii) end the same way, (iii) start and end the same way, but still have some different information in the middle. Sometimes it is just one word in the middle which makes the difference;
    - INDEX MATCH: #VALUE error....
    - Sorting columns on both sheets, and to link an ID to each cell with =IF(G2210<>G2209;SUM(H2209+1);H2209) -> the sorting didn't worked in the large cells and therefore did not work


    Thanks a lot in advance!!!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Failed attempts to link two sheets

    After reading that, I do not know what you want to achieve.

    What do you expect to see?

    Where do you expect to see it?

    Please show EXPECTED results in your sample file.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-14-2024
    Location
    paris
    MS-Off Ver
    Windows 365 / version 2302 Build 16.0.16130.20848
    Posts
    12

    Re: Failed attempts to link two sheets

    Dear Glenn,

    Thanks for your help.

    I am trying to find a way to link both sheets: either with a common ID per "THE CRITERIA", either with a formula.
    I have added the column "ANIMAL" in sheet "Ambition", and the aim would be to have the "ANIMAL" aslo in sheet "ANALYSIS" based on "THE CRITERIA".

    Trying my best to be clear, I am truly sorry if is not

    Thank you so much for your help!!!

    Camille
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Failed attempts to link two sheets

    A sample file should consist of 10-20 rows maximum. As yours exceeds that considerably, I have NOT checked the results of this formula.

    =INDEX(Ambition!$C$5:$C$228,MATCH(1,EXACT(LEFT(G5,255),LEFT(Ambition!$B$5:$B$228,255))*EXACT(MID(G5,256,255),MID(Ambition!$B$5:$B$228,256,255)),0))

    see file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-14-2024
    Location
    paris
    MS-Off Ver
    Windows 365 / version 2302 Build 16.0.16130.20848
    Posts
    12

    Re: Failed attempts to link two sheets

    Dear Glenn,
    Many thanks!!
    I have added one more "mid" criteria : and it works! You are the best! Have a wonderful day

    =INDEX('Ambition'!$B$6:$B$229;MATCH(1;EXACT(LEFT(G6;255);LEFT('Ambition'!$B$6:$B$229;255))*EXACT(MID(G6;256;255);MID('Ambition'!$B$6:$B$229;256;255))*EXACT(MID(G6;512;766);MID('Ambition'!$B$6:$B$229;512;766))*EXACT(RIGHT(G6;255);RIGHT('Ambition'!$B$6:$B$229;255));0))

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,054

    Re: Failed attempts to link two sheets

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ 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. Replies: 1
    Last Post: 06-23-2020, 03:29 PM
  2. [SOLVED] Failed attempts to sum up values from middle of cell
    By dragonRiders in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2020, 08:33 PM
  3. Activate a worksheet after two attempts
    By ramatthews in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2016, 07:36 AM
  4. Method 'Sheets' of object '_Global' failed
    By ihinojosajr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2016, 01:28 PM
  5. ADD number for attempts
    By Mart Marti in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-26-2015, 06:06 AM
  6. Adding Password Attempts
    By s45yth in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-14-2011, 02:45 PM
  7. avg # attempts before failure
    By illinigator in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-25-2009, 04:46 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