• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

why offset formula displays '0'

arifanmol

Member
plz read the content in attached worksheet and revert to me for a charming smile !!!
 

Attachments

  • Why offset result is 0.xlsx
    9.8 KB · Views: 9
Address and MATCH function tell the formula to look in G9. Then you told it to offset 2 rows in the first OFFSET function, landing you on G11. Then you told the outer OFFSET to go down 1 row and over 2 columns, landing you in I12, which is a blank cell. Thus, the value is 0.

Overall, this is a very clunky and volatile function. I'm not sure what the overall goal was. If it's to find the value in col G that's 2 below the Subtotal line:

=INDEX(G:G, MATCH("Subtotal", F:F, 0)+2)
 
first find 'subtotal from whole worksheet, then go to right, there sum range : 1st cell to cell just above =INDEX(G:G, MATCH("Subtotal", F:F, 0)
then come back automatically to cell under it then use this formula =INDEX(G:G, MATCH("Subtotal", F:F, 0)+2)
 
Back
Top