Morning,
I have a row of cells A1:NN1, with each cell having a long formula with non fixed cell references ie no dollar signs in the formula. Is there a way to automatically, possibly with macro, fix every cell references in this row?
Thanks!
Morning,
I have a row of cells A1:NN1, with each cell having a long formula with non fixed cell references ie no dollar signs in the formula. Is there a way to automatically, possibly with macro, fix every cell references in this row?
Thanks!
Last edited by brad999; 04-16-2014 at 09:25 AM.
try find/replace (ctrl-H)
Quang PT
Sorry I forgot to mention that every cell reference is different, so couldn't really use find replace
Hi,
It still might be possible using Find & Replace, though it would be helpful to see an example of the formulas in question.
Are all the formulas in that range at least consistent, i.e. they are of the same form and function, though differ only in the cells which they reference?
Regards
The formulas are consistent yes, only the cell references that differ,
And would it be possible to see just one of these formulas? Obviously replace any confidential/sensitive information with dummy data if necessary, though as long as everything else remains unchanged.
Regards
Attached file has the formulas, don't worry about the n/a, just need to fix all cell references automatically! thanks
Would it be possible with some kind of macro having I = a-nn, find I replace with $I$
Hi,
You simply want every single range reference in those formulas to remain the same, but to be made absolute, with respect to both rows and columns?
Regards
Yes exactly![]()
There's a macro here:
http://tinyurl.com/ChangeCellRefs
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Perform the following four Find & Replaces (with Replace All) on that range:
Find what: 'Sheet 1'!
Replace with: Sheet 1'!$
Find what: 10
Replace with: $10
Find what: :
Replace with: :$
Find what: 9000
Replace with: $9000
Regards
Excellent, thanks to you both!!
You're welcome. We appreciate the feedback!![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks