In google sheets the following formula works fine
=GOOGLEFINANCE("Currency:" & H6 & I6) * G6
If I try to use it within a IF-statement it gives a parsing error.
=IF(H6! = "USD", GOOGLEFINANCE("Currency:" & H6 & I6) * G6, "fail")
Must be a syntax error, but I can't wrap my head around it. What am I doing wrong?