+ Reply to Thread
Results 1 to 13 of 13

I hope to display only rows containing the word "Total" in the attached sheet.

  1. #1
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    I hope to display only rows containing the word "Total" in the attached sheet.

    I have seen threads with a similar request but I'm afraid I don't know how to make the appropriate substitutions. The attached file shows a report that I run frequently to assess resource loading. I hope to show only the rows containing the word "Total". Is there a macro I can use?

    MS2112
    Attached Files Attached Files
    Last edited by mstone2112; 03-19-2013 at 06:36 PM.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,901

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Try:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Thank you so much for the quick reply. I'm afraid I may be doing something wrong with the application of the macro and I'm not sure I understand how to work with the Criteria window. I tried selecting the cell containing the value "Total" (AD2) but it didn't work. Am I doing something wrong?

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Hi MS2112

    This Code uses AutoFilter to do as you describe
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  5. #5
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    That works perfectly! Thank you so much.

  6. #6
    Registered User
    Join Date
    02-02-2013
    Location
    texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    59

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Will this work?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Thank you for replying. Actually my goal was to show only the totals rather than hiding them. Jaslake's macro works perfectly. I may be able to make use of your macro in some other cases. I do appreciate it.

  8. #8
    Registered User
    Join Date
    02-02-2013
    Location
    texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    59

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Oh sorry I misread your post. I will go ahead and post this one as another option, because i recently posted it for someone else, and it is probably the macro i use more frequently than anyother. IT will create a new page, returning all occurrences of your seaRch. It will also add hyperlinks with cell addresses for each occurrence.

    Please Login or Register  to view this content.

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Hi MS2112

    You're welcome...glad I could help.

    If this resolves your issue please mark your Thread as SOLVED.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:
    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  10. #10
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    John:

    Sorry for the slow response. I have marked the issue as SOLVED. Thank you very much.

    I hope to do more with the data but don't want to cross a line of requesting too much so please tell me if my request is unreasonable.

    I hope to take the consolidated data and total it by department each week, then show each of the departments on a line graph. I would also like to show the individual totals separately as percentages of a 40-hour capacity (perhaps on a table like the original). Both charts will be used to project available bandwidth for a resource (and a department) in the weeks to come. I will do this manually but as I will need to repeat this on a regular basis based on the same core report, it will be wonderful if anyone can provide assistance with pieces of this so I can streamline the process.

    Sincerely,

    Mike

  11. #11
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    Hi Mike

    Regarding this
    Please Login or Register  to view this content.
    The new issues you describe are beyond the scope of this Thread and perhaps should be the subject of a new Thread.

    I can't envision what you're describing so you may wish to attach a sample of your expected output to your new Thread. I notice you're using Merged Cells in your file...this could possibly create issues...best of luck.

  12. #12
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    John:

    I will start a new thread. I should have some examples of the desired outputs tomorrow.

    Thank you.

    Mike

  13. #13
    Registered User
    Join Date
    03-10-2013
    Location
    Yorba Linda, California
    MS-Off Ver
    2010
    Posts
    13

    Re: I hope to display only rows containing the word "Total" in the attached sheet.

    John:

    I posted my examples in a thread entitled "I hope to convert a table from values to % of a 40-hour capacity and graph dept totals". Please let me know if I have omitted anything. Again, if the request is unreasonable, please let me know.

    Mike

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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