Forum Discussion
MikeKlausing
6 years agoQrew Assistant Captain
This doesn't seem to work. I have to remove the "totext" parts of this equation, but even at that I cant get a formula to work that way.
Thank you,
Mike Klausing
------Original Message------
Try adding some if statements:
"<span style=\"font-size:11px;\">" & "<b>" & var text VerticalList = (List ("<br />$", IF(ToText([Cost Notes])=0,"",ToText([Cost Notes]), IF(ToText([Note 2 Cost])=0,"",ToText([Note 2 Cost]), IF(ToText([Note 3 Cost])=0,"",ToText([Note 3 Cost]), IF(ToText([Note 4 Cost])=0,"",ToText([Note 4 Cost]))); If($VerticalList <> "", "$" & $VerticalList) & "</b>" & "</span>"
If the "" syntax doesn't work, try to replace that with null.
------------------------------
Adam Keever
------------------------------
AdamKeever1
6 years agoQrew Commander
This syntax should work for you Mike:
------------------------------
Adam Keever
------------------------------
"<span style=\"font-size:11px;\">" & "<b>" & var text VerticalList = (List ("<br />$", If([Cost Notes]=0,"",ToText([Cost Notes])), If([Note 2 Cost]=0,"",ToText([Note 2 Cost])), If([Note 3 Cost]=0,"",ToText([Note 3 Cost])), If([Note 4 Cost]=0,"",ToText([Note 4 Cost])))); If($VerticalList <> "", "$" & $VerticalList) & "</b>" & "</span>"
------------------------------
Adam Keever
------------------------------
- MikeKlausing6 years agoQrew Assistant Captain
Got it to work. Thanks Adam!
Thank you,
Mike Klausing
------Original Message------
This syntax should work for you Mike:
"<span style=\"font-size:11px;\">" & "<b>" & var text VerticalList = (List ("<br />$", If([Cost Notes]=0,"",ToText([Cost Notes])), If([Note 2 Cost]=0,"",ToText([Note 2 Cost])), If([Note 3 Cost]=0,"",ToText([Note 3 Cost])), If([Note 4 Cost]=0,"",ToText([Note 4 Cost])))); If($VerticalList <> "", "$" & $VerticalList) & "</b>" & "</span>"
------------------------------
Adam Keever
------------------------------