+ Reply to Thread
Results 1 to 8 of 8

INDEX/MATCH with columns containing formulas

  1. #1
    Registered User
    Join Date
    03-04-2017
    Location
    NY, NY
    MS-Off Ver
    2016
    Posts
    18

    INDEX/MATCH with columns containing formulas

    Most examples of how to use INDEX/MATCH involve a table of straight up data. What I want to do is find the first occurrence of zero in a column and return the number from another column.

    This is an amortization table.

    My column A is a number value for the months. Column G is the ending balance for that month, which is a simple formula that subtracts the principal and extra payments from the beginning balance. (ex. =B6-(E6+F6))

    I want to use INDEX/MATCH to find the first time in column G that the result is zero, and then return the corresponding month number from column A.

    My attempt was =INDEX(A6:A366,MATCH(0,G6:G365,0)) which returns #N/A because I think it looks for 0 and instead finds formulas in column G.

    How do I properly rewrite this?
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Tambe257; 10-12-2019 at 04:14 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: INDEX/MATCH with columns containing formulas

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: INDEX/MATCH with columns containing formulas

    Please verfiy , your first 0 data is in cell G366 or not.

    If yes, your range in MATCH is not reach that cell.


    Regards.

  4. #4
    Registered User
    Join Date
    03-04-2017
    Location
    NY, NY
    MS-Off Ver
    2016
    Posts
    18

    Re: INDEX/MATCH with columns containing formulas

    Thanks for the feedback. I attached the file for your reference.
    Quote Originally Posted by alansidman View Post
    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  5. #5
    Registered User
    Join Date
    03-04-2017
    Location
    NY, NY
    MS-Off Ver
    2016
    Posts
    18

    Re: INDEX/MATCH with columns containing formulas

    No. I have attached a copy of the file for your reference. The first occurrence of zero is G126.

    Quote Originally Posted by menem View Post
    Please verfiy , your first 0 data is in cell G366 or not.

    If yes, your range in MATCH is not reach that cell.


    Regards.

  6. #6
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: INDEX/MATCH with columns containing formulas

    G126 does NOT equal 0, it equals: 0.000911986, as does each row below that...

    It has to do with your calculation in column D, multiplying by 0.003645833. Fix that and your problem should solve itself.

    - Moo

  7. #7
    Registered User
    Join Date
    03-04-2017
    Location
    NY, NY
    MS-Off Ver
    2016
    Posts
    18

    Re: INDEX/MATCH with columns containing formulas

    Got it. Rookie mistake. I should have known better. Thanks

    Quote Originally Posted by Moo the Dog View Post
    G126 does NOT equal 0, it equals: 0.000911986, as does each row below that...

    It has to do with your calculation in column D, multiplying by 0.003645833. Fix that and your problem should solve itself.

    - Moo

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,865

    Re: INDEX/MATCH with columns containing formulas

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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: 4
    Last Post: 04-14-2017, 07:47 PM
  2. Help with Index and Match formulas...
    By Setheroth in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2015, 10:34 PM
  3. [SOLVED] Index/Match Formulas
    By Nuccio92 in forum Excel General
    Replies: 1
    Last Post: 07-06-2015, 07:24 PM
  4. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  5. [SOLVED] Match Issue - Consolidate Columns of Data With Match/Index/etc?
    By excelsior123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-03-2014, 05:14 PM
  6. INDEX / Match formulas
    By Sophster in forum Excel General
    Replies: 7
    Last Post: 03-11-2011, 01:21 PM
  7. index and match formulas
    By bstormes in forum Excel General
    Replies: 1
    Last Post: 04-23-2010, 01:28 PM

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