+ Reply to Thread
Results 1 to 3 of 3

Cell reference changing by itself

  1. #1
    Registered User
    Join Date
    03-11-2015
    Location
    New York
    MS-Off Ver
    2007
    Posts
    2

    Cell reference changing by itself

    Apologies for the extensive explanation. I have a large document that keeps track of attendance during specific periods that vary from person to person. (For instance, we're looking at Adam's attendance 1/1/15-6/30/15 but Bob's attendance 3/1/15-8/31/15.) One user enters daily attendance into a different workbook, and we use vlookups to pull it into the analysis workbook. We noticed that the data entry person sometimes accidentally caused problems with the formulas, and we sometimes needed to access at the same time, which is why we separated the two. All this to say that it's a pretty sizable document with a lot of references.

    I recently noticed that some of the attendance data was off. It turned out that a few rows of the vlookups had shifted the cell reference for lookup_value by one row. I fixed the problem and sorted by percentage attendance, and I saw several rows switch to one row off (i.e., they sorted correctly, then the formula changed). I thought it was only a problem with the vlookups, but I also noticed that a simple sum column had several similar problems.

    I tried searching, but I only kept coming up with basic troubleshooting that I had already tried. Is this a known issue? Can anyone provide guidance on how to solve it?

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

    Re: Cell reference changing by itself

    Have you tried $ in front of the column(s) and cell(s) ($A$1) that you don't want changing?
    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

  3. #3
    Registered User
    Join Date
    03-11-2015
    Location
    New York
    MS-Off Ver
    2007
    Posts
    2

    Re: Cell reference changing by itself

    Thanks for the reply. To clarify, I do want the cell reference to change when I sort. If by sorting the row changes from 4 to 113, I would like the reference to change from A4 to A113. That's mostly what happens. But a few of the rows change the reference to A112 or A114. Or like in Row3 below:

    ColA ColB
    Row1 Adam =VLOOKUP(A1,...
    Row2 Bob =VLOOKUP(A2,...
    Row3 Chris =VLOOKUP(A2,...
    Row4 Dave =VLOOKUP(A4,...

+ 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. Sum across a row with the second cell reference changing
    By salamanderdaydreams in forum Excel General
    Replies: 3
    Last Post: 02-21-2012, 12:44 PM
  2. reference changing cell
    By somenoob in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-22-2011, 01:59 AM
  3. Changing cell reference
    By moonchildja in forum Excel General
    Replies: 2
    Last Post: 07-13-2011, 02:04 AM
  4. Changing a cell reference
    By account2009 in forum Excel General
    Replies: 3
    Last Post: 07-14-2009, 11:12 AM
  5. changing a cell reference
    By I Maycotte in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-20-2006, 02:31 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