+ Reply to Thread
Results 1 to 9 of 9

I would like to click once on a cell

  1. #1
    Registered User
    Join Date
    12-21-2012
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    1

    I would like to click once on a cell

    I have a file with my grocery list and everything that we might need to purchase on a biweekly basis is in it. Currently I print off this list and then cross out the items we have leaving the items that we need. Of course this is wasting alot of ink both in the printer as well as my pen.

    Is there a way to click on the item, quickly maybe with a shortcut and highlight it not to be printed the next time I print. Ideally, in the column labeled "QTY" when I put in a quantity that line would print and if I don't put in a quantity in it would not print that line.

    Any thoughts?

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: I would like to click once on a cell

    Attach a sample workbook.

    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: I would like to click once on a cell

    Any thoughts?
    Just autofilter to hide rows with blanks or cells where the quantity is >= 1.
    Excel only prints visible rows.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  4. #4
    Registered User
    Join Date
    03-25-2012
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: I would like to click once on a cell

    groceries sample.xlsx
    Quote Originally Posted by Palmetto View Post
    Just autofilter to hide rows with blanks or cells where the quantity is >= 1.
    Excel only prints visible rows.
    How exactly do I do that? I am a little familiar with conditional formatting. So it would be if cell B5 is less than qty. (1), don't print cell A5?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: I would like to click once on a cell

    if you look on the home tab, on the far right, look for the "sort and filter" icon. When you click on that, each heading will have a small drop-down arrow. When you click on that, you will see all the unique entries in that column - uncheck the 1's you dont want to see, and those rows will be hidden.

    If you have a column with QTY - ie with a value, you can filter on that using > or <


    Edit: also, please do not post duplicate threads, even if you use a different name!!
    Last edited by FDibbins; 02-09-2013 at 01:08 AM.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: I would like to click once on a cell

    Excel only allows entire rows or columns to be hidden - not single cells.

    If you need specific cells only to be printed then the solution is to have them copied to another sheet that contains only the data you want.
    Depending on your worksheet this could be accomplished using formulas but it may require VBA coding. Of course, simple cell linking is always an option (i.e. on the "report sheet" you would link, say, sheet2!A1 to sheet1!C5 with this formula: =sheet1!C5

    See these links for tutorials on using autofilter

    Excel Filters: Excel 2007 AutoFilter Basics

    YouTube Video Tutorial

  7. #7
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: I would like to click once on a cell

    I just saw your other thread (now closed) and have a better understanding of your needs.

    My recommendation is to use Data Validation with dependent lists.
    See the attached workbook for a basic example.

    On the Shopping List sheet, columns A and B contain drop down lists using Data Validation. The "Item" list is dependent on the selection made in the "Category" list.

    Cells in column-A use a list named "Category", which is created using a dynamic named range to refer to row-1 on the DV Lists sheet.

    This formula is used to create the Category list
    ='DV Lists'!$A$1:INDEX('DV Lists'!$1:$1,COUNTA('DV Lists'!$1:$1))

    Cells in column-B use Data Validation, List option and this formula to dynamically create the item list for the chosen category.

    =OFFSET('DV Lists'!$A$1,1,MATCH(A4,Category,0)-1,COUNTA(INDIRECT(A4)),1)

    Named ranges were created for all of the category lists using formulas like:


    Bread ='DV Lists'!$C$2:$C$100
    Dairy ='DV Lists'!$D$2:$D$100
    Fruit ='DV Lists'!$E$2:$E$100
    Pasta ='DV Lists'!$B$2:$B$100
    Produce ='DV Lists'!$A$2:$A$100


    When you are ready to create a shopping list, just select a category then an item.
    Clear previous lists by selecting all non-empty cells and press the delete key.

    Excel will only print visible cells and there is no need for filtering.

    Topics you should explore: named ranges, Data Validation, Dependent Lists
    A general web search on the above terms will yied plenty of help.


    Shopping List Help.xlsx

  8. #8
    Registered User
    Join Date
    09-24-2010
    Location
    Victoria, BC
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: I would like to click once on a cell

    I have a sheet that i made up for my wife to do her ordering of supplies at work. I think it will work for you, either as is or with minor modifications. Just fill in what items you normalyl list for shopping purposes, and make note of maximum quantity wanted at any time & minimum quantities before ordering. Then all you need to do is adjust your stock count before you go shopping and hit print. Only the right hand section prints and all that shows is the items you currently need.
    Attached Files Attached Files
    If I helped, say thanks by clicking on the star.

  9. #9
    Registered User
    Join Date
    03-25-2012
    Location
    us
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: I would like to click once on a cell

    [QUOTE=Palmetto;3118259]

    Thanks to all for the help. We can close this topic now. I don't see any stars on to click on to show my appreciation. Thanks again.

+ 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