Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 5
Default VBA to find largest total of ANY two values

Good morning,

I have a list of percentage values in a column (totalling 100%). I have to run 3 specific tests against this data set:

1) Find the highest sum total of ANY two values, returning the total and the two values that make up the total.

2) Find the highest sum total of ANY three values, returning the total and the three values that make up the total.

3) Find the highest sum total of ANY four values, returning the total and the four values that make up the total.

Is there some VBA magic to look at data sets in this way?

Many thanks in advance from a first time poster!
Reply
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
Find the fewest values to equal a set total Chris Excel Discussion (Misc queries) 5 August 24th 09 05:36 PM
How to find the largest change of values in a column Ravager Excel Worksheet Functions 5 August 11th 06 07:00 PM
find largest values, then return corresponding row values. neurotypical Excel Discussion (Misc queries) 7 May 24th 06 10:27 PM
How to find the largest product of an array of values? ryesworld Excel Worksheet Functions 3 December 2nd 05 06:09 PM
Find the two lowest values and subtract them from a total speedy18 Excel Programming 3 February 23rd 04 08:28 PM


All times are GMT +1. The time now is 11:21 PM.

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

About Us

"It's about Microsoft Excel"