Forum Discussion
DevinT21
Sep 13, 2022Copper Contributor
If other cell is blank then do this math formula here, but if other cell not blank then copy it here
If other cell is blank, then do this math formula here. But if other cell is not blank then copy that here. For example, I have this formula: =IF(J2="","=SUM(F2:G2)*20%","=J2") but it is only copying the value/text and it won't actually do the math formula or display cell J2. Please help.
Take away the quotes (and the extraneous equals signs). You are ASKING it to do text by putting those statements in quotes.
You have =IF(J2="","=SUM(F2:G2)*20%","=J2")
Should be =IF(J2="",SUM(F2:G2)*20%,J2)
4 Replies
Sort By
- mathetesSilver Contributor
Take away the quotes (and the extraneous equals signs). You are ASKING it to do text by putting those statements in quotes.
You have =IF(J2="","=SUM(F2:G2)*20%","=J2")
Should be =IF(J2="",SUM(F2:G2)*20%,J2)