Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-17-2017, 01:10 AM
kleanthis1 kleanthis1 is offline Copy, sort, remove doubles, Cartesian product Windows 8 Copy, sort, remove doubles, Cartesian product Office 2013
Novice
Copy, sort, remove doubles, Cartesian product
 
Join Date: Jul 2017
Posts: 7
kleanthis1 is on a distinguished road
Default Copy, sort, remove doubles, Cartesian product

Hello,


After running several macros (more than 10) I come up with data like the ones that you see on the attached file. The output data is not the same every time, meaning that I may have 10 records one day, and 100 records on another day.

What I want is:

A macro or VBA that does all of the following:

1) Copy ALL from column A to a new sheet8 at column H.
2) Sort (ascending) and keep one number if there are doubles (remove doubles if any) at H column. If I have 55 twice, I want only one to be kept.
3) If it is possible I want the doubles to be shown on the next column I because they play significant role later in other macros
4) copy all the data between degrees 0 to 70 to the previous column G
5) Copy the same data beneath on column G but multiplied by minus. If 5 degrees were copied from H column, the G column will have 10 degrees. 5 positive and 5 negative.
6) at H column all the degrees to be copied beneath but multiplied by minus.
7) at A column I want the Cartesian Product of all the data from G and H column.

That's all!!!! Any help will be much appreciated !!!! Thank you in advance!!!
Attached Images
File Type: jpg AKIS.jpg (143.3 KB, 16 views)
Reply With Quote
 

Tags
cartesian product, copy, sort



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy, sort, remove doubles, Cartesian product Remove the * from the SubCate, Custom Sort, Replace..Help Please - I need. Thanks shilabrow Excel Programming 2 07-10-2014 11:09 AM
Copy, sort, remove doubles, Cartesian product How can I avoid doubles? s7y Excel 13 05-15-2012 01:17 PM
Copy, sort, remove doubles, Cartesian product Mail Merge Doubles My Document ExecAssist Mail Merge 1 02-27-2012 04:06 PM
How to remove background when copy and paste, no fill doesn't work. mingo Word 1 07-29-2010 02:25 PM
installing copy of XP prof. without product # vicky Office 0 04-09-2006 07:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:41 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft