Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
jeff
 
Posts: n/a
Default sorting data, formula contance

When I sort a group of cells by highest number to lowest one column changes
the formula to match where the cell moves to. So if cell J9 moves to cell J8
in the sorting, the formula in the j column adjusts accordingly to match the
new position by one. I want the formula to remain constant. How do i do
that? Basically, if the formula in J9 is =E9/G30 and J9 moves to J8 I want
it to stay =E8/G30, but right now it keeps changing to =E8/G29. Catch my
drift?
  #2   Report Post  
Posted to microsoft.public.excel.newusers
David McRitchie
 
Posts: n/a
Default sorting data, formula contance

Hi Jeff,
It's a good thing you included formula, because the words don't match
what you supply as formulas. But that is why it is important to include
the cell address and the formulas.

J9: =J8/G$30 the dollar sign keeps row 30 from changing except for
inserting/deleting of rows.

You might find the following pages of interest for other questions related to sorting
http://www.mvps.org/dmcritchie/excel/sorting.htm
http://www.mvps.org/dmcritchie/excel/offset.htm
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"jeff" wrote in message ...
When I sort a group of cells by highest number to lowest one column changes
the formula to match where the cell moves to. So if cell J9 moves to cell J8
in the sorting, the formula in the j column adjusts accordingly to match the
new position by one. I want the formula to remain constant. How do i do
that? Basically, if the formula in J9 is =E9/G30 and J9 moves to J8 I want
it to stay =E8/G30, but right now it keeps changing to =E8/G29. Catch my
drift?




  #3   Report Post  
Posted to microsoft.public.excel.newusers
David McRitchie
 
Posts: n/a
Default sorting data, formula contance

sorry I was trying to change it back to how the original formula would look
and inadvertently supplied a formula with a circular reference, your formula
should look like this, I think.

J9: =E9/G$30 the dollar sign keeps row 30 from changing except for
inserting/deleting of rows.




"David McRitchie" wrote in message ...
Hi Jeff,
It's a good thing you included formula, because the words don't match
what you supply as formulas. But that is why it is important to include
the cell address and the formulas.

(##see corrected formula##) the dollar sign keeps row 30 from changing except for
inserting/deleting of rows.

You might find the following pages of interest for other questions related to sorting
http://www.mvps.org/dmcritchie/excel/sorting.htm
http://www.mvps.org/dmcritchie/excel/offset.htm
http://www.mvps.org/dmcritchie/excel/insrtrow.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"jeff" wrote in message ...
When I sort a group of cells by highest number to lowest one column changes
the formula to match where the cell moves to. So if cell J9 moves to cell J8
in the sorting, the formula in the j column adjusts accordingly to match the
new position by one. I want the formula to remain constant. How do i do
that? Basically, if the formula in J9 is =E9/G30 and J9 moves to J8 I want
it to stay =E8/G30, but right now it keeps changing to =E8/G29. Catch my
drift?






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting all rows of data that have a value in a particular column Rikki-Handgards Excel Discussion (Misc queries) 30 December 10th 07 12:29 PM
Data compiling formula FangYR Excel Worksheet Functions 3 February 4th 06 12:04 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 05:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"