You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @af-engineering, thanks for your feedback, which version of the Excelize are you using? Please try to use the master branch code. The SORT function is one of several beta features, and currently only available to a portion of Office Insiders at this time.
Hi @af-engineering, try to using =_xlfn.TEXTJOIN(", ", TRUE, _xlfn.UNIQUE(_xlfn._xlws.SORT(C11:C88))) in the SetCellFormula function, I have tested and it works well. If not, please provide file attachments without sensitive info, and version of your Excel application.
Formula:
=TEXTJOIN(", ", TRUE, UNIQUE(SORT(C11:C88)))
If I set this formula in Excel, unzip the xlsx file and look at the sheet XML, I see
<f>_xlfn.TEXTJOIN(", ", TRUE, _xlfn.UNIQUE(_xlfn._xlws.SORT(C11:C88)))</f>
If I set the same formula using Excelize, I see
<f>=TEXTJOIN(", ", TRUE, UNIQUE(SORT(C11:C88)))</f>
There may be other differences elsewhere that also effects this.
The text was updated successfully, but these errors were encountered: