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
77 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

Expert Comment

by:Ingeborg Hawighorst
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
: 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…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

730 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