ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with formula (https://www.excelbanter.com/excel-worksheet-functions/261348-help-formula.html)

Brandon

Help with formula
 
I want to return the first date in which the sum of the previous columns
first exceeds inventory on hand (total). Should return 4/5 on this example.

Total Due Date 3/24 3/30 4/5 4/7 4/7
68 #N/A 10 50 20 30 30

I am using nested if's, but need to expand to more than 7 columns, using
excel 2003.

Thanks

Stefi

Help with formula
 
I couldn't find a single formula, but if you set up a helper row with this
formula in C3 and filled to the right:
=SUM($C2:C2)
then
=INDIRECT(ADDRESS(1,MATCH(A2,C3:G3,1)+1+2,4,1))
gives the required result.

--
Regards!
Stefi



€˛Brandon€¯ ezt Ć*rta:

I want to return the first date in which the sum of the previous columns
first exceeds inventory on hand (total). Should return 4/5 on this example.

Total Due Date 3/24 3/30 4/5 4/7 4/7
68 #N/A 10 50 20 30 30

I am using nested if's, but need to expand to more than 7 columns, using
excel 2003.

Thanks



All times are GMT +1. The time now is 12:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com