There is no magic formula because each mix is somewhat unique. There are too many variables for such an equation.
Further, there is no point in testing to the exact desired compressive strength. Concrete design doesn't work that way.
While we use a specific design strength for our designs, the goal of the mix design is to achieve that value within a reasonable tolerance and predictability. Such predictablity comes from specific strength gain curves for each mix design; however, not all ready mix suppliers provide such curves. If the concrete is mixed on site, there is little predictability of strength gain until enough testing is done to validate the design.
If you use 35 MPa for your design, your mix design should be proportioned to achieve that design strength in 28 days, typically. There are other design strength days; however, 28 days is the norm.
If you are using conventional portland cement concrete with Type I cement (US designation) and without much in the way of admixtures, you can predict that the concrete will achieve about 70 percent of its design strength in 7 days. This is a generalization, of course, but based on generalized strength gain curves from copious amounts of data over the years for various mix designs.
If that value is not achieved in 7 days, it becomes a "flag" for us to watch the strength gain of those test specimens. Use such generalizations carefully, as they might not be accurate for your specific mix design.