当 y = f(x) 且 z 是硬编码阈值时,如何找到使 y = z 的 x? VBA

问题描述

我有以下数据:

enter image description here

我正在尝试获得 IRR = 引用的 IRR; ("b15") = ("b11") 通过循环计算“Sale”的值,通过 i = i + 1。

我的代码是这样的:

For j = 6 To 20
    For i = 1 To 10 in Cells(9,j)
        'If Cells(7,j).Value = Cells(7,2).Value Then
            Do Until Cells(15,2).Value = Cells(11,2).Value
        i = i + 1
        Loop
    End If
Next i
Next j

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)