find largest pair of consecutive numbers?

Guitarmageddon

Board Regular
Joined
Dec 22, 2014
Messages
159
So I have some sales data and it is a item number in $A$1 for example, and b$1 (or whatever column it stops) and so on in the rows out to the right are weekly sales numbers. I am trying to use a formula to select the range of sales numbers and just give me the greatest consecutive two weeks of sales that occurred, and what that sum would be. Can someone help out?
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Impossible without VBA. You have to make several logic checks.
 
Last edited by a moderator:
Upvote 0
Actually there was a simple solution to this, no need to complicate! Excel just learns that I'm doing a SUM for 2 consecutive cells and repeats the pattern, then I just turn around and do a MAX. This was easy haha. Thanks
 
Upvote 0

Forum statistics

Threads
1,216,574
Messages
6,131,492
Members
449,653
Latest member
aurelius33

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