Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Joshua Jacoby
 
Posts: n/a
Default find cells that add up to certain value

I am an accounting clerk, trying to reconcile an account. So, I have a list
of debits and credits for an account, and I'm trying to "tick and tie", or
balance, the account. For example:
A B
1 Debits Credits
2 10
3 25
4 33
5 41
6 55
7 58
8 41
9 65

My example is simple to balance since I can cross out the 25 and 33
balancing out with the 58. My problem is with an account ledger that has
500-1000 entries on it and trying to find which debits match which credits.
If anyone can help me with a fuction or macro or anything, I'd appreciate it!
For example: "what cells/values in column A equal 65"?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default find cells that add up to certain value

Hello,

I suggest to look he http://michael-schwimmer.de/vba096.htm

It is a nice beautification of Mr. Excel's winning solution of his
challenge of the month (August 2002): http://www.mrexcel.com/pc09.shtml


HTH,
Bernd

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Umlas, Excel MVP
 
Posts: n/a
Default find cells that add up to certain value

the problem is that, especially with 500-1000 rows, there will likely be many
many combinations of values which will total a given result. You CAN use
Solver to do this, setting up conditions such as
A B C
10 =A1*B1
25 =A2*B2
33 =A3*B3
41 =A4*B4
55 =A5*B5
=SUM(C1:C5)
etc.
Solver would include setting B1:B5 to be integer, <=1, =0, and setting C6 =
to your target value, like 55.
But with 1000 rows, this could churn for awhile!
HTH
Bob Umlas
Excel MVP

"Joshua Jacoby" wrote:

I am an accounting clerk, trying to reconcile an account. So, I have a list
of debits and credits for an account, and I'm trying to "tick and tie", or
balance, the account. For example:
A B
1 Debits Credits
2 10
3 25
4 33
5 41
6 55
7 58
8 41
9 65

My example is simple to balance since I can cross out the 25 and 33
balancing out with the 58. My problem is with an account ledger that has
500-1000 entries on it and trying to find which debits match which credits.
If anyone can help me with a fuction or macro or anything, I'd appreciate it!
For example: "what cells/values in column A equal 65"?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default find cells that add up to certain value

Hello Joshua,

I suggest to look he http://michael-schwimmer.de/vba096.htm

It is a nice beautification of Mr. Excel's winning solution of his
challenge of the month (August 2002): http://www.mrexcel.com/pc09.shtml


HTH,
Bernd

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
Can Excel find & sort one item in all the cells in a column? AHSinVT New Users to Excel 3 January 22nd 06 10:24 PM
How do I find the minimum NONBLANK value in a sequence of cells? codeslinger New Users to Excel 3 November 2nd 05 08:12 PM
How to find linked cells anoop Excel Discussion (Misc queries) 1 November 2nd 05 08:26 AM
Find - Entire Cells only Andibevan Excel Discussion (Misc queries) 2 April 7th 05 11:45 AM
Find cells with ? maryj Excel Discussion (Misc queries) 2 March 4th 05 10:23 PM


All times are GMT +1. The time now is 02:42 AM.

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"