Formula to return nth cell in a sequence with criteria

graemestown

New Member
Joined
May 10, 2019
Messages
16
Office Version
  1. 365
Platform
  1. Windows
https://www.dropbox.com/s/amwx4p2ofoau8w3/Example.xlsx?dl=0

1ABCDEFGHIJKLMNOPQRSTU
2WeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeekWeek
312345678910111213141516171819
4Bread 969883638494112750683986273390993566465127=Formula
5Cake 3205083068331003615336432384487311357596341566557=Formula
6Pies 32072048057420360754900796807774=Formula
7Rolls 602404801340977767583933731285335833462858872360932=Formula
8Donuts121620239212171752310518026398923138470516460518266=Formula
Criteria for formula:
1Ignores blank cells and allows for an 'if greater than' statement. For example it ignores all the bold cells because they are less than 50
2Then counts 8 cells from the start of the valid sequence
3Formula returns the value in the 8th cell, the result I want returned is italic & underlined
4Formula would be in column u which I could drag down and would work regardless of where the sequence starts

<colgroup><col width="64" style="width:48pt"> <col width="64" span="20" style="width:48pt"> <col width="64" style="width:48pt"> </colgroup><tbody>
</tbody>

<colgroup><col width="64" span="20" style="width:48pt"></colgroup><tbody></tbody>
 
Hi Dante

Hoping you see this question - not sure how else to get hold of you. I need your help again if that's ok.
I need to solve a 'forward cover' calculation. I work in retail.
Here is the problem
I end week 1 with 500 units of stock
If I sell 110 units in week 2 I end with 390 units of stock and so on.
My question is. How many weeks of future sales will each closing stock value service. Starting in week 1 I know the answer is 4 because there is enough stock for week 2, 3, 4 and 5 but how do I do this with a formula?

Weeks12345678910
Sales100110120130140150160170180190
Opening Stock500
Closing Stock3902701400
Weeks Cover??
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,734
Messages
6,126,545
Members
449,317
Latest member
chingiloum

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