Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools
Author
Thread Post New Thread    Reply
AutoBahned
 
RWebb's Avatar
 
Join Date: Jul 2007
Location: Greater Metropolitan Nimrod, Orygun
Posts: 55,993
Garage
Quote:
Originally Posted by island911 View Post
but he wants an Al Gore rhythm here.
for the poorly educated among you (like Islet) my al Gebra post was pun on the fact that we inherited algebra from the Arabs

they developed it during the peak of their civilization, ~~ 1,000 AD

Old 11-30-2010, 12:44 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #21 (permalink)
Registered
 
Paco Anton's Avatar
 
Join Date: May 2002
Location: Madrid, Spain
Posts: 774
Garage
Send a message via Yahoo to Paco Anton
Post the 25 numbers and the amount paid and we'll figure it out.
__________________
Paco Anton

83 SC Targa (Euro)
Old 11-30-2010, 12:48 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #22 (permalink)
AutoBahned
 
RWebb's Avatar
 
Join Date: Jul 2007
Location: Greater Metropolitan Nimrod, Orygun
Posts: 55,993
Garage
I agree with doing some manual "prototypes" of this in Excel.

There is indeed a min. set that will satisfy your criteria & I don't think it will be in the millions. real issue is how many min. sets are there?

why not sort the 25 entries from largest to smallest; then copy the smallest 24 to a new worksheet; then copy 23... etc.

work back from there & rule out the small #'s - that should give at least one result

if not, keep track of it, and add back the biggest #, drop the 2nd biggest;

Lather/Rinse/Repeat

it's a weird Q. for me right now b/c I'm reading a book on Richard Feynmann and how when he was at Los Alamos, they set up "circles of girls on calculating machines" and ran things thru those circles until they got answers - and a bomb
Old 11-30-2010, 12:51 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #23 (permalink)
Registered
 
Paco Anton's Avatar
 
Join Date: May 2002
Location: Madrid, Spain
Posts: 774
Garage
Send a message via Yahoo to Paco Anton
I'd do a randomized approach.

1. Assign a random 0/1 value to each of the 25 Numbers
2. Add up the numbers with "1" value
3. If they add up to the goal value the you are set
4. If not cycle again

Leave the Excel woking all night and wake up to get the solution.

Post the numbers. I want to test my approach
__________________
Paco Anton

83 SC Targa (Euro)
Old 11-30-2010, 12:58 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #24 (permalink)
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,401
Garage
I am assuming this is for business deductions on a tax return...Here is the quick and dirty way I would do it:

1. Sort the receipts in column A
2. Add the receipts is column B
3. If yer lucky, one of the sums will be the exact number
4. If not lucky, select the receipts that get closest to the total
5. Call it a day, let the IRS figure the details out .

Good thing I am not a CPA .
__________________
1978 SC Targa, DC15 cams, 9.3:1 cr, backdated heat, sport exhaust https://1978sctarga.car.blog/
2014 Cayenne platinum edition
2008 Benz C300 (wife’s)
2010 Honda Civic LX (daughter’s)

Last edited by Aurel; 11-30-2010 at 05:35 PM..
Old 11-30-2010, 05:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #25 (permalink)
Student of the obvious
 
LeeH's Avatar
 
Join Date: May 2000
Location: Phoenix
Posts: 7,714
Amount paid from business checking = $1617.87
Charges:
486.87
32.48
247.84
9.64
27.19
30.00
79.36
28.17
119.53
26.79
530
141.65
11.4
40.83
53.15
36.93
11.40
84.25
44.39
58.25
328.53
175.82
182.44
332.67
3.87
-250.00 ... a $250 CREDIT from a return!
__________________
Lee
Old 11-30-2010, 07:28 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #26 (permalink)
 
Registered
 
MBAtarga's Avatar
 
Join Date: Jul 2001
Location: Lawrenceville GA 30045
Posts: 7,403
so far through trial and error I'm as close as 0.02
__________________
Mark

