Need Help With Rolling Total Formula

charllie

Well-known Member
Joined
Apr 6, 2005
Messages
986
Hi All

Need some help with a formula if that's ok. I cannot seem to get anything to work.

I have a row of with numbers in, lets say rows E7 to R7. In this row will be any number from 0 to 5 (numbers wont be higher than 5).

What i want to do is - for any cell in E7 to R7 that has a number in it greater than 0, i want to add 4 to the rolling total in cell A1. Any cells that are blank then do nothing.

So as an example if cells E7 = 0, F7 = 2 and G7 = 5 then cell A1 would = 8 as a rolling total. If i then changed E7 to 3 then cell A1 would = 12.

All the other cells are blank so nothing would happen.

I would really appreciate it if someone could help me with a formula.

As always, i appreciate your time.

Thanks

Charllie
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Book1
ABCDEFGHIJKLMNOPQR
116
2
3
4
5
6
702345000000000
Sheet1
Cell Formulas
RangeFormula
A1A1=COUNTIF(E7:R7,">0")*4
 
Upvote 0
Hi ExceLoki

That does exactly what i need. Thank you very much, i really appreciate your time and help.

Thanks

Charllie
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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