我正在尝试转换公式/查询向导。以VBA代码编写为Excel(PHPSpreadsheet)可读公式。
例如。我想转换以下代码(用VBA编写)
SELECT CASE
WHEN A1 = "Sample 1" THEN C1 = "Test 1"
WHEN A1 = "Sample 2" AND B1 = "Sample 3" THEN C1 = "Test2"
END SELECT
收件人(PHPSpreadsheet可读公式)
=IF(A1="Sample 1","Test 1")
...
有没有办法或任何解决方法来实现这一目标?