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
73 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hard coding time and date into Excel 2 32
splitting text of cell to columns 14 24
SUMIFS with a criteria that could be in multiple rows 21 35
excel help 4 19
Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now