ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula Needed! (https://www.excelbanter.com/excel-discussion-misc-queries/31436-formula-needed.html)

Roman

Formula Needed!
 

I need a formula that finds the closest sum of the list of bills to the
specified amount, i.e

Bills
$ 30.00
$ 20.00
$ 30.00

Amount $ 70.00

In this case formula should highlight or indicate in some way cells
with amounts $30.00 and $30.00 and show the total of these cells.


--
Roman
------------------------------------------------------------------------
Roman's Profile: http://www.excelforum.com/member.php...o&userid=24442
View this thread: http://www.excelforum.com/showthread...hreadid=380407


Anne Troy

Try this, Roman:
http://www.mrexcel.com/pc09.shtml

*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Roman" wrote in
message ...

I need a formula that finds the closest sum of the list of bills to the
specified amount, i.e

Bills
$ 30.00
$ 20.00
$ 30.00

Amount $ 70.00

In this case formula should highlight or indicate in some way cells
with amounts $30.00 and $30.00 and show the total of these cells.


--
Roman
------------------------------------------------------------------------
Roman's Profile:

http://www.excelforum.com/member.php...o&userid=24442
View this thread: http://www.excelforum.com/showthread...hreadid=380407




Ragdyer

See if this old post of Ken Wright's can help:

http://tinyurl.com/a82os

--


HTH,


RD
==============================*================
Please keep all correspondence within the Group, so all may benefit!
==============================*================



"Roman" wrote in
message ...

I need a formula that finds the closest sum of the list of bills to the
specified amount, i.e

Bills
$ 30.00
$ 20.00
$ 30.00

Amount $ 70.00

In this case formula should highlight or indicate in some way cells
with amounts $30.00 and $30.00 and show the total of these cells.


--
Roman
------------------------------------------------------------------------
Roman's Profile:

http://www.excelforum.com/member.php...o&userid=24442
View this thread: http://www.excelforum.com/showthread...hreadid=380407




All times are GMT +1. The time now is 10:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com