Is there an easier way to write this formula?

jjackson

New Member
Joined
Nov 21, 2005
Messages
28
=IF(G20>=1,G20+G19+G18+G17+F21+F20+F19+F18+F17,0)

I have been having problems when I put it this way it wont add the two columns.
=IF(G20>1,G20:G17,F17:F21,0)

Thanks for your help...
Jaye
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
That helped out so much thanks...
The only problem is that I dont want empty cells to show up as a number I want them to show up as a Zero or nothing.

Ok I figured it out, I had the wrong numbers in the wrong cells... Sorry...
That helped a bunch....
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top