Forum Discussion
Addition to an existing formula
- Apr 11, 2021
Scott Miller Sorry, I missed the "2 or more" part your original question. Change the latter part of the extras to :
(H14>=2)*492Any number greater than or equal to 2 will add 492.
Scott Miller I take your word for it that the formula works, though I believe you have quite a few unnecessary brackets in it. Anyhow, add this to the formula:
+(H14=1)*328+(H14=2)*492and it should add the additional expenses based on what's in H14 (1 or 2).
- Scott MillerApr 11, 2021Copper Contributor
Thanks for the add, the only thing it seems to get caught up on is if you place more than 2 in H14 then it reverts back to the answer of have nothing in H14?
Is there a way of showing the answer with 1 in H14 (which it does now) and the answer with 2 (which it does now), but leave the answer of having 2 if there is a value higher the 2?
So if you place a 6 (or any number above 2) in H14 it would only show the answer of having 2 in H14?
Cheers Scott
- Riny_van_EekelenApr 11, 2021Platinum Contributor
Scott Miller Sorry, I missed the "2 or more" part your original question. Change the latter part of the extras to :
(H14>=2)*492Any number greater than or equal to 2 will add 492.
- Scott MillerApr 11, 2021Copper ContributorPerfect - Thank you. 🙂