Check Consecutive value

tamil9288

New Member
Joined
Apr 23, 2018
Messages
4
Hi ,

I have values for a year in excel and in the row sum i want to sum the total of 1,2,3, and in the return row if i dont have a value in consecutive months then i should minus that value from total. For ex below month 1. in jan i have 4900 however next two months the value is 0, hence it should be minus from the total value,

Can you please help me with the formula which can check the consecutive value. Note: There are rows where we dont have any values for the year.

In a month if we have a value >0, then it should check we have consecutive number for that particular row. is it possible?

MonthJan-18Feb-18Mar-18Apr-18May-18Jun-18Jul-18Aug-18Sep-18Oct-18Nov-18Dec-18
1$4,900.00$0.00$0.00$0.00$$$$ $$$$
2$4,938.68$4,146.70$4,146.70$4,146.70$$$$ $$$$
3$0.00$0.00$0.00$0.00$$$$ $$$$
Sum$9,838.68$4,146.70$4,146.70$4,146.70
Return$4,938.68

<colgroup><col><col span="12"></colgroup><tbody>
</tbody>
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,523
Messages
6,125,319
Members
449,218
Latest member
Excel Master

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