PhilW_34
Board Regular
- Joined
- Jan 4, 2007
- Messages
- 128
- Office Version
- 365
- Platform
- Windows
Hi All,
I've been working at this for the better part of this morning. No matter what I try, I cannot make this formula work without using the volatile OFFSET formulas nested in this formula. So, I'm coming for help.
What I'm doing is looking at inventory and the comparing it to monthly forecasts and returning the month in the header when it will run out. Any suggestions? Thanks in advance.
Header is in Row 3
Data is in row 4. Forecasts start with JAN in F4 an go through Q4.
=IF(MIN(IF(SUBTOTAL(9,OFFSET($F4,0,0,1,COLUMN($F4:$Q4)-COLUMN(F4)+1))>=E4,COLUMN($F4:$Q4)-COLUMN(F4)+1))=0,"Overstocked",OFFSET($F$3,,MIN(IF(SUBTOTAL(9,OFFSET($F4,0,0,1,COLUMN($F4:$Q4)-COLUMN(F4)+1))>=E4,COLUMN($F4:$Q4)-COLUMN(F4)+0))))
I then hit Shift+Ctrl+Enter to make this an array formula.
Thanks again,
Phil
I've been working at this for the better part of this morning. No matter what I try, I cannot make this formula work without using the volatile OFFSET formulas nested in this formula. So, I'm coming for help.
What I'm doing is looking at inventory and the comparing it to monthly forecasts and returning the month in the header when it will run out. Any suggestions? Thanks in advance.
Header is in Row 3
Data is in row 4. Forecasts start with JAN in F4 an go through Q4.
=IF(MIN(IF(SUBTOTAL(9,OFFSET($F4,0,0,1,COLUMN($F4:$Q4)-COLUMN(F4)+1))>=E4,COLUMN($F4:$Q4)-COLUMN(F4)+1))=0,"Overstocked",OFFSET($F$3,,MIN(IF(SUBTOTAL(9,OFFSET($F4,0,0,1,COLUMN($F4:$Q4)-COLUMN(F4)+1))>=E4,COLUMN($F4:$Q4)-COLUMN(F4)+0))))
I then hit Shift+Ctrl+Enter to make this an array formula.
Thanks again,
Phil