Book13 | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Product | Quantity Required | Product | Quantity available | |||
2 | Apple | 2 | Apple | 2 | |||
3 | Banana | Banana | 4 | ||||
4 | Orange | Orange | 3 | ||||
Sheet5 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B2:B4 | Custom | =$B2<=$E2 |
DataVal-ETAF.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Product | Quantity Required | Product | Quantity available | |||
2 | Apple | 2 | Apple | 2 | |||
3 | Apple | 3 | Banana | 4 | |||
4 | Orange | Orange | 3 | ||||
5 | |||||||
Sheet5 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B2:B4 | Custom | =$B2<=$E2 |
DataVal-ETAF.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | Product | Quantity Required | Product | Quantity available | |||
2 | Apple | 6 | Apple | 8 | |||
3 | apple | Banana | 4 | ||||
4 | Orange | 1 | Orange | 3 | |||
5 | Orange | 2 | |||||
6 | Orange | ||||||
Sheet5 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B2:B6 | Custom | =SUMIF($A$2:$A$10,A2,$B$2:$B$10)<=SUMIF($D$2:$D$10,A2,$E$2:$E$10) |