+ Reply to Thread
Results 1 to 6 of 6

Sorting Data cleanly that includes Formulas

  1. #1
    Forum Contributor
    Join Date
    05-28-2016
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    119

    Sorting Data cleanly that includes Formulas

    I have a spread sheet that draws data from one sheet (Raw Data) into a working sheet (From Adobe).
    I need to be able to add data at anytime which works well by simply adding names at the bottom of the list in Raw Data. I also need to produce a list sorted either alphabetically (Surname&FirstName) or numerically (Payroll) for reporting. It would be good to have this reproduced on another sheet (Sorting) and not corrupt any other data.
    I have tried various things but sorting always leaves hundreds of blank cells at the top of the page or ruins existing formatting.
    Attached Files Attached Files

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Sorting Data cleanly that includes Formulas

    May I suggest removing any blank columns in your data. I could cause problems with sorting and lookups.

  3. #3
    Forum Contributor
    Join Date
    05-28-2016
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    119

    Re: Sorting Data cleanly that includes Formulas

    Unfortunately due to the variety of training for staff and the need to seperate these into seperate columns, I cannot completely eliminate all blank columns. I could ensure all have a heading, but there will often be no further data below these. I managed to formulate a basic pivot table to sort the names alphabetically and reduce blank cells to one. I was partially ably to use this information to lookup data from the "From Adobe" tab yet not as cleanly as I would like, and not all data I require was able to be displayed this way.

    I was hoping I could copy the data and last just the data without formulas, then remove totally blank rows before sorting.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Sorting Data cleanly that includes Formulas

    What about creating a table of the data on the 'From Adobe' sheet, A1:P501
    If you sort the table by Payroll Number the blanks are pushed to the bottom
    If you sort the table by Name you need to scroll to the bottom of the filter and uncheck 'blanks' (shown in attached file)
    When you have finished with using the sorted report undo the changes.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    05-28-2016
    Location
    Australia
    MS-Off Ver
    2013
    Posts
    119

    Re: Sorting Data cleanly that includes Formulas

    Thanks. I have been trying without success to achieve what i want to do to re-order the list cleanly. I am resigning myself to enabling a filter on the page and narrowing down lists as I need them and making sure not to save the file with these changes. Thanks for the input.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Sorting Data cleanly that includes Formulas

    To get your original order of records, in the event that you save while the sort and filter are in place, you could add a column R to your table that is numbered 1:500. Type "Order" in R1, 1 in R2 and 2 in R3. Select R2:R3 and double click the fill handle for R3, Excel should fill the values down to R501. If you save with the sort and filter in place you can reopen, clear the filter from the Name column and sort by the Order column (R) to get back to the original order of records.
    Let us know if you have any questions.

+ 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. Vba Code not extracting data cleanly
    By raj249 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2016, 02:02 AM
  2. Sorting only includes part of my spreadsheet
    By Judes in forum Excel General
    Replies: 9
    Last Post: 09-15-2014, 12:01 AM
  3. sorting data that includes email addresses
    By PJ Southard in forum Excel General
    Replies: 2
    Last Post: 01-17-2014, 02:33 AM
  4. [SOLVED] Counting Cells that includes exact match and also if a cell includes specific text
    By smclachlan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-19-2012, 07:42 PM
  5. Replies: 0
    Last Post: 08-13-2012, 11:17 AM
  6. Cleanly Trimming text...
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-28-2006, 09:25 AM
  7. Add-in can't be unistalled cleanly
    By JL in forum Excel General
    Replies: 1
    Last Post: 02-01-2005, 12:06 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