+ Reply to Thread
Results 1 to 3 of 3

Formula not referencing the correct row after sorting

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Jacksonville
    MS-Off Ver
    Excel 2010
    Posts
    74

    Formula not referencing the correct row after sorting

    Can anyone tell me why the formula would reference row 509 instead of row 2 after I just sorted column K? It does it ALLLLLLL the time I fix it, save it, open it and it's fine until I sort anything.
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    11-01-2012
    Location
    Jacksonville
    MS-Off Ver
    Excel 2010
    Posts
    74

    Re: Formula not referencing the correct row after sorting

    OMG!!!!!!!!!! I figured it out!!! All the formulas that I was having issues with where it would reference the wrong row after sorting had the tabs title in the formula. So as I was making the formula and going back and forth from tabs it would reference the name of "that" tab that would keep changing. I deleted the tab reference so it just referenced the cell and tested it and thus far it's been working!!! I can't believe I finally figured it out... been starring at this dang thing forever!

  3. #3
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Formula not referencing the correct row after sorting

    Glad you were able to get it figured out.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ 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. Replies: 15
    Last Post: 11-25-2014, 08:14 AM
  2. Listbox needs referencing to correct Worksheet
    By burger160 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2014, 07:42 AM
  3. [SOLVED] Correct syntax for referencing a separate worksheet in a formula when.
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-20-2014, 03:01 PM
  4. The correct way of referencing the data source for a pivot table... error
    By lgjmac in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2013, 03:51 PM
  5. Macro to enter formula is not referencing correct cells.
    By floridagunner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2013, 01:39 PM
  6. Replies: 0
    Last Post: 01-09-2013, 06:58 AM
  7. Referencing the correct object in a formula
    By capnhud in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2010, 06:03 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