LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Find a sum of a combination of cells to equal a value

I have a maths problem which i am trying to solve with a macro.

I have a list of numberin column A such as

12
14
45
24
85
78
5
33

If i have a value lets say 62 which is the sum of two or more values in the
list i would like the macro to place a formula under the list of values
adding the cells which make up that total.

62 is made of 33+5+24 this would be formula i would want placed under the
list.

Any suggestions?
 
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
how do i find what cells equal a certain number? tdub Excel Discussion (Misc queries) 1 May 14th 08 12:21 AM
find combination of cells that equal a sum Billy Rogers Excel Worksheet Functions 1 February 2nd 08 04:33 AM
How can I find the equal cells in Excel AMJAD Excel Discussion (Misc queries) 1 October 10th 06 11:14 AM
Find the combination of numbers that when added equal a reqired total?? Handsy11 Excel Worksheet Functions 5 July 12th 05 04:55 PM
To find a combination of numbers that equal a set amount? Larry Morris Excel Discussion (Misc queries) 6 December 17th 04 05:39 PM


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