+ Reply to Thread
Results 1 to 4 of 4

dropdown list to select start and end of average range

  1. #1
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Question dropdown list to select start and end of average range

    Hi all,

    I need to create a function that will allow an input for a start and an end range for multiple average calculations.
    The function needs to apply to all items in Column A.

    In the example, I have the average for all items for all weeks.
    But if I wanted to see the average for all items between weeks 47 and 50, I would select the start and end and then the average figures would update for all items to that range.

    Hope that makes sense?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: dropdown list to select start and end of average range

    You can use this formula (e.g. in T2):

    =AVERAGE(INDEX(B2:P2,MATCH($U$2,$B$1:$P$1,0)):INDEX(B2:P2,MATCH($V$2,$B$1:$P$1,0)))

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Re: dropdown list to select start and end of average range

    Thanks Pete, works exactly as needed! added rep.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: dropdown list to select start and end of average range

    Glad to help, Neil - thanks for the feedback.

    Pete

+ 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. Replies: 1
    Last Post: 01-17-2018, 01:26 PM
  2. Dropdown list to select data
    By Booswig in forum Excel General
    Replies: 9
    Last Post: 04-15-2015, 06:34 AM
  3. Select Picture via Dropdown list
    By cmlucifer in forum Excel General
    Replies: 6
    Last Post: 01-21-2014, 02:51 PM
  4. Calculate hours worked from dropdown list for start and stop times
    By vanchopski in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-02-2012, 05:22 PM
  5. Select Empty Cell Within a DropDown List Box's Range
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2010, 06:58 PM
  6. Edit Macro to Select Range to Start List
    By JK1234 in forum Excel General
    Replies: 6
    Last Post: 11-21-2008, 10:05 AM
  7. How to select different Macros from a dropdown list?
    By globulous in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-04-2007, 12:16 AM

Tags for this Thread

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