ChristineJ
Well-known Member
- Joined
- May 18, 2009
- Messages
- 761
- Office Version
- 365
- Platform
- Windows
In cell A5, I'd like to return "Yes" if the text within any SUM function in E8 contains a "+" sign.
Should return "Yes" in A5 if E8: =SUM(D2+E2+F2)+SUM(K6:K19)+SUM(X4+Y4+Z4)
Should return "Yes" in A5 if E8: =SUM(D2:F2)+SUM(K6:K19)+SUM(X4+Y4+Z4)
Should return "Yes" in A5 if E8: =SUM(D2+E2+F2)
Should not return "Yes" in A5 if E8: =SUM(D2:F2)+SUM(K6:K19)+SUM(X4:Z4)
Should not return "Yes" in A5 if E8: =SUM(D2:F2)
The "+" signs between the SUM functions are not relevant to returning a "Yes".
Can this be done with either VBA or a formula? Thanks!
Should return "Yes" in A5 if E8: =SUM(D2+E2+F2)+SUM(K6:K19)+SUM(X4+Y4+Z4)
Should return "Yes" in A5 if E8: =SUM(D2:F2)+SUM(K6:K19)+SUM(X4+Y4+Z4)
Should return "Yes" in A5 if E8: =SUM(D2+E2+F2)
Should not return "Yes" in A5 if E8: =SUM(D2:F2)+SUM(K6:K19)+SUM(X4:Z4)
Should not return "Yes" in A5 if E8: =SUM(D2:F2)
The "+" signs between the SUM functions are not relevant to returning a "Yes".
Can this be done with either VBA or a formula? Thanks!