View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Moving Cell Reference after Sorting

I don't know what formulas you're using in col B, perhaps you could post a
sample ?

Usually, a VLOOKUP or an INDEX/MATCH could be used to "track" the values in
col A
so that other associated values from a reference table (assuming the values
in col A are key values which are unique within the reference table) can
continue to correspond/be returned for use in other computations,
irrespective of the sorting which may be done in col A

Example: In Sheet2's col B we could use something like this in B1:
= VLOOKUP(A1,Sheet2!A:B,2,0)
with B1 copied down

Col B will continue to return correctly the associated values from col B in
the reference table (Sheet2!A:B), irrespective of the sorting which may be
carried out on the lookup values in col A
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote in message
oups.com...
unfortunately using a constant there wouldn't work. if i needed to
change that data point and then re-sort it, i'd like the equation to
still refer to the data in that cell (wherever it moves after it's
sorted)