Forum Discussion

brady's avatar
brady
Copper Contributor
Apr 24, 2018

INDEX MATCH

Hi,

 

I am trying to write a formula based on 3 different types of variables. I started by using an extremely long If(and statement and eventually excel wouldn't let me keep going. You can see what I was typing in the sheet I attached.

 

I believe that I need to use Index / Match for the 3 variables but I'm not sure how to write it. Basically, I want to calculate the Sale price in column CH based on the city (column i), story (column BE), and bedrooms (column R). When these 3 variables match the variables in the assumptions tab I want the value in the assumptions tab to multiply by the square footage (column BA) in the sold tab. 

 

Let me know if this makes sense and how to do this! Thanks  

    • brady's avatar
      brady
      Copper Contributor

      Thank you this worked well for me.

  • Detlef_Lewin's avatar
    Detlef_Lewin
    Silver Contributor

    Brady,

     

    =SUMPRODUCT(CHOOSE(BE2,assumptions!$C$4:$I$7,assumptions!$C$10:$I$13)*(assumptions!$B$4:$B$7=R2)*(assumptions!$C$3:$I$3=I2))*BA2

Resources