1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Fixing inconsistent results in INDEX-MATCH formula when lookup values repeat

Hi everyone, I’m working with a dataset where I need to return a price based on both Product and Region, but my current INDEX+MATCH formula only matches the first occurrence and gives the wrong result when values repeat; for example, with data like Apple-East-10, Apple-West-12, Orange-East-8, Orange-West-9, when my lookup inputs are Product = Apple and Region = West, my formula =INDEX(C2:C5,MATCH(A9,A2:A5,0)) returns 10 instead of 12 because it only checks the first match; so far I’ve tried adding a helper column combining Product and Region, experimenting with nested MATCH, and attempting XLOOKUP, and I also reviewed a detailed Excel functions guide online to better understand lookup logic and why this happens (spreadsheetpoint), but I still haven’t found a clean formula solution that handles multiple criteria without helper columns, so I’m looking for a correct formula approach that will return 12 for this case.

submitted by /u/_GlamGoddess
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#Excel alternatives for data analysis
#AI formula generation techniques
#generative AI for data analysis
#natural language processing for spreadsheets
#financial modeling with spreadsheets
#Excel compatibility
#rows.com
#big data management in spreadsheets
#conversational data analysis
#large dataset processing
#cloud-based spreadsheet applications
#real-time data collaboration
#intelligent data visualization
#INDEX-MATCH
#lookup values
#Product
#Region
#formula solution
#correct formula
#dataset