LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 3
Default Need help with a complicated macro (code change)

Goodday

Hope someone can help me with the following macro. This is what I hope to get achieved. Column A I have numbers repeat numbers aswell thats assigned to Column B Column B I have numbers 1-45 aswell thats assigned to Column A. In the following Macro what do I need to change so that the odd even get work out on column B instead of Column A as the range is set on Column A BUT very important Now for the tricky part


I have a target Sum that's my aim to get to an array Combination's in column F. My aim is to list all available combination's 3 evens 3 odds that's equaled to the target sum But the target sum must be worked out with 6 combination's from Column A to give me the result of 58. The answer I am hoping to achieve is 13 18 24 39 43 4 from Column B for an total of 3 odds 3 evens but the formula can list all combination's that's 3 odds 3 evens that's equals to 58. So the odds evens must be set with column B but the total 58 must be set with all available combination's 6 of them to equal 58. What do I need to change in the code to achieve the results ? Any help greatly appreciated.

Gman41

Sample attached
Attached Files
File Type: zip Sample.zip (72.3 KB, 46 views)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with a very complicated For each Next code Ayo Excel Programming 5 August 25th 09 06:34 PM
Complicated Lookup Code dkk Excel Programming 2 March 12th 09 01:11 PM
complicated change to formula (conintuous) theredspecial Excel Programming 5 December 27th 07 02:33 PM
Help needed with Complicated code (For me !!) Les Excel Programming 8 July 9th 07 02:28 PM
Can I use code/macro to change code/macro in an existing file? Scott Bedows Excel Programming 2 February 14th 07 05:50 AM


All times are GMT +1. The time now is 07:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"