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

Is it possible to rewrite this formula to not have to retype every xlookup?

Example data and intended result

For the data in C2:G12 I need to find the corresponding percentages of X,Y,Z for each of A:D and then add them all together for each year. Ideally I'd like to simplify this formula since in some cases I have up to 20 columns to retrieve the components for.

I've tried =BYCOL(D2:G2,LAMBDA(x, XLOOKUP(x,$I$2:$I$5,$J$2:$L$5,,0))) but I receive a CALC error and I'm really not experienced with using LAMBDA in excel in this way. Unfortunately I cannot use VBA for this particular problem.

submitted by /u/Caconym32
[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
#generative AI for data analysis
#natural language processing for spreadsheets
#big data management in spreadsheets
#conversational data analysis
#Excel compatibility
#real-time data collaboration
#intelligent data visualization
#data visualization tools
#enterprise data management
#big data performance
#Excel alternatives
#data analysis tools
#data cleaning solutions
#AI formula generation techniques
#rows.com
#formula generator
#financial modeling with spreadsheets
#XLOOKUP
#LAMBDA
Is it possible to rewrite this formula to not have to retype every xlookup?