Forum Discussion

GranSupt's avatar
GranSupt
Copper Contributor
Jan 01, 2024

Multiple logic test formula

Building a workbook to record winter road maintenance operations mileage for a dpw. One record for each truck. Each record must choose one of 9 routes and one of 3 activities. These choices are made ...
  • mathetes's avatar
    Jan 01, 2024

    GranSupt 

    If I followed all that you need, the attached file is an example of what would work. Essentially it's a two-dimensional table, with the different routes on the vertical dimension, the different activities on the horizontal, and the corresponding mileages in the interstices of those dimensions.

     

    After you select the route and the activity, a "simple" INDEX and MATCH formula retrieves the mileage.

    =INDEX(E5:G13,MATCH(C17,D5:D13,0),MATCH(C18,E4:G4,0))

     

     

     

Resources