0
I need to find an equation so if there are any values from B2-R2 it will subtract 1 from W2 which needs to start at a value of 17.
For example, if the value of D2 is 6 it will subtract 1 from W2. Then if there is a value of 3 in H2, it will subtract 1 from W2's new value.
So if there is a value in B2 through R2, the value of W2 should be 0.
I'm new to excel and am having a hard time figuring this out. Thanks
1Anybody who has a different answer *should post a different answer*. If your answer uses a function whose operation is less obvious than
COUNT
(something likeSUMPRODUCT
, for example), include an explanation of how it works in your answer. – G-Man Says 'Reinstate Monica' – 2014-11-21T21:16:00.6001@Russ - G-Man makes a good point about VBA. To expand a little, if you are new to Excel, you may think of solutions in terms of how you would manually approach the problem. There are two ways to get a value into a cell. You can pre-place a formula, which will update as the source data changes, or you can place a value into a cell or manipulate it in real time with VBA as the result of some trigger action. If you only care that the result in W2 reflects what is in B2:R2, even if that changes, you can use formulas. If you need to control when or how W2 gets updated, you would use VBA. – fixer1234 – 2014-11-22T05:18:06.963