+ Reply to Thread
Results 1 to 5 of 5

Formula being changed

Hybrid View

  1. #1
    David Klassen
    Guest

    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. #2
    Bob Phillips
    Guest

    Re: 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" <klassen@rowan.edu> wrote in message
    news:1147962235.446642.3310@j73g2000cwa.googlegroups.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. #3
    David Klassen
    Guest

    Re: 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" <klassen@rowan.edu> wrote in message
    > news:1147962235.446642.3310@j73g2000cwa.googlegroups.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. #4
    Jerry W. Lewis
    Guest

    RE: 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. #5
    David Klassen
    Guest

    Re: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1