Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I wrote a 6,000-line macro but am getting stuck with the following problem.
(I posted this in "General Questions" but I didn't receive any responses so I thought I'd try "Programming.") I need to determine a price based 735 combinations of choices. Basically, in Column A, I have a list of 7 days of arrival (Mon-Sun). In Column B, I have a list of 15 length-of-hours worked (from 8 hours over 1 day to 80 hours over 12 days); in Column C, I have a list of 7 days of departure (Mon-Sun). (I created the lists using Data, Validation, List). The User chooses one from each column in ANY combination (7 x 15 x 7) ... that's 735 combinations. I can (try to) figure out how an OLAP cube or a Pivot Table works ... but I don't want to waste my time if it's not going to solve my problem to begin with. So, do you know if I can create some kind of cube/table/something so that I determine a price, in Column D, based on any combination of the three lists? Thanks a lot. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup Price based on two values | Excel Discussion (Misc queries) | |||
Calculation based on lowest price | Excel Discussion (Misc queries) | |||
I have 5 columns of data and want to create combinations based on | Excel Discussion (Misc queries) | |||
Determining Date X based on Other dates | Excel Worksheet Functions | |||
Return a cell value based on specific combinations of cells in an array | Excel Worksheet Functions |