+ Reply to Thread
Results 1 to 5 of 5

Using Index/Match Function for a Weighted Average Formula Depending on Instance Returned?

  1. #1
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Using Index/Match Function for a Weighted Average Formula Depending on Instance Returned?

    So I use the Index/Match function to look up certain values based on certain text. Now, what I want to do is based on a certain text, create a weighted average formula that will multiply a higher weight such as 0.5 to the number returned by the first match of the formula, then multiply a smaller weight such as 0.25 to the second number matched.

    Is it possible to do this in excel? Can excel skip the 1st match of a text and move on to the second match and return that value instead?

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

    Re: Using Index/Match Function for a Weighted Average Formula Depending on Instance Return

    Post a sample workbook with examples of what you want to achieve, then we can work out if it can be done.

    Pete

  3. #3
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: Using Index/Match Function for a Weighted Average Formula Depending on Instance Return

    Book3.xlsx

    Ok so this book provides a sample of the data.

    So say I want to match the word "Toronto"

    So excel will find the first match in cell B20. Then I want to take the corresponding number in H20. I want to assign a weight to that number say 0.5. Then I would like excel to move on to the next match of "Toronto" in cell B51. Then again take the corresponding number in H51 and assign a different weight such as 0.25 to that number. And continue on as I would like.

    Can excel do this?

  4. #4
    Forum Contributor
    Join Date
    12-29-2012
    Location
    usa
    MS-Off Ver
    Excel 2016
    Posts
    325

    Re: Using Index/Match Function for a Weighted Average Formula Depending on Instance Return

    Any ideas if its possible?

  5. #5
    Registered User
    Join Date
    10-28-2008
    Location
    Turkey
    Posts
    88

    Re: Using Index/Match Function for a Weighted Average Formula Depending on Instance Return

    .

    Your file attached.

    .
    Attached Files Attached Files

+ 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: 10
    Last Post: 08-19-2013, 11:33 AM
  2. find 2nd instance of a duplicated value in an index/match formula?
    By Bobbo Jones in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 06-14-2013, 09:42 AM
  3. Index/Match formula to find average.
    By whitehead6682 in forum Excel General
    Replies: 11
    Last Post: 11-17-2011, 03:02 PM
  4. Average All Values Returned by Index?
    By dracogram in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2010, 02:39 PM
  5. Replies: 7
    Last Post: 03-26-2009, 12:13 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