View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Sort changing formulas

Starting with the formula:

=IF(B2=B3,FALSE,""),

copy this down the column. Then highlight the column and CTRL-H (Find
& Replace) with these settings:

Find What: B
Replace with: B$

Click Replace All. Then when you sort you should get the effect that
you are after.

Hope this helps.

Pete


On May 12, 10:13 pm, David P.
wrote:
I have a range of cells that I am sorting based the cells in a particular
column which is =IF(B2=B3,FALSE,""). I want the formula to stay the same
"relative" to it's location (if that's the right way to say it). The B2=B3
part might change to B20=B27 or something like that - in the sense that it
doesn't keep it relative like how a macro can record. Any ideas?

--
David P.