Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default averages for cells

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default averages for cells

jatman wrote:
i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat



=(SUM(INDIRECT("G3:O3"))-MIN(INDIRECT("G3:O3"))-MAX(INDIRECT("G3:O3")))/7
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default averages for cells

hi
you need to understand the differenct between relative reference and
absolute reference. look that up in xl help
i think in your situation you want absolute reference or reference that
don't change.
relative references change when you move them or move the formula.
to change form relatitive to absolute references and dollar signs i.e.
=(SUM($G$3:$O$3)-MIN($G$3:$O$3)-MAX($G$3:$O$3))/7

you can put absolute reference on column, row, both. xl help will explain
all that.
regards
FSt1

"jatman" wrote:

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default averages for cells

(SUM(OFFSET(F3,0,1,1,9))-MIN(OFFSET(F3,0,1,1,9))-MAX(OFFSET(F3,0,1,1,9)))/7

Third Option... Offset

hi
you need to understand the differenct between relative reference and
absolute reference. look that up in xl help
i think in your situation you want absolute reference or reference that
don't change.
relative references change when you move them or move the formula.
to change form relatitive to absolute references and dollar signs i.e.
=(SUM($G$3:$O$3)-MIN($G$3:$O$3)-MAX($G$3:$O$3))/7

you can put absolute reference on column, row, both. xl help will explain
all that.
regards
FSt1

"jatman" wrote:

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default averages for cells

Put your formula in A1 and then insert a column at G (per the OP's
instructions). Now what's in A1?

FSt1 wrote:
hi
you need to understand the differenct between relative reference and
absolute reference. look that up in xl help
i think in your situation you want absolute reference or reference that
don't change.
relative references change when you move them or move the formula.
to change form relatitive to absolute references and dollar signs i.e.
=(SUM($G$3:$O$3)-MIN($G$3:$O$3)-MAX($G$3:$O$3))/7

you can put absolute reference on column, row, both. xl help will explain
all that.
regards
FSt1

"jatman" wrote:

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default averages for cells

Column A has data (category for items in column B).

jat


"Glenn" wrote:

Put your formula in A1 and then insert a column at G (per the OP's
instructions). Now what's in A1?

FSt1 wrote:
hi
you need to understand the differenct between relative reference and
absolute reference. look that up in xl help
i think in your situation you want absolute reference or reference that
don't change.
relative references change when you move them or move the formula.
to change form relatitive to absolute references and dollar signs i.e.
=(SUM($G$3:$O$3)-MIN($G$3:$O$3)-MAX($G$3:$O$3))/7

you can put absolute reference on column, row, both. xl help will explain
all that.
regards
FSt1

"jatman" wrote:

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default averages for cells

My response was for FSt1, whose recommendation didn't work. Please see my other
response for something that will work.

Sorry for the confusion.

jatman wrote:
Column A has data (category for items in column B).

jat


"Glenn" wrote:

Put your formula in A1 and then insert a column at G (per the OP's
instructions). Now what's in A1?

FSt1 wrote:
hi
you need to understand the differenct between relative reference and
absolute reference. look that up in xl help
i think in your situation you want absolute reference or reference that
don't change.
relative references change when you move them or move the formula.
to change form relatitive to absolute references and dollar signs i.e.
=(SUM($G$3:$O$3)-MIN($G$3:$O$3)-MAX($G$3:$O$3))/7

you can put absolute reference on column, row, both. xl help will explain
all that.
regards
FSt1

"jatman" wrote:

i have a spreadsheet that calculates averages, but as i add more columns, it
always calculates the same columns:

B F G H I J
ITEM AVG # ## # #

the formula that i am using is =(SUM(G3:O3)-MIN(G3:O3)-MAX(G3:O3))/7 (drops
the lowest and highest and make an olympic average to use).

when i insert another row of the most recent data on the left side (push old
data to the right, but keep the information). i insert a column between f
and g (new column is now g...). the formula changes and continues to use the
same values and not the new values...

formula changes to =sum(h3:o3)-min(h3:o3)-max(h3:o3))/7

how do i get it the formula to limit itself to just the original selection,
even if i insert columns in the selection?

thank you,

jat


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
averages that ignore #VALUE! cells ericaamousseau Excel Discussion (Misc queries) 7 January 17th 08 09:43 PM
Averages with blank cells and specified criteria MaryH New Users to Excel 5 May 24th 06 08:07 AM
compare adjacent cells and calculate averages Marquismarce Excel Worksheet Functions 5 May 17th 06 09:46 AM
Dividing Cells & Averages Cas Excel Discussion (Misc queries) 1 April 5th 06 11:43 AM
Averages that include cells with IF statements hollenbaker Excel Worksheet Functions 5 October 7th 05 04:29 PM


All times are GMT +1. The time now is 01:04 AM.

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

About Us

"It's about Microsoft Excel"