Solved

sheet not calculating a "=index" formula that referes to a cell that has been changed by find and replace

Posted on 2015-02-11
4
79 Views
Last Modified: 2015-02-16
I have a fairly large spreadsheet wherein a column of cells refers to an adjacent cell to lookup.
=INDEX(Return_value_range, MATCH(Lookup_value, Lookup_value_range, Match_type))
I then noticed that one particular value in the "Lookup_value" cells needed to be modified so I ran a Find and Replace on the column to change a text value of "00000142" to "142". After that the formula that refers to the modified cell gives a result of "#N/A" and only if I "edit" the referenced cell (not changing anything but just using F2 to access the cell contents and then pressing enter. This would be ok if there were just a few, but there are over 1000 cells that need to be recalculated. I tried to "copy special" the entire column over itself using different options none of which made any difference. Of course, I also tried just recalculating the sheet and I exited/entered Excel all to no avail. Is there anyway to get these cells to be correctly referenced?
0
Comment
Question by:BobArnett
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 47

Assisted Solution

by:Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs) earned 300 total points
ID: 40604336
Try deleting all but the top formula, then dragging the remaining formula down to fill the column.
0
 

Accepted Solution

by:
BobArnett earned 0 total points
ID: 40604363
Nope, didn't do it. It's odd because it's not the formula but the referenced cell that is the problem. Not doing anything to the formula but just using <F2><enter> on the referenced cell forces the formula to work.
Actually, however, what you said gave me an idea.
In a column three to the right of the problem text cell (say "H"), I entered the formula
=text(value(E5),"0##")
I then special copied (value only) that cell over the problem cell... and it worked.
I then did the whole column and ended up with no #N/A cells. Much quicker than one-at-a-time.
0
 
LVL 50
ID: 40604373
You could select the column, then do a Find/Replace and replace all = signs with = signs. Make sure to find inside formulas, not values. That will recalculate all formulas.
0
 

Author Closing Comment

by:BobArnett
ID: 40611881
Although Wayne's comment didn't do the trick, it did give me an idea on how to fix it. I figured I'd share the credit.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question