• 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.

Formula Required - Friends Pls. help..

premjeet

New Member
I have a excel sheet.

I need a formula that can find what i need.

I am not good in excel. So, Please help.


Example.


Date - 1 2 3 4 5 6 7 8 9

Value-1 0 0 1 2 0 5 2 0 0 = ( Formula Required )

Value-2 0 0 5 4 0 0 0 0 0 =

Value-3 0 0 1 2 5 3 2 1 0 =

Value-4 0 0 1 2 5 3 0 0 0 =


What formula i need is ( since (Exact date) my data coming "0" continuously.)
 
Hi NARAYAN,


Thanks for reply.


The answer should be like this. Hope you will help me.


Date - 1 2 3 4 5 6 7 8 9

Value-1 0 0 1 2 0 5 2 0 0 = 8

Value-2 0 0 5 4 0 0 0 0 0 = 5

Value-3 0 0 1 2 5 3 2 1 0 = 9

Value-4 0 0 1 2 5 3 0 0 0 = 7
 
Hi Premjeet ,


Assuming that your data is in the range B2:J5 , the following formula , entered as an array formula , using CTRL SHIFT ENTER , will give you the result :


=MAX(IF($B2:$J2<>0,COLUMN($B2:$J2)-MIN(COLUMN($B2:$J2))+1))+1


Can you say what result should be displayed if , against Value-3 , you had the following data :


Value-3 0 0 1 2 5 3 2 1 4


Narayan
 
Hi NARAYAN,


Thanks Again but the above mentioned formula is not working.


I am sending a sanp shot of excel.


2yz0ehs.jpg



I need Exact date since my value coming "0" continuously
 
Can you say what result should be displayed if , against Value-3 , you had the following data :


Date 1 2 3 4 5 6 7 8 9

Value-3 0 0 1 2 5 3 2 1 4


Answer will be date - 1st.
 
Hi Premjeet ,


I am not able to understand why you say the formula does not work ; can you download the file from here and let me know ?


http://speedy.sh/qj2fe/Premjeet-Example.xlsx


Narayan
 
Back
Top