Forum Discussion
ducatist3v3
Mar 12, 2019Copper Contributor
Subtracting between cells
Hi
not sure how to subtract between cells (eg D4-D7) only when another cell has a specific number inputted (eg D2 has 1004 inputted)...at all other times the result should be zero...
Thanks
5 Replies
- Detlef_LewinSilver Contributor
Hi
=(D2=1004)*(D4-D7)
- ducatist3v3Copper Contributor
That works but can it be tweaked so when D2=1001 then D7 will have the same value as D3 (and D4 will equal zero) If that makes sense??
SOOO CLOSE!!
- Detlef_LewinSilver Contributor
Sorry, I do not understand.
- ducatist3v3Copper Contributor
I will give this a try... thank you!
- ducatist3v3Copper Contributor
THAT WORKS BUT CAN IT ALSO BE SO WHEN D3=1001 THEN D7 WILL EQUAL D3 (AND D4 WILL EQUAL ZERO) IF THAT MAKES SENSE??
SOOO CLOSE!!