'83 SC Targa - since 5/5/2001
'06 911 S Aerokit - from 5/2/2016 to 11/14/2018
'11 911 S w/PDK - from 7/2/2021 to ???
Old 11-30-2010, 07:59 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #27 (permalink)
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,401
Garage
Here is your result:

486.87
32.48
247.84
9.64
27.19
30
79.36
28.17
119.53
26.79
530

That was easy my friend
__________________
1978 SC Targa, DC15 cams, 9.3:1 cr, backdated heat, sport exhaust https://1978sctarga.car.blog/
2014 Cayenne platinum edition
2008 Benz C300 (wife’s)
2010 Honda Civic LX (daughter’s)
Old 11-30-2010, 08:00 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #28 (permalink)
Registered
 
MBAtarga's Avatar
 
Join Date: Jul 2001
Location: Lawrenceville GA 30045
Posts: 7,403
I concur. At least that's a possible solution.
__________________
Mark

'83 SC Targa - since 5/5/2001
'06 911 S Aerokit - from 5/2/2016 to 11/14/2018
'11 911 S w/PDK - from 7/2/2021 to ???
Old 11-30-2010, 08:08 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #29 (permalink)
Free minder
 
Aurel's Avatar
 
Join Date: Nov 2001
Location: Middlessex county, MA
Posts: 9,401
Garage
Quote:
Originally Posted by MBAtarga View Post
I concur. At least that's a possible solution.
There might be other solutions, but since those were all grouped together on the top of the list, this has to be it.
__________________
1978 SC Targa, DC15 cams, 9.3:1 cr, backdated heat, sport exhaust https://1978sctarga.car.blog/
2014 Cayenne platinum edition
2008 Benz C300 (wife’s)
2010 Honda Civic LX (daughter’s)
Old 11-30-2010, 08:14 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #30 (permalink)
Un-Registered User
 
Join Date: Apr 2007
Location: Upstate New York
Posts: 902
Here's a link to an Excel template that does what you want. You will need the "Solver" add-in installed and enabled for it to work. I checked it out and it worked for me.
Excel Template - What Numbers In A Set Total A Target Value
__________________
Don
1988 Targa
Old 11-30-2010, 08:30 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #31 (permalink)
Un-Registered User
 
Join Date: Apr 2007
Location: Upstate New York
Posts: 902
Use the template I linked to and just let it run. It will run for about a minute.

486.87
27.19
79.36
28.17
530
11.4
40.83
11.4
44.39
175.82
182.44

There seems to be some funny accounting going on here. If you add up the first 11 items, they equal the exact amount paid on the business account. But if you look at my results, they also add up to the exact same amount. Do you want me to calculate the probability of that happening? Highly unlikely.
__________________
Don
1988 Targa

Last edited by Red88Carrera; 11-30-2010 at 09:36 PM..
Old 11-30-2010, 09:13 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #32 (permalink)
Student of the obvious
 
LeeH's Avatar
 
Join Date: May 2000
Location: Phoenix
Posts: 7,714
I think Aurel has it! She paid the balance toward the end of the month, but before the end of the statement period, so several of the later charges actually happened after my client made her payment.

I sent her a note asking which charges were tied to this payment. I'd expect she'll be able to confirm this eventually.
__________________
Lee
Old 11-30-2010, 09:47 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #33 (permalink)
Registered
 
Hodgey's Avatar
 
Join Date: Dec 2009
Location: Kyle, TX
Posts: 591
Garage
....use the Excel add-in programme called 'solver'....

easy peasy, lemon squeezy.......

__________________
Neil

1987 Carrera, Grand Prix White, 2009 Carrera C4S, Meteor Grey Metallic
(X) [B] 2011 BMW X5[B]
'Success is not final, failure is not fatal. It is the courage to continue that counts'
Old 12-01-2010, 08:18 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #34 (permalink)
Reply


 


All times are GMT -8. The time now is 02:05 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.