+ Reply to Thread
Results 1 to 7 of 7

Stop changing formula

  1. #1
    Registered User
    Join Date
    12-10-2023
    Location
    Louisiana, USA
    MS-Off Ver
    Office 365
    Posts
    8

    Stop changing formula

    I have this formula =AVERAGE(TAKE(TOROW($F$9:$P$9,1),10)) that averages the last 10 scores. When I add a column to add new scores it changes from F9 to P9 to F9 to Q9. How do I keep the formula to only average from F to P

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Stop changing formula

    Where/how are you adding new columns. Please upload a SMALL sa,ple file (see yellow banner about sample sheets - top of page).
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Stop changing formula

    Blind guess (without seeing what you EXPECT to get)

    =AVERAGE(TAKE(TOROW($F$9:$P$9,1),,10))

    or maybe

    =AVERAGE(TAKE(TOROW(INDEX(9:9,6):INDEX(9:9,16),1),,10))

  4. #4
    Registered User
    Join Date
    12-10-2023
    Location
    Louisiana, USA
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Stop changing formula

    Formula is in E column. I am right clicking on G column and inserting column. This will allow me to add weekly scores but I only want 10.
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Stop changing formula

    Try:

    =AVERAGE(TAKE(DROP(F9:O9,,1),,10))

    your previous formula was NOT returning 10 values, by the way. The hidden column (F) was messing things up. Now it's OK.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-10-2023
    Location
    Louisiana, USA
    MS-Off Ver
    Office 365
    Posts
    8

    Re: Stop changing formula

    Thank you very much!! That works perfect!!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Stop changing formula

    You're welcome. Thanks for letting us know that you got an answer.




    Please take a moment and consider clicking the "Add Reputation" button at the foot of any of the posts of anyone who helped you reach a solution here today.

    Finally, if that takes care of your original question, please click on "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How do I get formula to stop changing Cells
    By rwgauger in forum Excel General
    Replies: 2
    Last Post: 04-11-2020, 01:40 PM
  2. [SOLVED] How to stop formula's changing?
    By 4lowie in forum Excel General
    Replies: 11
    Last Post: 07-11-2015, 09:19 AM
  3. Excel Changing Formula Format - Please help me STOP it!
    By mjhopler in forum Excel General
    Replies: 10
    Last Post: 04-03-2014, 08:42 AM
  4. Stop Formula Changing On Insert Row
    By Barrelroll in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2010, 07:37 PM
  5. Stop Formula Changing On Insert Row, Help Plz!
    By Barrelroll in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-08-2010, 11:06 PM
  6. stop changing my formula
    By paulnohio in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 01:15 PM
  7. [SOLVED] stop automatically changing formula!
    By caryn in forum Excel General
    Replies: 2
    Last Post: 06-02-2005, 04:05 PM

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