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
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies