Forum Discussion
prr924
Mar 12, 2019Copper Contributor
Excel formula help
I'd like to create a formula that either sums columns D2 through H2 OR D2-G2 plus I2. In other words, for the second option I want it to skip H2. Can this be done and if so how do I do it? Screen sho...
prr924
Mar 12, 2019Copper Contributor
Sorry, that didn't work. Let me try to explain this better. I want a formula for cell C2 (Total Score) that does this:
IF H2>0, then C2 =SUM(D2:H2).
If H2<1, then C2 =SUM(D2,F2,G2,I2).
SergeiBaklan
Mar 12, 2019Diamond Contributor
could you please clarify, if
H2=0.5
H2=1
what it'll be in such cases
- prr924Mar 12, 2019Copper Contributor
H2 will always be a whole number. If H2=1 (or greater), then C2 should =SUM(D2:H2).