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
Detlef_Lewin
Mar 12, 2019Silver Contributor
Hi
=(D2=1004)*(D4-D7)
ducatist3v3
Mar 12, 2019Copper 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_LewinMar 12, 2019Silver Contributor
Sorry, I do not understand.