Closed Thread
Results 1 to 3 of 3

formula to generate the address of a cell which holds a unique value in workbook

  1. #1
    Registered User
    Join Date
    07-04-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    34

    formula to generate the address of a cell which holds a unique value in workbook

    Hi There

    What formula may I use to to generate the address of a cell which holds a unique value in a workbook? The value would always be in the first colum A of the worksheet it is in. If I was searching within only one worksheet I could use a vlookup but the workbook has dozens of sheets, and I need an all purpose formula to look or search within the entire workbook.

    Cheers


    Michael

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: formula to generate the address of a cell which holds a unique value in workbook

    Hi Michael,

    I am not sure how to obtain this with formula. For sure you can use simple macro, like:
    Please Login or Register  to view this content.
    At the moment it works this way that current worksheet is excluded from search - if it shall be included - remove two apostrophes (comment signs) from the code If wks.Name ... and respective End if

    The result is now written into active cell - but of course you can change it in a way you want ;-)

    Write some texts in the attachment in columns A of different Sheets and try how it works.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: formula to generate the address of a cell which holds a unique value in workbook

    Thread posted in Commercial Services, hence closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Use cell containing absolute address for a cell in another workbook in a formula
    By sawsheen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2013, 02:35 PM
  2. Macro to generate a unique number on a shared workbook.
    By adil.master in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-30-2013, 04:22 PM
  3. Formula using date and time to generate unique ID
    By penny in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-17-2013, 02:19 PM
  4. Formula to generate unique random numbers?!?
    By aims in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2013, 03:14 PM
  5. Using VBA, can a user input a value into a cell that holds a formula?
    By hashisaki in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-04-2012, 04:43 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