I use formula "=UNIQUE(Sheet2!A1:A172;Sheet2!A:A;TRUE)" in Excel. It returns me an…
- User
I use formula "=UNIQUE(Sheet2!A1:A172;Sheet2!A:A;TRUE)" in Excel. It returns me an error: "A value used in formula is of a wrong datatype". How to fix?
- Assistant
Here’s what’s happening: UNIQUE’s signature is
codeUNIQUE( array ; [by_col] ; [exactly_once] )You passed two ranges as the first two arguments, so Excel tried to coerce your second range (Sheet2!A:A) into a Boolean and blew up on the “wrong datatype.”
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.