Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
David Klassen
 
Posts: n/a
Default Formula being changed

I'm using Excel X (on Mac) to do some survey statistics. Each row
contains a question and the following six columns contain the number of
responses for each of A, B, C, D, E and N/A. The next column contains
a formula to calculate a weighted average of the responses, where A
counts as 5 points, B as 4 points, etc. I want to leave any N/A
responses out of the calculations so my formula is:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11)

As I get new surveys to compile, I just clear out the old responses (in
C11:H41) and then start typing in the new counts. The really annoying
thing is, if I enter a number into the H column (to track the N/A
responses) Excel will automatically edit my formula (in column I) to:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11+H11)

My question: Why is it doing that?!?! And how can I get it to stop?!

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Formula being changed

Don't know why, but your formula can be simplified to

=SUMPRODUCT(C11:G11,{5,4,3,2,1})/SUM(C11:G11)

which might also stop the problem (maybe!)

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"David Klassen" wrote in message
ps.com...
I'm using Excel X (on Mac) to do some survey statistics. Each row
contains a question and the following six columns contain the number of
responses for each of A, B, C, D, E and N/A. The next column contains
a formula to calculate a weighted average of the responses, where A
counts as 5 points, B as 4 points, etc. I want to leave any N/A
responses out of the calculations so my formula is:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11)

As I get new surveys to compile, I just clear out the old responses (in
C11:H41) and then start typing in the new counts. The really annoying
thing is, if I enter a number into the H column (to track the N/A
responses) Excel will automatically edit my formula (in column I) to:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11+H11)

My question: Why is it doing that?!?! And how can I get it to stop?!



  #3   Report Post  
Posted to microsoft.public.excel.misc
David Klassen
 
Posts: n/a
Default Formula being changed

Cool funtion! I've never heard of it.

Tired it, but now it does the "auto correction" to
=SUMPRODUCT(C11:G11,{5,4,3,2,1})/SUM(C11:H11)

Argh!

Thanks for the new function though!

- Dave

Bob Phillips wrote:
Don't know why, but your formula can be simplified to

=SUMPRODUCT(C11:G11,{5,4,3,2,1})/SUM(C11:G11)

which might also stop the problem (maybe!)

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"David Klassen" wrote in message
ps.com...
I'm using Excel X (on Mac) to do some survey statistics. Each row
contains a question and the following six columns contain the number of
responses for each of A, B, C, D, E and N/A. The next column contains
a formula to calculate a weighted average of the responses, where A
counts as 5 points, B as 4 points, etc. I want to leave any N/A
responses out of the calculations so my formula is:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11)

As I get new surveys to compile, I just clear out the old responses (in
C11:H41) and then start typing in the new counts. The really annoying
thing is, if I enter a number into the H column (to track the N/A
responses) Excel will automatically edit my formula (in column I) to:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11+H11)

My question: Why is it doing that?!?! And how can I get it to stop?!


  #4   Report Post  
Posted to microsoft.public.excel.misc
Jerry W. Lewis
 
Posts: n/a
Default Formula being changed

Tools|Options|Edit and uncheck "Extend list formats and formulas"

Jerry

"David Klassen" wrote:

I'm using Excel X (on Mac) to do some survey statistics. Each row
contains a question and the following six columns contain the number of
responses for each of A, B, C, D, E and N/A. The next column contains
a formula to calculate a weighted average of the responses, where A
counts as 5 points, B as 4 points, etc. I want to leave any N/A
responses out of the calculations so my formula is:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11)

As I get new surveys to compile, I just clear out the old responses (in
C11:H41) and then start typing in the new counts. The really annoying
thing is, if I enter a number into the H column (to track the N/A
responses) Excel will automatically edit my formula (in column I) to:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11+H11)

My question: Why is it doing that?!?! And how can I get it to stop?!


  #5   Report Post  
Posted to microsoft.public.excel.misc
David Klassen
 
Posts: n/a
Default Formula being changed

Bingo! Thank you!!

Jerry W. Lewis wrote:
Tools|Options|Edit and uncheck "Extend list formats and formulas"

Jerry

"David Klassen" wrote:

I'm using Excel X (on Mac) to do some survey statistics. Each row
contains a question and the following six columns contain the number of
responses for each of A, B, C, D, E and N/A. The next column contains
a formula to calculate a weighted average of the responses, where A
counts as 5 points, B as 4 points, etc. I want to leave any N/A
responses out of the calculations so my formula is:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11)

As I get new surveys to compile, I just clear out the old responses (in
C11:H41) and then start typing in the new counts. The really annoying
thing is, if I enter a number into the H column (to track the N/A
responses) Excel will automatically edit my formula (in column I) to:

=(C11*5+D11*4+E11*3+F11*2+G11*1)/(C11+D11+E11+F11+G11+H11)

My question: Why is it doing that?!?! And how can I get it to stop?!



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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
allow fill color to be changed or toggled using a formula CMAN Excel Discussion (Misc queries) 2 October 26th 05 05:29 AM
Can the font and text size for the formula bar be changed? PhilH Excel Discussion (Misc queries) 1 July 14th 05 05:28 PM
How do I protect a formula from "accidently" being changed in Exc. camalex03 Excel Worksheet Functions 2 February 3rd 05 04:39 PM


All times are GMT +1. The time now is 11:06 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"