Forum Discussion
Amanda535
Jul 09, 2020Copper Contributor
Need to calculate based on values from two separate drop down Lists
list of 16 cars, 16 brands and 16 different prices. I have a main sheet with my data, a second sheet with the table containing the drop down lists. My formula spills. I cannot for the life of me figu...
SergeiBaklan
Jul 20, 2020Diamond Contributor
That could be
=IFNA(INDEX('Main Sheet'!$A$4:$Q$20,
MATCH([@[From ]], 'Main Sheet'!$A$4:$A$20,0),
MATCH([@To],'Main Sheet'!$A$4:$Q$4,0)),0)
Amanda535
Jul 20, 2020Copper Contributor
You guys are the absolute best! I didnt even try the match thanks so much for you help. Now I'll never forget it
- SergeiBaklanJul 20, 2020Diamond Contributor
You are welcome.
If continue mathetes idea, you may name range with Mileage Matrix let say as MileageMatrix, when formula could be
=IFNA(INDEX( MileageMatrix, MATCH([@[From ]],INDEX(MileageMatrix,0,1),0), MATCH([@To],INDEX(MileageMatrix,1,0),0) ),0)