+ Reply to Thread
Results 1 to 5 of 5

macro that identifies names of worksheets that have the same value in the same cell

  1. #1
    Registered User
    Join Date
    07-22-2015
    Location
    Israel
    MS-Off Ver
    7
    Posts
    3

    macro that identifies names of worksheets that have the same value in the same cell

    Hi all!
    I need to create a macro that will allow me the following:
    i have an excell file that contains 145 worksheets with identical text data (list of chracteristics, for example age 13-17, 18-24, 24-34 etc), and 0 or 1 next to each characteristic. Each worksheet represents diffrent client, 1 next to characteristic means that this client has this characteristic, 0- does not.
    the first worksheet is a summary, that sums all these 0 and 1 from all 145 sheets. so for each characteristic i can see how many clients from my list have it.
    So what i would like to do to be able to see which exact clients (worksheets names) have charatceristic that i click on.. for example characteristich "age 13-17", a sum next to it is 12, so what is these 12 clients (worksheets names that have 1 and not 0 in this cell).. massage box may be or the better way ...
    thank you in advance !

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: macro that identifies names of worksheets that have the same value in the same cell

    Can you submit an example workbook with example data which clearly depicts the before and after of what you are trying to accomplish.
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Registered User
    Join Date
    07-22-2015
    Location
    Israel
    MS-Off Ver
    7
    Posts
    3

    Re: macro that identifies names of worksheets that have the same value in the same cell

    Sure ! I prepared a file with only 10 clients (i have 145). so on the sheet "Total" I want to be able to see, for example, by clicking on 3 next to characteristic "all", on which 3 of worksheets there is "1" in this cell (client 8, client 9, client 145), or if i need to see who is "female" so i see who is this 7 female clients (have 1 in this cell)..
    Hope its clear
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: macro that identifies names of worksheets that have the same value in the same cell

    The attached workbook helped a lot. Select the characteristic you want to report on, in the TOTAL sheet, and run the macro:

    Please Login or Register  to view this content.
    Note: We can set it up so that when you select the characteristic it automatically gives you the list but I can forsee some issues so I left it as a manual trigger.

  5. #5
    Registered User
    Join Date
    07-22-2015
    Location
    Israel
    MS-Off Ver
    7
    Posts
    3

    Re: macro that identifies names of worksheets that have the same value in the same cell

    wow!! thank you so much! it works great, can't stop testing this haha ))

+ 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] Macro AutoHide Worksheets with Numeric Names
    By Samps in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2013, 09:07 AM
  2. Function that identifies cell in a range that is X lower than the previous max?
    By hadamhiram in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-27-2013, 07:31 PM
  3. [SOLVED] Macro that identifies/segregates dates in single cell
    By 7hrowdown in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-23-2012, 03:28 AM
  4. Designing a macro that takes data, sorts it and then identifies unique entries
    By gcXL in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-27-2012, 02:42 PM
  5. Select a specific column till it identifies blank cell and to format
    By k1234y in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-28-2012, 12:35 AM
  6. [SOLVED] Macro that identifies cells by color?
    By evisu18 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-23-2012, 01:43 AM
  7. Need Macro which identifies duplicates in a column and colors the duplicate values
    By Karthik Sen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2012, 01:59 PM
  8. Assigning names to worksheets from within a macro
    By smgordon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2009, 01:04 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