+ Reply to Thread
Results 1 to 3 of 3

Only showing certain columns depending on a condition

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Only showing certain columns depending on a condition

    Hi

    I have managed to create a spreadsheet that is going up to column HM! but trying to sort columns or data in here is fairly hard, and without using the find function then copying and pasting into a new sheet, is rather annoying.

    Im wondering if there is a code i could use that would.....
    1. only show me certain columns depending on a conditon
    2. always keeps column a unhiding
    3. can easily unhide all columns

    I have attached an example as i may not be explain it brilliantly, but have come to a conclusion i am wasting around 3-4 hours a week copying and pasting, when i surely can have a macro/command do this?

    If anyone has any suggestions, help or advice i would be very very grateful

    Thank you

    Danexample10.xlsm

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

    Re: Only showing certain columns depending on a condition

    I would be very wary about having your cell entry column (B1) be a potential candidate for a hidden column. Example: What if you put apple in B1? It would hide column B, so you would have to unhide it, just to put in a new value into B1. Also, one of your examples was "KIWI" while some others were "kiwi". You didn't specify how you wanted to approach capitalization so I made it capitalization specific.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Crayford, kent
    MS-Off Ver
    Excel 2013
    Posts
    394

    Re: Only showing certain columns depending on a condition

    Hi stnkynts

    Thats perfect it works exactly as i want it to thank you very much

    Dan

+ 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] Transform Column to several columns depending on condition.
    By dimitrov_dimityr in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-14-2013, 08:11 AM
  2. showing pictures depending on value
    By wayneg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2013, 03:59 AM
  3. Different results depending on condition
    By bronkista in forum Excel General
    Replies: 1
    Last Post: 07-11-2011, 12:12 PM
  4. Showing list of managers depending on department
    By dalew in forum Excel General
    Replies: 2
    Last Post: 03-01-2011, 03:13 AM
  5. Count depending on the condition
    By veikyg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2007, 05:01 AM

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