•1 min read•from Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community
CHOOSECOLS gives Value error with Structured References
Maybe a dumb question but I’ve only recently begun experimenting with smart tables. Right now I am trying to perform a CHOOSECOLS on a table. It works when I just hard-code the column numbers into the formula, but if I try using structured references I get the Value error.
So basically:
= CHOOSECOLS( Table1, 3, 20)
Works fine.
= CHOOSECOLS(Table1, Table1[CategoryD], Table1[CategoryP])
Gives Value Error. I also tried:
= CHOOSECOLS(Table1, Table1[[#All],CategoryD]], Table1[[#All],[CategoryP]])
Also gives value error.
Can anyone explain my error?
[link] [comments]
Want to read more?
Check out the full article on the original site
Tagged with
#rows.com
#financial modeling with spreadsheets
#AI formula generation techniques
#Excel compatibility
#Excel alternatives for data analysis
#no-code spreadsheet solutions
#formula generator
#Excel alternatives
#CHOOSECOLS
#Value error
#Table1
#structured references
#smart tables
#table
#Excel
#CategoryD
#CategoryP
#hard-code
#formula
##All