+ Reply to Thread
Results 1 to 3 of 3

plz help me to under ROW() inside index function, thx

  1. #1
    Registered User
    Join Date
    10-17-2022
    Location
    toronto
    MS-Off Ver
    2021
    Posts
    40

    plz help me to under ROW() inside index function, thx

    I am trying to understand this formula (below) found in an finanical stmt, and I don't understand it, hopefully someone has patient to disect this formula and help me to understand, thx.


    =+@INDEX(GPN!$B$1:$AA$39,ROW(),C$2) - The return cell value is in K13
    =+@INDEX(GPN!$B$1:$AA$39,ROW(),D$2) - The return cell value is in X13
    =+@INDEX(GPN!$B$1:$AA$39,ROW()+5,C$2) -

    1. What does the =+@ do in the first formula? it gives the same result without it.

    2. How does the row() work inside index()? I don't understand why the return cell is K13 or X13

    =+@INDEX(GPN!$B$1:$AA$39,ROW()+5,C$2)

    3. what does the +5 do?
    Last edited by fatkinglet; 10-23-2022 at 08:28 AM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: plz help me to under ROW() inside index function, thx

    Im pretty sure that +@ is redundant/not necessary, probably a hang over from Quatro or some other spreadsheet program

    ROW() returns the row number that it resides in. In that formula, it will increase as the formula is copied down.. That is not what is causing the K13 or X13 return, that would be from whatever is ion C2 or D2
    Try it on it's own and see for yourself.

    The +5 is just adding 5 to the (returned) row number
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: plz help me to under ROW() inside index function, thx

    Thanks for the feedback

+ 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] Please help get INDIRECT inside INDEX to function across different worksheets
    By Silent_Broccoli_Dish in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-06-2021, 02:46 PM
  2. Replies: 5
    Last Post: 05-08-2020, 05:40 PM
  3. Nesting and Index and Match function inside an IF function
    By breckleeb in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-29-2016, 11:06 AM
  4. [SOLVED] Problems with multiple matches inside an index-function
    By Sidehosw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2014, 07:53 AM
  5. Choosing Name Range inside Index / Match Function
    By gallow in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-05-2012, 07:08 AM
  6. [SOLVED] Using ROW function inside of both an Indirect and Index function returns #VALUE
    By xandermacleod in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-11-2012, 06:22 PM
  7. Index/Match function inside an array
    By tittiot in forum Excel General
    Replies: 2
    Last Post: 01-20-2010, 09:48 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