# Excel formula

I am looking to see if there is a funstion available in Microsoft Excel 2010. I have a balancing issue and want to make the figures balance.
Current I have a colum of cells (P) with 1786 rows. The total for the column is totaling 31,942.93. I want to find out what combination of these cells/figures could be used to make 54.17. Is there a formula availabvle to do this.
###### Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x

Chief EngineerCommented:
Check this out.  There are two examples here that should do what you want.  If you post your data here I will run them for you.

http://www.tushar-mehta.com/excel/templates/match_values/

Kyle
0

Commented:
There is no function in Excel for that!
0

Commented:
you would need a macro
is there a specific number of cells that should add up to 54.17?
0

Author Commented:
No Specific number cells. Any combination of cells or to show me all possible combination of cells.
0

EngineerCommented:
I think that the best option is to avoid using a normal computer program to do this. The combination count is so high that no computer can complete this task in any reasonable time frame.

Some sort of artificial intelligence can might be appropriate but I do not think such a thing is readily available.

At the moment such things are best done by visual judgement.
0

Commented:
Find someone who really needs to get a life and hire him to do it.
:)
0

Commented:
You want to 'make the figures balance', against what ? The only way to achieve a reconciliation is to compare underlying figures so we need to understand both sides in order to extract the differences
0

Commented:
Maybe you could filter the list of 1786 records to those which themselves have value 54.17 or less, to start with. Just a tip to make life easier for the CPU.
0

Commented:
You could also filter to only show those that have 54.17 minus whatever the lowest value is.
0

Commented:
@ etech0: Even better!
0

Commented:
Unless and except 54.17 is in the list! :)
0

Microsoft MVP ExcelCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0