Datasheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 64, align: center"][/TD]
[TD="width: 104, align: center"]A[/TD]
[TD="width: 104, align: center"]B[/TD]
[TD="width: 104, align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Morning[/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Spring[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Night[/TD]
[TD="align: center"]Weekend[/TD]
[TD="align: center"]Summer[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Fall[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Winter[/TD]
[/TR]
</tbody>[/TABLE]
Gridsheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 104, align: center"][/TD]
[TD="width: 64, align: center"]A[/TD]
[TD="width: 84, align: center"]B[/TD]
[TD="width: 84, align: center"]C[/TD]
[TD="width: 84, align: center"]D[/TD]
[TD="width: 84, align: center"]E[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="colspan: 2, align: center"]Morning[/TD]
[TD="colspan: 2, align: center"]Night[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Weekend[/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Weekend[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Spring[/TD]
[TD="align: center"]$100[/TD]
[TD="align: center"]$150[/TD]
[TD="align: center"]$200[/TD]
[TD="align: center"]$250[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]Summer[/TD]
[TD="align: center"]$300[/TD]
[TD="align: center"]$350[/TD]
[TD="align: center"]$400[/TD]
[TD="align: center"]$450[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Fall[/TD]
[TD="align: center"]$500[/TD]
[TD="align: center"]$550[/TD]
[TD="align: center"]$600[/TD]
[TD="align: center"]$650[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]Winter[/TD]
[TD="align: center"]$700[/TD]
[TD="align: center"]$750[/TD]
[TD="align: center"]$800[/TD]
[TD="align: center"]$850[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 64, align: center"][/TD]
[TD="width: 104, align: center"]A[/TD]
[TD="width: 104, align: center"]B[/TD]
[TD="width: 104, align: center"]C[/TD]
[TD="width: 104, align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Time of Day[/TD]
[TD="align: center"]Time of Week[/TD]
[TD="align: center"]Season[/TD]
[TD="align: center"]Rate[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
Data Validation:
Worksheet!A2
Worksheet!B2
Worksheet!C2
Function:
D2 in Worksheet equals "VALUE" based on "Data Validation List" selections in columns A, B, and C as defined in Gridsheet
Examples:
If (Worksheet!A1=Morning) and (Worksheet!B1=Weekend) and (Worksheet!C1=Fall) then Worksheet!D2=$550
If (Worksheet!A1=Night) and (Worksheet!B1=Weekday) and (Worksheet!C1=Summer) then Worksheet!D2=$400
I tried many SUMIF, SUMIFS, IF(AND) functions and can't get this to work.Thanks for looking... helping!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 64, align: center"][/TD]
[TD="width: 104, align: center"]A[/TD]
[TD="width: 104, align: center"]B[/TD]
[TD="width: 104, align: center"]C[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Morning[/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Spring[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Night[/TD]
[TD="align: center"]Weekend[/TD]
[TD="align: center"]Summer[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Fall[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Winter[/TD]
[/TR]
</tbody>[/TABLE]
Gridsheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 104, align: center"][/TD]
[TD="width: 64, align: center"]A[/TD]
[TD="width: 84, align: center"]B[/TD]
[TD="width: 84, align: center"]C[/TD]
[TD="width: 84, align: center"]D[/TD]
[TD="width: 84, align: center"]E[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"][/TD]
[TD="colspan: 2, align: center"]Morning[/TD]
[TD="colspan: 2, align: center"]Night[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Weekend[/TD]
[TD="align: center"]Weekday[/TD]
[TD="align: center"]Weekend[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Spring[/TD]
[TD="align: center"]$100[/TD]
[TD="align: center"]$150[/TD]
[TD="align: center"]$200[/TD]
[TD="align: center"]$250[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]Summer[/TD]
[TD="align: center"]$300[/TD]
[TD="align: center"]$350[/TD]
[TD="align: center"]$400[/TD]
[TD="align: center"]$450[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Fall[/TD]
[TD="align: center"]$500[/TD]
[TD="align: center"]$550[/TD]
[TD="align: center"]$600[/TD]
[TD="align: center"]$650[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]Winter[/TD]
[TD="align: center"]$700[/TD]
[TD="align: center"]$750[/TD]
[TD="align: center"]$800[/TD]
[TD="align: center"]$850[/TD]
[/TR]
</tbody>[/TABLE]
Worksheet
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="width: 64, align: center"][/TD]
[TD="width: 104, align: center"]A[/TD]
[TD="width: 104, align: center"]B[/TD]
[TD="width: 104, align: center"]C[/TD]
[TD="width: 104, align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Time of Day[/TD]
[TD="align: center"]Time of Week[/TD]
[TD="align: center"]Season[/TD]
[TD="align: center"]Rate[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
Data Validation:
Worksheet!A2
- Data Validation > List > =Datasheet!$A$1:$A$2
Worksheet!B2
- Data Validation > List > =Datasheet!$B$1:$B$2
Worksheet!C2
- Data Validation > List > =Datasheet!$C$1:$C$4
Function:
D2 in Worksheet equals "VALUE" based on "Data Validation List" selections in columns A, B, and C as defined in Gridsheet
Examples:
If (Worksheet!A1=Morning) and (Worksheet!B1=Weekend) and (Worksheet!C1=Fall) then Worksheet!D2=$550
If (Worksheet!A1=Night) and (Worksheet!B1=Weekday) and (Worksheet!C1=Summer) then Worksheet!D2=$400
I tried many SUMIF, SUMIFS, IF(AND) functions and can't get this to work.Thanks for looking... helping!