+ Reply to Thread
Results 1 to 5 of 5

Index function works in the first row but not the others

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-25-2013
    Location
    türkiye
    MS-Off Ver
    Excel 2021
    Posts
    130

    Index function works in the first row but not the others

    Index-small function runs ın the first row of the table, but when I copy paste it downward it crahes. Why?
    I appriciate for your help.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Index function works in the first row but not the others

    You have not entered the formulae correctly. Each one needs entering by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Once this is done for all the formulae, you can drag copy them down.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,380

    Re: Index function works in the first row but not the others

    I could be misunderstanding what you are trying to do, but it looked to me like these should be array functions rather than regular functions. I went through row3, pressed F2 (to enter edit mode), and reconfirmed the functions with ctrl-shift-enter. Also, I noticed that the formulas in column A were using a couple of relative references where the other columns were using absolute references, so I changed those to absolute references. With those two changes, I could copy row 3 down to row 9 and the result looked just like your "result should be" table below. Is it as simple as changing these to array functions?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Forum Contributor
    Join Date
    10-25-2013
    Location
    türkiye
    MS-Off Ver
    Excel 2021
    Posts
    130

    Re: Index function works in the first row but not the others

    Thank you AliGW and MrShorty. I tried what you said thousands of time (I mean making the formula an ARRAY FORMULA by pressing CTRL+SHIFT+ENTER) up to his moment but I could not get the result. But now it is OK. I did not understand why it is so. Thank you very much.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,480

    Re: Index function works in the first row but not the others

    Glad to have 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. [SOLVED] This formula works but I don´t understand why Index(Index) match
    By campelliann in forum Excel General
    Replies: 2
    Last Post: 01-25-2016, 05:55 PM
  2. [SOLVED] Index formula works...but why? What is each part of the function doing?
    By FivestarMac in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-16-2014, 02:36 PM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Replies: 3
    Last Post: 12-13-2013, 08:42 AM
  5. INDEX function works in cell but not in VBA
    By MileHiMark in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 10:47 AM
  6. Index function ALMOST works!
    By moxnix in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2009, 04:58 PM
  7. Replies: 113
    Last Post: 09-06-2005, 09: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