Home

Subtracting between cells

ducatist3v3
New Contributor

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

Hi

 

=(D2=1004)*(D4-D7)

 

I will give this a try... thank you!

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!!

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!!

Sorry, I do not understand.

 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Edge insider Dev bypasses IE mode website list
HotCakeX in Enterprise on
4 Replies