• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Counting the columns until cumulative sum reach a value

SamGlasto

New Member
Hi!
I need your help!, I am looking a way to know how many weeks ( range from C:L) my current stock (Column B) will cover my future weeks needs. On the column A. I am trying with MATCH,INDEX,SUBTOTAL COlumn functions, however I still don't get it correct.

Any guidance will be appreciate
 

Attachments

  • Help Example.xlsx
    8.9 KB · Views: 24
Thanks Bosco!, I had to make some twitch however it works perfectly,

Just to keep this if anyone else need this info in the future.... i found also this other way to have the info :

=IFERROR(MATCH(TRUE,MMULT((0+C2:L2),--(TRANSPOSE(COLUMN(C2:L2))<=COLUMN(C2:L2)))>B2,0)-1,COLUMNS(C2:L2))

I still dont understand the formula :) ... however it works...


75924

Again thanks for your support!
 
Back
Top