Forum Discussion

Prue's avatar
Prue
Regular Visitor
6 years ago
Solved

Pulling one value from another table based on a set value in another column and between two dates

Hey, i have two tables, one a standard calendar table and the other with varying data in it including a 'dates from' and a 'dates to' column, see image below.

annual targetscalendar

I need to pull the 'target daily rate' value from the annual targets table into the calendar table where the 'drilling type' is underground and only for the dates between those specified in the 'date from' and 'dates to' columns. ie all the dates from the 01/01/2020 - 31/12/2020 should end up with the value 76.29 in the 'underground' column in the calendar table.

 

If anyone can help me with a formula for this i would be greatly appreciative. 

3 Replies

    • Prue's avatar
      Prue
      Regular Visitor

      Thank you for that! It does what i need it too! Much appreciated

      • FarhanAhmed's avatar
        FarhanAhmed
        Community Champion

        Great to hear that.

         

        Can you please Mark my post as a solution so that other members can benefit from it.

         

        Appreciate your Kudos too!!