Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
81 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 48

Assisted Solution

by:Wayne Taylor (webtubbs)
Wayne Taylor (webtubbs) earned 1200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

636 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