+ Reply to Thread
Results 1 to 8 of 8

Match & address

  1. #1
    Registered User
    Join Date
    05-21-2014
    Location
    Phoenix, AZ
    MS-Off Ver
    2010, 2016
    Posts
    35

    Match & address

    I am trying to get a cell to locate the text within a reference cell using a wildcard. But I need to search about 29 different sheets and get the address (sheet name & cell #). Yes I know I can use Ctrl+F to find the data. But this will be part of a much larger program.

    I have designated names for the search areas. (DIV1######, # = the name of the tab, only 1st 4 tabs have been named.)

    =MATCH(C6&"*",DIV1230530)

    That is what I started with. I then tried ADDRESS but I didn't quite understand it. I tried combining different named areas for the lookup_array but I kept getting an #N/A return value.

    I have a workbook attached.
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Match & address

    Looking at it.

    Need help.
    1. @how many rows/columns in largest sheet of real data will there be?
    2. Please update your profile RE: Office version(s) and location. Members tailor solutions with those things in mind.
    Last edited by FlameRetired; 12-21-2017 at 06:22 PM.
    Dave

  3. #3
    Registered User
    Join Date
    05-21-2014
    Location
    Phoenix, AZ
    MS-Off Ver
    2010, 2016
    Posts
    35

    Re: Match & address

    Right now just Sheet1. That's my test sheet to find those names across the 29 sheets that there will be. Each sheet represents a geographical area. And each can be updated accordingly in the future. Really I just want to find the text listed in Column A on Sheet1 and give its location next to it.

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Match & address

    Thank you for updating your profile.

    But I need to search about 29 different sheets and get the address (sheet name & cell #). Yes I know I can use Ctrl+F to find the data. But this will be part of a much larger program.
    That's why I asked. If I have interpreted correctly it's important.

  5. #5
    Registered User
    Join Date
    05-21-2014
    Location
    Phoenix, AZ
    MS-Off Ver
    2010, 2016
    Posts
    35

    Re: Match & address

    Basically, its part will be a search box, Type it in and it finds its location.

  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,004

    Re: Match & address

    Hi. is this what you wanted? Happy to explain. It's a bit involved, so i don't want to explain until it's right!!

    It uses an old in-built Excel 4 macro, to return a dynamic list of worksheets, so enable macros on opening. Formulae in Q and D are array formulae. Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files
    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

  7. #7
    Registered User
    Join Date
    05-21-2014
    Location
    Phoenix, AZ
    MS-Off Ver
    2010, 2016
    Posts
    35

    Re: Match & address

    That is perfect. Thank you! I've never worked with arrays. How does that differ from a normal formula?

  8. #8
    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,004

    Re: Match & address

    Mmmm
    Think of them as formulae within formulae that calculate multiple rezults, hold them in memory snd the use all of the values in another formula.

    I've also used 2 named ranges (ctrl f3 to view). I'm out for the night, starting now. I'll explain how it all hangs together in the morning, if you want/need an explanation.

+ 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. Using Match and Address within Macro/VBA
    By hthoma11 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-19-2016, 09:51 AM
  2. Partial name and address match
    By psingh2688 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2015, 12:12 PM
  3. [SOLVED] Address Match function
    By mahershams in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2013, 05:01 AM
  4. can i use address and match to get address of table i want to write to
    By teacher_rob in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-10-2011, 07:22 PM
  5. Offset, Address & Match
    By veeru_php in forum Excel General
    Replies: 1
    Last Post: 06-28-2011, 03:13 AM
  6. Indirect address/match
    By Prcntrygrl in forum Excel General
    Replies: 4
    Last Post: 08-26-2009, 05:05 PM
  7. Address Match
    By ems.payroll in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2008, 04: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