ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Returning a value in a range (https://www.excelbanter.com/excel-programming/400004-returning-value-range.html)

Gigi

Returning a value in a range
 
I want to take a sum (see example, 44) and have it look at the first row of
numbers , choose numbers that equal the total of 44 and return the value
(number) in the second row.
44

32 24 16 12 8 4
2 1 1
Any suggestions?
THANKS


Gary''s Student

Returning a value in a range
 
To select items that combine to form a fixed sum, use Solver:

http://www.tushar-mehta.com/excel/te...ues/index.html

--
Gary''s Student - gsnu200751


"Gigi" wrote:

I want to take a sum (see example, 44) and have it look at the first row of
numbers , choose numbers that equal the total of 44 and return the value
(number) in the second row.
44

32 24 16 12 8 4
2 1 1
Any suggestions?
THANKS



All times are GMT +1. The time now is 03:16 AM.

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