Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Getting an exact match

I have a list of about 20 labor categories and hourly rates, and a total
dollar figure. I do not have the hours associated with each category.

I suspect that some combination of hours and hourly rates will exactly equal
the total, and that the hours will be positive integers, and most likely that
all labor categories will have at least one hour.

Is there macro or method that can check for a possible solution?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Getting an exact match

labor categories hourly rates hours


You have columns 1 and 2. Put all 1's in column 3.

at the bottom say D22 put in a formula like =sumproduct(B2:B21,C2:C21)

now go to Tools = Solver and set it up to solve your problem.

Here are some references which explain this more fully:

http://groups.google.co.uk/groups?se...&output=gplain

http://groups-beta.google.com/group/...cbf157bd1c80aa


--
Regards,
Tom Ogilvy


"Roland" wrote in message
...
I have a list of about 20 labor categories and hourly rates, and a total
dollar figure. I do not have the hours associated with each category.

I suspect that some combination of hours and hourly rates will exactly

equal
the total, and that the hours will be positive integers, and most likely

that
all labor categories will have at least one hour.

Is there macro or method that can check for a possible solution?



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
Find an exact match and go to that match Heath Excel Discussion (Misc queries) 0 February 12th 09 02:28 AM
Find Exact Match using INDEX, MATCH DoubleUU Excel Worksheet Functions 3 August 15th 08 02:42 PM
Match name not exact Samantha Excel Worksheet Functions 3 April 11th 06 01:12 PM
Getting an exact match Roland Excel Worksheet Functions 2 January 25th 05 05:00 AM
Find a match that;s not exact Phyllis Excel Worksheet Functions 0 November 8th 04 08:12 PM


All times are GMT +1. The time now is 01:49 PM.

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"