LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
crimsonkng
 
Posts: n/a
Default how to calculate a value for 49 possible combinations

Though my problem is a bit more complicated than this, I think that if I
solve this, I can apply the rule to my real problem.

In A1, I've defined a data-validation (list/range) of which the values can
be SUN, MON, TUE, WED, THU, FRI, and SAT. (arrival day)
In B1, I've defined a data-validation (list/range) of which the values can
be SUN, MON, TUE, WED, THU, FRI, and SAT. (departure day)

I need to determine a total dollar-amount depending upon the arrival day and
the departure day (i.e., how long the technician is on-site). I suppose that
I could "hard-code" the values for 49 different combinations. But is there a
formula that can determine the value by looking at the "intersection" of a 7
x 7 table (A1:H8)? I can populate the values relatively easily. But can a
formula (in cell C1, for example) "look" at the corresponding intersection of
a column and row (e.g, arriving MON and departing FRI) and get the value
from that intersected cell? I don't want to do this in a macro. I want to
do it in a formula.

Thanks for any suggestions.
 
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 sumif to calculate column rvnwdr Excel Discussion (Misc queries) 3 June 30th 05 12:38 AM
How can I calculate Vacation Time earned based on length of emplo. Kim Excel Discussion (Misc queries) 2 March 15th 05 08:04 PM
formula to calculate # of days between dates, excluding holidays abs2299 Excel Discussion (Misc queries) 8 March 3rd 05 02:21 AM
Not able to calculate. mark_kramarczyk Excel Worksheet Functions 1 December 29th 04 08:55 PM
How do you calculate the nth root of a number in Excel 2003? William Excel Worksheet Functions 2 November 17th 04 04:19 PM


All times are GMT +1. The time now is 02:36 AM.

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

About Us

"It's about Microsoft Excel"