ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Mergeing two Arrays (https://www.excelbanter.com/excel-programming/278321-re-mergeing-two-arrays.html)

merjet

Mergeing two Arrays
 
How about putting both arrays in one column of a
worksheet, sorting it, then copying the column to
the final array.

HTH,
Merjet

Has anyone got any sample code for merging two sorted one
dimensional arrays
into one sorted new one?

e.g.

A1 = (2, 4, 6, 8)
A2 = (2, 3, 4, 9, 10)

RESULT = (2, 3, 4, 6, 8, 9, 10)






All times are GMT +1. The time now is 06:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com