Forum Discussion

victor_barth's avatar
victor_barth
Copper Contributor
Jan 25, 2024
Solved

Is it possible to create this type of function ?

Hi I'm a french engineering student (my english may not be verry good/I hope you will understand : ) ), for my main project I need to create an algorithm and I don't know if it is possible on excel. ...
  • JKPieterse's avatar
    Jan 25, 2024

    victor_barth Have you tried Goal seek? Otherwise a very simple macro would do.

    Sub SolveFor()
    Dim ct As Long
    Do
        ct = ct + 1
        Range("A2").Value = ct
    Loop until Range("A12").Value
    End Sub