I have a list of data (with a header) on a sheet called "DataSheet".
I'm looking to get a list of all unique values in Column C (ignoring the header) on DataSheet and put them vertically into Column 16 (starting at Row 2) on a sheet called "Divide".
I originally used:
Sheets("Divide").Cells(2, 16).Formula2 = "=UNIQUE(FILTER(Ledger!C2:C25000,DataSheet!C2:C25000<>" & Chr(34) & Chr(34) & "))"
to put a Dynamic Range formula into the first cell (2,16) on the Divide Sheet, but found that Formula2 isn't backwards compatible with Excel 2019 and prior.
Is there another way to do this with VBA?
Thanks!