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?

Our take

Are you looking to simplify your Excel formulas when using XLOOKUP? If you need to retrieve corresponding percentages for multiple columns—up to 20, in some cases—it's essential to streamline your approach. In this scenario, you're encountering a CALC error with your current use of the BYCOL and LAMBDA functions. While VBA isn't an option, there are alternative strategies to help you efficiently aggregate your data across years. Let's explore possible solutions that can enhance your formula and simplify your workflow without unnecessary complexity.

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]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

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