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

Using CHOOSECOLS + FILTER to return only specific columns

Hi all,Sharing a small dynamic-array trick using CHOOSECOLS + FILTER.Say you have a table TableData with columns: ID, Name, Department, Location, Salary.You can filter by Department and Location, and return only Name and Salary like this: =CHOOSECOLS( FILTER( TableData, (TableData[Department]=G1) * (TableData[Location]=G2) ), 2, 5 ) G1 = Department, G2 = Location, and 2, 5 are the column numbers (Name, Salary) in the filtered spill.Anyone else using CHOOSECOLS in interesting ways?Do you want me to also add a tiny data example in the post so it’s clearer for people replying?

submitted by /u/Amolk505
[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
#rows.com
#natural language processing for spreadsheets
#big data management in spreadsheets
#conversational data analysis
#Excel compatibility
#real-time data collaboration
#financial modeling with spreadsheets
#intelligent data visualization
#data visualization tools
#enterprise data management
#big data performance
#Excel alternatives
#data analysis tools
#data cleaning solutions
#CHOOSECOLS
#FILTER
#dynamic-array
#Department