+ Reply to Thread
Results 1 to 3 of 3

Copying contents of a cell from another worksheet

  1. #1
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Copying contents of a cell from another worksheet

    Hi,

    I have cells C5:C30 on one worksheet containing the names of people that are referenced from another worksheet (using ='Player Details'!$B5)

    My problem is that if any of the criginal referenced are empty, i cannot sort the ones on the other worksheet in alphabetical order without excel sorting the blank cells first.

    How can I get round this so it sorts the blank cells to the bottom of the list? Im presuming it's a job for a macro?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Re: Copying contents of a cell from another worksheet

    Hi there,

    You could possibly try first sorting the whole lot Z-A (thereby putting the blanks to the bottom) and then just selecting the non-blank cells and doing an A-Z sort.

    HTH,

    SamuelT

  3. #3
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Unhappy Re: Copying contents of a cell from another worksheet

    Quote Originally Posted by SamuelT View Post
    Hi there,

    You could possibly try first sorting the whole lot Z-A (thereby putting the blanks to the bottom) and then just selecting the non-blank cells and doing an A-Z sort.

    HTH,

    SamuelT
    Hi,

    Sorry i should have said - im already running a (recorded) macro which works by the user clicking on the name of the header column...So a manual sort wouldn't be useful - although thanks for that, it will be the next time i need to avoid it!

+ 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