Technology Get the latest on technology, electronics and software…

Excel Question

Thread Tools
 
Old 01-12-2007, 08:42 AM
  #1  
Three Wheelin'
Thread Starter
 
RyeCL's Avatar
 
Join Date: Aug 2003
Location: Winter Park, FL
Age: 43
Posts: 1,742
Likes: 0
Received 0 Likes on 0 Posts
Excel Question

Here is a question for any Microsoft excel geniuses.

Let's say you have a list of different dollar values that add to a grand total.

Then let's say you have another list with only 4 values that add to that same grand total. Is there any type of formula to determine which values out of the entire list will add up to one of the subtotal values? I am hoping I don't have to go through the entire list trying to guess which values add up to one of the other values.

Any help would be greatly appreciated.

Thanks!
Old 01-12-2007, 09:36 AM
  #2  
sup
 
ViperrepiV's Avatar
 
Join Date: Jan 2004
Location: NYC
Age: 41
Posts: 2,147
Likes: 0
Received 1 Like on 1 Post
^^ I do a lot of work in excel, and I havne't come across anything like that.....and depending on what the invidiaul amounts are, there could be multiple solutions.....
Old 01-12-2007, 09:40 AM
  #3  
Photography Nerd
 
Dan Martin's Avatar
 
Join Date: Sep 2003
Location: Toronto
Age: 44
Posts: 21,489
Likes: 0
Received 11 Likes on 7 Posts
I teach Excel and I can't think of any function that will do that for you automatically. It could be done with a macro, but it's going to take a lot of work. Is this a one time thing you're trying to fix, or will it be something you'll use regularly?
Old 01-12-2007, 09:41 AM
  #4  
Three Wheelin'
Thread Starter
 
RyeCL's Avatar
 
Join Date: Aug 2003
Location: Winter Park, FL
Age: 43
Posts: 1,742
Likes: 0
Received 0 Likes on 0 Posts
This is just a one time thing
Old 01-12-2007, 09:43 AM
  #5  
Photography Nerd
 
Dan Martin's Avatar
 
Join Date: Sep 2003
Location: Toronto
Age: 44
Posts: 21,489
Likes: 0
Received 11 Likes on 7 Posts
Originally Posted by RyeCL
This is just a one time thing
How many rows of numbers are there that the 4 numbers come from?
Old 01-12-2007, 09:51 AM
  #6  
visit me
 
wipe0ut's Avatar
 
Join Date: Feb 2004
Location: N ew Y ork
Age: 52
Posts: 2,804
Likes: 0
Received 0 Likes on 0 Posts
post a screenshot of your sheet
Old 01-12-2007, 10:04 AM
  #7  
Three Wheelin'
Thread Starter
 
RyeCL's Avatar
 
Join Date: Aug 2003
Location: Winter Park, FL
Age: 43
Posts: 1,742
Likes: 0
Received 0 Likes on 0 Posts
i have one long column of dollar values that add up to $3 mil.

i have another file with 4 values that add to the same $3 mil

i'm trying to figure out which values add up to the make those 4 values.
Old 01-12-2007, 10:08 AM
  #8  
fdl
Senior Moderator
 
fdl's Avatar
 
Join Date: Jul 2003
Location: Toronto
Age: 49
Posts: 21,672
Likes: 0
Received 1 Like on 1 Post
There could be many combinations of numbers that add up to each of those numbers. Therefore even if you could identify all these combinations, I dont think it would be useful information.

Or maybe I'm misunderstanding the problem.
Old 01-12-2007, 10:14 AM
  #9  
It's not over yet
 
AQUI NO!'s Avatar
 
Join Date: Nov 2002
Location: Socal
Posts: 3,000
Likes: 0
Received 0 Likes on 0 Posts
I agree with FDL, i don't think it can be done, unless the values on the second sheet are the result of some formula visible in the fx line. if you have the formula you can back track to the original values.
Old 01-12-2007, 10:15 AM
  #10  
Three Wheelin'
Thread Starter
 
RyeCL's Avatar
 
Join Date: Aug 2003
Location: Winter Park, FL
Age: 43
Posts: 1,742
Likes: 0
Received 0 Likes on 0 Posts
yeah i was thinking it prolly cant be done

and no they are just values, no formulas, i wish there were formulas
Old 01-12-2007, 10:15 AM
  #11  
Photography Nerd
 
Dan Martin's Avatar
 
Join Date: Sep 2003
Location: Toronto
Age: 44
Posts: 21,489
Likes: 0
Received 11 Likes on 7 Posts
Originally Posted by fdl
There could be many combinations of numbers that add up to each of those numbers. Therefore even if you could identify all these combinations, I dont think it would be useful information.

Or maybe I'm misunderstanding the problem.


You could write a macro that searches through the sheet and finds the values that add up to each of the four values you have on the second sheet, but the chances are good that there are multiple solutions to the problem. The more numbers you have, the more likely you'll have multiple possibilities.

Chances are, if you're dealing with numbers in the $3M range, you probably shouldn't guess at which ones add up to your totals.
Old 01-12-2007, 10:20 AM
  #12  
Three Wheelin'
Thread Starter
 
RyeCL's Avatar
 
Join Date: Aug 2003
Location: Winter Park, FL
Age: 43
Posts: 1,742
Likes: 0
Received 0 Likes on 0 Posts
yeah, thanks for the help!

i'm gonna try and see if i can get another report with a different break out...
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
navtool.com
3G MDX (2014-2020)
32
01-20-2016 11:43 AM
navtool.com
5G TLX Audio, Bluetooth, Electronics & Navigation
31
11-16-2015 08:30 PM
navtool.com
1G RDX Audio, Bluetooth, Electronics & Navigation
1
09-25-2015 05:15 PM
rboller
3G TL Audio, Bluetooth, Electronics & Navigation
0
09-23-2015 02:49 PM



Quick Reply: Excel Question



All times are GMT -5. The time now is 03:22 PM.