+ Reply to Thread
Results 1 to 13 of 13

specific worksheet summary?

  1. #1
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    specific worksheet summary?

    I browsed through existing threads and other sites and didn't find this exact scenario. I'm sorry if this type of question is common, but I wouldn't know. I appreciate any help and thanks for trying and offering your 2 cents!

    OK. What I have is a table with over 20 columns that I use to sort and AutoFilter the 200+ rows of data. Several of the columns use Data Validation which require data to be from lists. Conditional formatting is used very often throughout the sheet.

    Now, I want to have a second worksheet that will be almost identical to the original, but only accept rows that have certain values (let's say 3 of the 8 possible values) a specific column. These values are text values that appear in a list, and the column uses Data Validation to accept values only from that list. This second worksheet should be like if I Autofiltered the original table by check-marking 3 of the 8 available filter options for that column, but I need this specific 'view' of the data for certain purposes and my own reference.

    In a perfect world, this second sheet would automatically mirror the original sheet's changes... But I don't know if that's possible? Although Excel is a very flexible and powerful tool, flexibility is relative once your tastes in data organization become more and more specific! Please let me know if any of this is impossible, so I'll stop trying to figure out how, haha.

    Even if it won't 'automatically' mirror the original, I still would like to view the information in this way! Thanks for any help!

    Also, I am very good with formulas and finding my way around Excel's features, but I'm not very experienced with the VBA programming or custom macro-writing.

    Sorry if this is too specific or picky, but any help is appreciated, thanks!

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    but only accept rows that have certain values (let's say 3 of the 8 possible values) a specific column. These values are text values that appear in a list, and the column uses Data Validation to accept values only from that list
    Could you provide us with a sample workbook please? Many of your particulars are generalized references - The list, the column, the values - It makes it a lot easier to hit the ground running with a concrete sample of exactly what you're working with.

    mew!
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: specific worksheet summary?

    Sure. I have made a very gutted and shortened version of my spreadsheet for ease of use for you. This is an Excel 2007 .xlsm document.

    I am a video game enthusiast, and I use this spreadsheet to compile a list of video games that I am interested that are announced, dated, bought be me, etc. For regular viewing and editing, this table is usually sorted by interest level (a number I provide, based on my interest towards the game), AutoFiltered by genre or system, or organized by any other of my data.

    The main reason why I asked my question was so I can make a "backlog" of games that I want to play next or need to beat eventually. Thus, making a 'new view' of my data filtering out any games I don't own, have already finished, etc.
    Attached Files Attached Files

  4. #4
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    So you want to, for example... list games which you haven't beat, do not own, and have a higher than 80% interest in, in order of interest on this second page.

    maybe?

    Or are you looking for something more simple like a checkbox system where you can hand pick games you want to buy/finish by checking the box on the first page and having them listed on the second page if checked, since it sounds like there's going to be some amount of personal discretion involved as opposed to a 100% rule based system.

    Also maybe?

    A small hard coded area might help, with an explanation.

    Hard coding = manually enter the results you would expect in the sheet where you'd expect them, with the reasoning behind why it's there typed out as well. Reason being, it may make perfect sense to you why a certain item would be there and not another, but to me it's a guessing game until I see the rules laid out.

    mew!

  5. #5
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: specific worksheet summary?

    Quote Originally Posted by mewingkitty View Post
    So you want to, for example... list games which you haven't beat, do not own, and have a higher than 80% interest in, in order of interest on this second page.

    maybe?

    Or are you looking for something more simple like a checkbox system where you can hand pick games you want to buy/finish by checking the box on the first page and having them listed on the second page if checked, since it sounds like there's going to be some amount of personal discretion involved as opposed to a 100% rule based system.

    Also maybe?

    A small hard coded area might help, with an explanation.

    Hard coding = manually enter the results you would expect in the sheet where you'd expect them, with the reasoning behind why it's there typed out as well. Reason being, it may make perfect sense to you why a certain item would be there and not another, but to me it's a guessing game until I see the rules laid out.

    mew!

    Either of the first two suggestions would work (Except, they would be games I own, since a backlog is my "list of shame" of games I bought and never beat, that I need to get to eventually--but probably never)

    I wouldn't mind handpicking the entries, and that would put me in more control over what appears. I just don't know how to execute it.

    However... I've tried using checkboxes before, but it seemed to be too much trouble! Maybe I was doing it wrong... The checkboxes didn't work well with adding new entries, as dragboxing them just copied the same cell links instead of making them a series. They just didn't seem like they were working with the worksheet... If that makes since.

    I also tried using a macro to automatically make a checkbox for each cell in a column linked to that cell, but it still was a lot of trouble.

  6. #6
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    marlett checkboxes with some code to copy over ranges would work nicely methinks. I'll throw something together for you quick here, gimme a min.

  7. #7
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: specific worksheet summary?

    Awesome, thanks!

    As long as it won't conflict with adding new entries? Let me know what's been done too, so I can learn it. =)

  8. #8
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    Doesn't conflict with anything actually.

    Marlett is a font. it just so happens that the letter "a" in marlett, is a checkmark.

    Quick rundown -

    You'll want to tweak the range being copied into either the entire range, or into specific cells. From the looks of what you were working on I'm sure you can figure that part out.

    It works off of "Marlett checkboxes" something I didn't know existed until SHG pointed them out to me on this site. If you doubleclick anything in column 3 (which i've added in, and is a small little column) it'll put a checkmark in that cell, and copy over the cells in that row to sheet1. (I just made up a range, that's the part you'll have to tweak)

    I've included code for removing games once they've been added, same thing, just doubleclick the box again.

    I think I've covered the bases for avoiding errors. It should prevent anything from being added twice, and shouldn't cause errors if you try to remove something that's not there (ie manually check the box instead of clicking it, then double click it to run the code)

    I've gone through and added code tags, since I have a god awful habit of using single letters as variables, and since you seem more interested in learning how it works than you are about just having someone fix it for you and never think of it again. (That's a good thing, btw).

    mew!
    Last edited by mewingkitty; 05-27-2009 at 09:49 PM.

  9. #9
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    Oh, and you may want to copy the code over/at the least double check the sheet I posted. May or may not have inadvertently mangled something... Trial and error with VBA is good for that.

  10. #10
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: specific worksheet summary?

    Wow, thanks a million! I'll look at it in a bit. I really really appreciate it!

    I hope to help someone here like you helped me.

    I'll keep you in mind if I have a question. =)

  11. #11
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    Well,
    make sure it works the way you want it to before you go telling me how awesome I am.

    Should probably mention, since I didn't know how this worked for quite a while myself - Go do the ~Developer~ tab, click on ~Visual Basic~. Go to the ~View~ menu. Choose ~Project Explorer~. Double click on ~Sheet1(VIDEO GAMES)~ to view the code. It's sheet-wide code, as opposed to object or macro called. That's why the sub name is "Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)".

  12. #12
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: specific worksheet summary?

    Oh, and lol at me.

    You might as well go ahead and put in a -
    Please Login or Register  to view this content.
    At the beginning, and a -
    Please Login or Register  to view this content.
    at the very end.

    lol right now it'll try to do things if you have a cell with "a" in it, and you doubleclick on it anywhere in sheet 1. It doesn't actually accomplish anything, but it thinks about it :P Sloppy on my part.

    mew!

  13. #13
    Registered User
    Join Date
    05-25-2009
    Location
    Louisiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    18

    Re: specific worksheet summary?

    looks great!

    what's the edit for again?

+ 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