Compatibility error on older versions -Unique formula

%3CLINGO-SUB%20id%3D%22lingo-sub-3179901%22%20slang%3D%22en-US%22%3ECompatibility%20error%20on%20older%20versions%20-Unique%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3179901%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Any%20help%20at%20all%20please%3F%3C%2FP%3E%3CP%3E%26nbsp%3BI%20have%202%20computer%20with%20Microsoft%20Office.%20One%20has%20Business%202019%20(at%20home)%20and%20the%20other%20is%20365%20(at%20work)%20On%20the%20new%20one%20I%20created%20an%20XL%20containing%20some%20unique%20formulas%20on%20Materials%2C%20picked%20from%20but%20from%20the%20Orders%20tab%2C%20however%20when%20I%20emailed%20it%20to%20myself%20and%20opened%20it%20on%20the%20newer%20one%20it%20messed%20the%20formulas%20and%20took%20me%20over%20a%20week%20to%20realize%20that%20they%20are%20not%20compatible!%3C%2FP%3E%3CP%3EI%20need%20to%20be%20able%20to%20use%20this%20on%20both%20machines.%20I've%20tried%20saving%20the%20XL%20in%20other%20versions%20like%2097-2003%2C2010%2C2013%20but%20there%20are%20so%20may%20incompatible%20errors%20flagging%20up%20it%20doesn't%20work%2C%20and%20then%20also%20it%20wont%20update%20my%20workbook%20to%20the%20latest%20version.%20I'm%20after%20either%20some%20help%20on%20a%20formula%20that%20will%20work%20on%20both%20versions.%20The%20current%20formula%20on%20the%20365%20works%20perfectly%20%3D%3C%2FP%3E%3CP%3E%3DUNIQUE(Orders!C2%3AC534)%20however%26nbsp%3B%20on%20downloading%20to%20the%20other%20computer%3C%2FP%3E%3CP%3E%7B%3DUNIQUE(Orders!C2%3AC534)%7D%20or%3C%2FP%3E%3CP%3E%3D_xlfn.UNIQUE(Orders!C2%3AC534)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20could%20have%20the%20same%20version%20on%20both%2C%20their%20wouldn't%20be%20an%20issue%2C%20however%20I%20can't%20do%20this%2C%20plus%20it%20will%20used%20by%20possible%20another%20locations%2C%20so%20it%20needs%20to%20suit%20all.%20I%20cannot%20imagine%20that%20anyone%20has%20an%20older%20version%20that%202019%2C%20so%20as%20long%20as%20it%20works%20on%20that%20or%20higher%2C%20then%20that's%20great.%3C%2FP%3E%3CP%3EThank%20you!%20%3Acrossed_fingers%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3179901%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3179958%22%20slang%3D%22en-US%22%3ERe%3A%20Compatibility%20error%20on%20older%20versions%20-Unique%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3179958%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1255674%22%20target%3D%22_blank%22%3E%40Zed69%3C%2FA%3E%26nbsp%3BUNIQUE%20is%20supported%20by%20the%20following%20versions.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202022-02-17%20at%2017.59.51.png%22%20style%3D%22width%3A%20582px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F349120i84766752D4CD231C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Screenshot%202022-02-17%20at%2017.59.51.png%22%20alt%3D%22Screenshot%202022-02-17%20at%2017.59.51.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EExcel%202019%20is%20NOT%20one%20of%20them.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3182746%22%20slang%3D%22en-US%22%3ERe%3A%20Compatibility%20error%20on%20older%20versions%20-Unique%20formula%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3182746%22%20slang%3D%22en-US%22%3EYep%20I%20as%20mentioned%2C%20I%20realized%20that%20a%20few%20days%20ago%2C%20but%20isn't%20there%20another%20formula%20that%20is%20compatible%20with%20both%20versions%20that%20can%20give%20me%20the%20same%20result%20please%3F%20I%20basically%20want%20to%20compile%20a%20list%20of%20items%20on%20the%202nd%20tab%20ignoring%20any%20duplicates%2C%20thanks%3C%2FLINGO-BODY%3E
New Contributor

Hi Any help at all please?

 I have 2 computer with Microsoft Office. One has Business 2019 (at home) and the other is 365 (at work) On the new one I created an XL containing some unique formulas on Materials, picked from but from the Orders tab, however when I emailed it to myself and opened it on the newer one it messed the formulas and took me over a week to realize that they are not compatible!

I need to be able to use this on both machines. I've tried saving the XL in other versions like 97-2003,2010,2013 but there are so may incompatible errors flagging up it doesn't work, and then also it wont update my workbook to the latest version. I'm after either some help on a formula that will work on both versions. The current formula on the 365 works perfectly =

=UNIQUE(Orders!C2:C534) however  on downloading to the other computer

{=UNIQUE(Orders!C2:C534)} or

=_xlfn.UNIQUE(Orders!C2:C534)

 

If I could have the same version on both, their wouldn't be an issue, however I can't do this, plus it will used by possible another locations, so it needs to suit all. I cannot imagine that anyone has an older version that 2019, so as long as it works on that or higher, then that's great.

Thank you!

 

7 Replies

@Zed69 UNIQUE is supported by the following versions.

Screenshot 2022-02-17 at 17.59.51.png

Excel 2019 is NOT one of them.

Yep I as mentioned, I realized that a few days ago, but isn't there another formula that is compatible with both versions that can give me the same result please? I basically want to compile a list of items on the 2nd tab ignoring any duplicates, thanks

@Zed69 My apologies! I misread your initial post and thought you were looking for a way to get the UNIQUE function working in older version.

 

Google for "alternative unique excel" and you'll find various sources that explain how to do it. You'll use a combination of IFERROR, INDEX, MATCH and COUNTIF, 

 

@Zed69 Or perhaps a few pivot tables could help generate the unique lists for you. See attached.

 

@Zed69 

 

Two formula examples attached. But, I don't think XL 2019 has dynamic array, so the formulas won't spill the results. Therefore, you have to copy them down the column until you get an error (or, use Iferror to display something different). I also converted Orders to use a structured table (as the table size changes, the formula range references don't need changed).

 

I don't know enough about power query to say for sure it's possible, but you might look around to see if this is something it could do?

@JMB17 Good point on PQ. Added it to your file. Not at all that difficult.

 

Thank you. I thought it could do it, but wasn't entirely sure if there would be any compatibility issues. Seems to work fine on my machine, which is 2016, so appears to be an option.

Also, I noticed a slight error in one of the example formulas where an empty cell in the table generates an error. Corrected:
=INDEX(Orders[Item],SMALL(IF(MATCH(Orders[Item]&"",Orders[Item]&"",0)=ROW(Orders[Item])-ROW(Orders[[#Headers],[Item]]),ROW(Orders[Item])-ROW(Orders[[#Headers],[Item]]), ""), ROWS(F$2:F2)))

But, for the OP, I would look at the pivot table/power query first - I think those would be much easier to maintain and update than a formula that doesn't spill.