Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Zab Zab is offline
external usenet poster
 
Posts: 20
Default re-visit old question

i hope i can explain this better than i did before. after reading my old post
i can see i was not clear at all. what i am trying to do is take this group
of numbers below and make groups not exceeding 168.
main group
23.5
23.5
30.883
30.883
30.883
30.883
37.383
37.383
43.411
43.411
47
48
49.876
50.646
50.883
50.883
50.883
50.883
50.883
50.883
50.883
50.883
55.383
55.383
59.5
90

below is an example of what i want using the numbers above.
groups of 168 or less total
50.883 + 50.883 + 50.883 = 152.649
50.883 + 50.883 + 50.883 = 152.649
48 + 43.411 + 30.883 + 30.883 = 153.177
55.383 + 50.883 + 50.883 = 157.149
50.646 + 47 + 43.411 + 23.5 = 164.557
59.5 + 55.383 + 49.876 = 164.759
90 + 37.383 + 37.383 = 164.766
30.883 + 30.883 + 23.5 = 85.266


--
Thank You in advance, Zab
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default re-visit old question

On Apr 28, 9:56*am, Zab wrote:
i hope i can explain this better than i did before. after reading my old post
i can see i was not clear at all. what i am trying to do is take this group
of numbers below and make groups not exceeding 168.
main group
23.5
23.5
30.883
30.883
30.883
30.883
37.383
37.383
43.411
43.411
47
48
49.876
50.646
50.883
50.883
50.883
50.883
50.883
50.883
50.883
50.883
55.383
55.383
59.5
90

below is an example of what i want using the numbers above.
*groups of 168 or less * * * * * *total
50.883 + 50.883 + 50.883 = 152.649
50.883 + 50.883 + 50.883 = 152.649
48 + 43.411 + 30.883 *+ 30.883 = 153.177
55.383 + 50.883 + 50.883 = 157.149
50.646 + 47 + 43.411 + 23.5 = 164.557
59.5 + 55.383 + 49.876 = 164.759
90 + 37.383 + 37.383 = 164.766
30.883 + 30.883 + 23.5 = 85.266

--
Thank You in advance, Zab


Any one number: 26 results
Any combination of any two numbers: 26*25 = 650 results
Many combinations of three numbers: approx. 6,000 results or so

Are you sure you want a list 7k records long?

HTH

Chris

  #3   Report Post  
Posted to microsoft.public.excel.programming
Zab Zab is offline
external usenet poster
 
Posts: 20
Default re-visit old question

i'm sorry for not stating that i need only 1 result, the best result with
the fewest groups of 168 or less.
--
Zab


"cht13er" wrote:

On Apr 28, 9:56 am, Zab wrote:
i hope i can explain this better than i did before. after reading my old post
i can see i was not clear at all. what i am trying to do is take this group
of numbers below and make groups not exceeding 168.
main group
23.5
23.5
30.883
30.883
30.883
30.883
37.383
37.383
43.411
43.411
47
48
49.876
50.646
50.883
50.883
50.883
50.883
50.883
50.883
50.883
50.883
55.383
55.383
59.5
90

below is an example of what i want using the numbers above.
groups of 168 or less total
50.883 + 50.883 + 50.883 = 152.649
50.883 + 50.883 + 50.883 = 152.649
48 + 43.411 + 30.883 + 30.883 = 153.177
55.383 + 50.883 + 50.883 = 157.149
50.646 + 47 + 43.411 + 23.5 = 164.557
59.5 + 55.383 + 49.876 = 164.759
90 + 37.383 + 37.383 = 164.766
30.883 + 30.883 + 23.5 = 85.266

--
Thank You in advance, Zab


Any one number: 26 results
Any combination of any two numbers: 26*25 = 650 results
Many combinations of three numbers: approx. 6,000 results or so

Are you sure you want a list 7k records long?

HTH

Chris


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default re-visit old question

"Zab" wrote in message
...

i hope i can explain this better than i did before. after reading my old
post
i can see i was not clear at all. what i am trying to do is take this
group
of numbers below and make groups not exceeding 168.


You mean where the SUM of the numbers is less than 168? Because "groups not
exceeding 168" means "not exceeding 168 MEMBERS" to me....


  #5   Report Post  
Posted to microsoft.public.excel.programming
Zab Zab is offline
external usenet poster
 
Posts: 20
Default re-visit old question

yes their sum needs to be less than 168 just as i have shown in the example
above.
--
Zab


"Jeff Johnson" wrote:

"Zab" wrote in message
...

i hope i can explain this better than i did before. after reading my old
post
i can see i was not clear at all. what i am trying to do is take this
group
of numbers below and make groups not exceeding 168.


You mean where the SUM of the numbers is less than 168? Because "groups not
exceeding 168" means "not exceeding 168 MEMBERS" to me....





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
Visit Calculation kashish Excel Worksheet Functions 2 May 13th 09 02:47 PM
Formula help! counting one visit clients Jman Excel Discussion (Misc queries) 7 October 21st 08 05:01 AM
Identifying the last visit Sarah (OGI) Excel Worksheet Functions 2 August 1st 07 03:12 PM
Re : Excel Experts E-letter (No. 19, Re-Visit) ; POWER FORMULA TECHNIQUES [email protected] Excel Programming 0 May 13th 05 02:14 PM


All times are GMT +1. The time now is 04:28 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"