+ Reply to Thread
Results 1 to 5 of 5

Matching cells' name with the name of sheets

  1. #1
    Registered User
    Join Date
    04-22-2013
    Location
    Ankara
    MS-Off Ver
    Excel 2007
    Posts
    30

    Exclamation Matching cells' name with the name of sheets

    Hi all,

    I have 40 sheets with different name. In the 41th sheet, these sheets' name are listed as cells in ascending order (a to z). I want to compare these cell names with first 40 sheets' name and if the names are matched, returned a value of the matched sheet into the 41th sheet right side of that matched cell.

    I guess it is more understandable if i attach an example excel file. I assigned first 4 sheets' necessary value to 41th sheet's related cells and colored them yellow. Is it possible to write a code with "for and if cyntaxs"(as i think)?

    Thaks for helping.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Matching cells' name with the name of sheets

    Hi,

    this should do it:
    Please Login or Register  to view this content.
    Regards
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    04-22-2013
    Location
    Ankara
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Matching cells' name with the name of sheets

    Waovv, you can write all these code in 17 min. According to me it lasts 1.5 hr =)

    Thanks a lot!

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Matching cells' name with the name of sheets

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-22-2013
    Location
    Ankara
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Matching cells' name with the name of sheets

    This code is simplier to me! Thanks a lot

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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