Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default 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

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
Help with returning a Range Dnereb Excel Programming 0 August 11th 05 01:30 PM
Help with returning a Range Newbie80[_15_] Excel Programming 0 August 11th 05 01:08 PM
Returning the range name in VBA John Tjia[_2_] Excel Programming 4 October 20th 04 02:09 PM
Returning the range name in VBA John Tjia[_5_] Excel Programming 2 October 13th 04 04:28 AM
Returning the range name in VBA John Tjia[_3_] Excel Programming 0 October 12th 04 03:28 PM


All times are GMT +1. The time now is 01:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"