+ Reply to Thread
Results 1 to 7 of 7

Cells displaced in excel spreadsheets

  1. #1
    Registered User
    Join Date
    04-10-2017
    Location
    The Observatory Science Centre, Herstmonceux
    MS-Off Ver
    2010
    Posts
    3

    Cells displaced in excel spreadsheets

    I have a couple of large spreadsheets which I use for tracking schools contacts and outreach visits from our Observatory. Those I have set up so that they have filters and selectable views. So for example in the same spreadsheet I have an enquiry view or an invoice view to reduce the data shown. I also have filters so that I can restrict the view to a selection of data; for example only future enquiries from primary schools etc.

    So far so good and in principle it works except that some of the content gets displaced every so often. From a bit of googling it seems that it might be something to do with the filters. Is this a known issue? I have seen other people refer to to but not often and not yet seen a solution. In the example spreadsheet I have attached the travel information (distance and time) is regularly displaced from the customer information, as this feeds into the invoiced amount it makes the spreadsheet less than useful.

    Help please?
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: Cells displaced in excel spreadsheets

    I have had a look at your spreadsheet. Where should I look and what should I do to see this phenomenon, please?

    In the example spreadsheet I have attached the travel information (distance and time) is regularly displaced from the customer information, as this feeds into the invoiced amount it makes the spreadsheet less than useful.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-10-2017
    Location
    The Observatory Science Centre, Herstmonceux
    MS-Off Ver
    2010
    Posts
    3

    Re: Cells displaced in excel spreadsheets

    The problem seems to occur when I sort by using any of the filters. So for example if I sort the spreadsheet by invoice number then not all columns are sorted. Instead it sorts columns A - AN but leaves AO and AP in their original order. Of course this then breaks the data.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,539

    Re: Cells displaced in excel spreadsheets

    That's because those columns are not included in the filter. You need to add the filter to all columns you wish to sort, so remove the filer, then reselect the cells for the filter INCLUDING those two columns, and apply it again. Now when you sort all the necessary columns will be included.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    04-10-2017
    Location
    The Observatory Science Centre, Herstmonceux
    MS-Off Ver
    2010
    Posts
    3

    Re: Cells displaced in excel spreadsheets

    Thankyou - That's really not how I would have expected it to work. Is there any way to make the filters apply to all columns? otherwise every time someone adds a column it is at risk of break the data

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,900

    Re: Cells displaced in excel spreadsheets

    It appears that you can apply the filters to all columns.
    I tested this by placing a series of numbers (1:998) in column XFD based on the sort order applied to the file attached to post #1,
    removed the filter buttons (using filter on Data tab)
    selected A12:XFD12,
    applyed filters (again using filter on Data tab),
    then resorted 'Newest to Oldest'.
    It took a few seconds, however when it finished the numbers in column XFD had sorted as had the values in columns A:AP.
    You may want to copy your data to a new spreadsheet before attempting, just to be safe.
    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.

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Cells displaced in excel spreadsheets

    If you set up your data as a table (Insert Table), then Excel will automatically include filters to any columns added (unless you separate the columns with one or more blank columns)
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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. Cells get displaced after filter updates
    By MauBarrera in forum Excel General
    Replies: 2
    Last Post: 08-11-2016, 11:18 AM
  2. Displaced UK geek enjoying VBA
    By mzj9k0 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 11-07-2012, 08:01 PM
  3. [SOLVED] Excel 2007 : Drop Down Lists Displaced After Filtering
    By kusacw in forum Excel General
    Replies: 3
    Last Post: 04-27-2012, 08:46 PM
  4. Replies: 3
    Last Post: 03-20-2012, 10:27 AM
  5. Axis Interval Values Displaced
    By jwcane in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-03-2012, 05:38 AM
  6. Displaced control buttons after hide unhide
    By reinkonemann in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2011, 10:36 AM
  7. [SOLVED] CommandButton displaced after hiding/unhiding rows
    By scelle in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-25-2005, 06:06 PM

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