+ Reply to Thread
Results 1 to 33 of 33

Identifying first time that three cells in a row have a non null value

  1. #1
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Identifying first time that three cells in a row have a non null value

    On the attached I have a set of data where the week of the year is my column header. The "1" in the cells are determined with a distinct row field (removed for privacy) from a pivot table. Earlier I got help here to identify the first non null value in a row and then return it's corresponding column header. I used =IF(COUNTA(A3:K3),INDEX(A$2:K$2,MATCH(TRUE,INDEX(A3:K3<>"",0),0)),"") to achieve it. I want to expand this a bit and need some help. I need a formula to start at the far left and find cells where there are three consecutive non null values in a row and return the column header for the first "1" it encounters when it finds the first 3 consecutive grouping. I've added column P and put values in that I would want returned. I only need the first column header from the first 3 in a row grouping found. If there is no three in a row grouping I'd want it to display text, something like "not valid" I appreciate your time and help with this!

    Mike

    First instance.xlsx

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Again, I didn't download your file...

    Is it specifically 3 consecutive cells? Can there be 4 or 5 (or more) consecutive cells with 1s and do those count as a string of 3 in a row?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    It's AT LEAST 3, but can be any number of consecutive "1" values. I would want to return the column header of the 1st "1" when the count was 3 or more in a row. Thank you!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Try this...

    Data Range
    B
    C
    D
    E
    F
    G
    H
    I
    J
    1
    Header1
    Header2
    Header3
    Header4
    Header5
    Header6
    Header7
    Header8
    Header9
    2
    1
    1
    1
    1
    1
    1
    3
    4
    Header5


    This array formula** entered in B4:

    =IFERROR(INDEX(B1:J1,MATCH(TRUE,COUNTIF(OFFSET(B2,0,COLUMN(INDIRECT("1:"&COUNTA(B1:J1)))-1,1,3),1)=3,0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Last edited by Tony Valko; 03-13-2014 at 03:52 PM.

  5. #5
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by Tony Valko View Post
    Try this...

    Data Range
    B
    C
    D
    E
    F
    G
    H
    I
    J
    1
    Header1
    Header2
    Header3
    Header4
    Header5
    Header6
    Header7
    Header8
    Header9
    2
    1
    1
    1
    1
    1
    1
    3
    4
    Header5


    This array formula** entered in B4:

    =IFERROR(INDEX(B1:J1,MATCH(TRUE,COUNTIF(OFFSET(B2,0,COLUMN(INDIRECT("1:"&COUNTA(B1:J1)))-1,1,3),1)=3,0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Tony this works amazing but have one issue that i need help with. I have some data where at least three "1's" do not exist consecutively in a row. In this case it's bringing me back Header 1 as a value. I'd like to return a result of "False" or something when there are not three "1's" consecutively in a row. Any help you can provide is greatly appreciated.
    thank you,
    Mike
    Last edited by hotelmrrsn; 03-14-2014 at 10:15 AM.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Hmmm...

    That shouldn't happen. If there aren't at least 3 consecutive 1s the MATCH function will (should) generate a #N/A error which will cause the IFERROR function to return a blank "".

    Can you post a SMALL sample file that shows what you described?

  7. #7
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by Tony Valko View Post
    Hmmm...

    That shouldn't happen. If there aren't at least 3 consecutive 1s the MATCH function will (should) generate a #N/A error which will cause the IFERROR function to return a blank "".

    Can you post a SMALL sample file that shows what you described?
    Here you go! the column in question is P and I highlighted the cells that should not be returning a value. I did change the formula slightly from the original to bring me back the 3rd column header value in a string of three instead of the first that I asked for originally and made the header column references absolute (hopefully that's not what is causing the issue)
    Thank you again in advance for your time!
    Mike
    First instance.xlsx

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    OK, the tweak you made was causing a problem but after seeing your data layout I made a little tweak to the formula as well (makes it more efficient).

    Array entered** in P3 and copied down:

    =IFERROR(INDEX(A$2:K$2,MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:K$2)-MIN(COLUMN(A$2:K$2)),1,3),1)=3,0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Here's your updated file:

    First instance(2).xlsx

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    how about
    =IFERROR(INDEX($A$2:$K$2,MATCH("111",INDEX(A3:I3&B3:J3&C3:K3,0),0)),"")
    ah i reread the post they are not really all ones are they ????
    if not then
    =iferror(INDEX($A$2:$K$2,MATCH("truetruetrue",INDEX((A3:I3<>"")&(B3:J3<>"")&(C3:K3<>""),0),0)),"") will find the first sequence of 3 non blanks
    Last edited by martindwilson; 03-15-2014 at 11:55 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Nice one!

    Fewer moving parts but I'd array enter and not use the inner INDEX.

    Could get ugly if the condition is to find the first "large number" of consecutive cells.

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    That gave me an idea.

    Since the cells in the sample file DO contain 1s or empty cells...

    Data Range
    A
    B
    C
    D
    E
    F
    G
    H
    1
    Jan
    Feb
    Mar
    Apr
    May
    Jun
    Jul
    Aug
    2
    1
    1
    1
    1
    1
    3
    4
    Jun


    Try this array formula**:

    =IFERROR(INDEX(A1:H1,MATCH(3,(A2:F2)+(B2:G2)+(C2:H2),0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    yep i like that but as you know i find array formulas unnecessary unless really needed
    from the work book
    =INDEX($A$2:$K$2,MATCH(3,INDEX((A3:F3)+(B3:G3)+(C3:H3),0),0))

  13. #13
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    i find array formulas unnecessary unless really needed
    And I like to use as few functions as possible to get the desired result.

  14. #14
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    fair point but when someone accidently just hits enter on a call with the array in it,they often come back here saying "i get value errors" or "it doesn't work now and this was done by some bloke who left 2 years ago"

  15. #15
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Then teach people about array formulas!

    http://www.excelforum.com/showthread.php?t=993164


  16. #16
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    i cant see the benefit..is there any plus to using an array formula ? calculation time? simplicity? or just because "look this is clever"
    sometimes they are really needed especially in older versions of excel where say countifs is not used and sumproduct would be too long
    most times you can avoid arrays using index. also offset is a particular bugbear of mine

  17. #17
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    is there any plus to using an array formula ? calculation time? simplicity? or just because "look this is clever"
    Depending on what the task is, all of the above are applicable.

    As you know, typically array formulas are used for very complex calculations. It may be impossible to use a non-array formula to accomplish the task. Of course, you can load up your file with multitudes of helper formulas.

    most times you can avoid arrays using index.
    Adding an additional INDEX function to avoid array entry doesn't make the formula more efficient. In fact, it's the opposite. All you're doing is adding another function to the formula. The more functions the longer it takes to calculate.

    also offset is a particular bugbear of mine
    There's a lot of misunderstanding about array formulas and volatile functions:

    Array formulas and volatile functions

  18. #18
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by Tony Valko View Post
    OK, the tweak you made was causing a problem but after seeing your data layout I made a little tweak to the formula as well (makes it more efficient).

    Array entered** in P3 and copied down:

    =IFERROR(INDEX(A$2:K$2,MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:K$2)-MIN(COLUMN(A$2:K$2)),1,3),1)=3,0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Here's your updated file:

    First instance(2).xlsx
    Tony, this works great but I need help with one tweak that I can't seem to work out on my own. Currently this formula returns the column header for the first of the three "1's" that it finds. I need to return the column header for the third "1" found. For example on the sheet you sent back to me: the result in P3 would be 2014-03, the results in P10 would be 2014-05, the result in P33 would be 2014-09 and so on. I've tried changing some of the values in the formula but my results seem inconsistent at best. Your help is greatly appreciated.

    thanks!
    Mike.

  19. #19
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    well to keep tony happy you just have to add 2 to the match
    =IFERROR(INDEX($A$2:$H$2,MATCH(3,(A3:I3)+(B3:H3)+(C3:K3),0)+2),"") array entered
    but if you prefer a non array
    =IFERROR(INDEX($A$2:$K$2,MATCH("111",INDEX(A3:I3&B3:J3&C3:K3,0),0)+2),"")
    if you prefer the first formula same thing applies
    =IFERROR(INDEX(A$2:K$2,MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:K$2)-MIN(COLUMN(A$2:K$2)),1,3),1)=3,0)+2),"") array entered
    Last edited by martindwilson; 03-17-2014 at 10:17 AM.

  20. #20
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    well to keep tony happy you just have to add 2 to the match
    =IFERROR(INDEX($A$2:$H$2,MATCH(3,(A3:I3)+(B3:H3)+(C3:K3),0)+2),"") array entered
    Now you're getting the idea!

  21. #21
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    well to keep tony happy you just have to add 2 to the match
    =IFERROR(INDEX($A$2:$H$2,MATCH(3,(A3:I3)+(B3:H3)+(C3:K3),0)+2),"") array entered
    but if you prefer a non array
    =IFERROR(INDEX($A$2:$K$2,MATCH("111",INDEX(A3:I3&B3:J3&C3:K3,0),0)+2),"")
    if you prefer the first formula same thing applies
    =IFERROR(INDEX(A$2:K$2,MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:K$2)-MIN(COLUMN(A$2:K$2)),1,3),1)=3,0)+2),"") array entered
    You sir are a gentleman and a scholar. I went w/ the non array and it's working perfectly. One question: as this sheet grows, for example next week i'll add week 12, column L. Will i just modify the report to add in the index D3:L3 ?

    Thank you again!

  22. #22
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Identifying first time that three cells in a row have a non null value

    What? Has Martin's account been hacked? Or is that the genuine "scourge of array formulas" himself offering...an array solution?!
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  23. #23
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    you just have to add 2 to the match
    That will only find the last instance of exactly 3 consecutive cells.

    If there are 3 or more consecutive cells then that will return an incorrect result.

  24. #24
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    i understood it to be find the first 3 identify the column header of the first of that triplet then find the header of the the last of that triplet
    so if the first is matched in column 6 then the last of that triplet must be in column 8
    but for the inserting columns problem one, i'd use tonys first formula and stick a dynamic range in it then you can insert cols before col m one possibility is
    =IFERROR(INDEX(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1),MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))-MIN(COLUMN(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))),1,3),1)=3,0)),"") array entered
    note: i tried using dynamic ranges in the other formulas but they kept giving #value errors when added together either with & or +
    Last edited by martindwilson; 03-17-2014 at 11:38 AM.

  25. #25
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    i understood it to be find the first 3 identify the column header of the first of that triplet then find the header of the the last of that triplet
    so if the first is matched in column 6 then the last of that triplet must be in column 8
    but for the inserting columns problem one, i'd use tonys first formula and stick a dynamic range in it then you can insert cols before col m one possibility is
    =IFERROR(INDEX(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1),MATCH(TRUE,COUNTIF(OFFSET(A3,0,COLUMN(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))-MIN(COLUMN(A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))),1,3),1)=3,0)),"") array entered
    note: i tried using dynamic ranges in the other formulas but they kept giving #value errors when added together either with & or +
    Martin,
    You are correct, what I need to be able to do is ID the first instance (from left to right) where there are three consecutive "1's". Once that group of three is found I then need the value of the third 1's column header. So for example if the first consecutive 1's existed in 6, 7, and 8, i need to return the value of 8. The formula above works for identifying the value header of the 1st 1 in a string of three can it be modified to id the third 1's column header? And to also not return a value where there are not 3 consecutive 1's in a row?

    Thank you!
    Mike

  26. #26
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    i understood it to be find the first 3 identify the column header of the first of that triplet
    Quote Originally Posted by hotelmrrsn View Post
    Martin,
    You are correct, what I need to be able to do is ID the first instance (from left to right) where there are three consecutive "1's".
    Hmmm...

    Then what does this mean:

    Quote Originally Posted by hotelmrrsn View Post
    It's AT LEAST 3, but can be any number of consecutive "1" values. I would want to return the column header of the 1st "1" when the count was 3 or more in a row. Thank you!
    If it's only 3 consecutive cells then it's a lot easier.

  27. #27
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    =iferror(INDEX($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1),MATCH(TRUE,COUNTIF(OFFSET($A3,0,COLUMN($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))-MIN(COLUMN($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))),1,3),1)=3,0)+2),"")
    mind you if you already know the first one and that result is in say 02 eg 2014 - 06
    then you only need to lookup that result
    so p2 would be =if(o2="","",index($2:$2,match(o2,$2:$2,0)+2) which would return 2014 - 08

  28. #28
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by Tony Valko View Post
    Hmmm...

    Then what does this mean:


    If it's only 3 consecutive cells then it's a lot easier.
    Tony,
    Originally it was my goal to find the first but it made more sense to find the 3rd (apologies for the confusion and switching of gears). Three consecutive cells is what I need to key in on (by definition three in a row means that it's chronic or a repeat offender). there are several instances where there are 11 1's in a row however. But in the case where there are multiple 1's consecutively i only need the column header value of the 3rd one. For example: the column headers represent a week of the year. If there are 1's in all 11 weeks i would want a value of 2014-3 (the third consecutive instance). If there is one where there are 1's in week 7, 8, 9, 10, and 11, i would want a value of 2014-09 (the third consecutive instance). If there is a row where there are not three 1's consecutively it should be blank or return no result. Hopefully that's clearer than mud :-). Again, I thank both of you for your time!

  29. #29
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    =iferror(INDEX($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1),MATCH(TRUE,COUNTIF(OFFSET($A3,0,COLUMN($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))-MIN(COLUMN($A$2:INDEX($2:$2,MATCH("grand total",$2:$2,0)-1))),1,3),1)=3,0)+2),"")
    mind you if you already know the first one and that result is in say 02 eg 2014 - 06
    then you only need to lookup that result
    so p2 would be =if(o2="","",index($2:$2,match(o2,$2:$2,0)+2) which would return 2014 - 08
    Martin,
    This is really close to what I need, the last piece is that when there are NOT three 1's in a row I need it to return no results, but currently it's returning a value of 2014-03 in those rows. for example i have a row with a 1 in B2, F2,H2 and L2 and it's returning a value of 2014-03. Thank you again for your time and patience with me!
    Mike

  30. #30
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Identifying first time that three cells in a row have a non null value

    Ok, thanks for the clarification!

    Since Martin has taken over I'm moving on.

    Good luck!

  31. #31
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by Tony Valko View Post
    Ok, thanks for the clarification!

    Since Martin has taken over I'm moving on.

    Good luck!
    Tony thank you again for all of your time and patience, it's greatly appreciated!

  32. #32
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Identifying first time that three cells in a row have a non null value

    are you sure you are using the right row references? it gives blank for me
    Attached Files Attached Files

  33. #33
    Registered User
    Join Date
    03-11-2014
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Identifying first time that three cells in a row have a non null value

    Quote Originally Posted by martindwilson View Post
    are you sure you are using the right row references? it gives blank for me
    Yep, had a bad reference in there. I'm getting blanks where i should and I'm set up to add my columns in weekly now. Martin I can't thank you and Tony enough! I'm marking as solved. Thank you again for your time!
    Mike

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel 2010 Identifying data changed in cells and Identifying the changed rows
    By SandyLake in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 01:12 AM
  2. [SOLVED] Run-time error 94; Invalid use of Null
    By williams485 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-29-2012, 09:36 AM
  3. Run Time Error: 94 (invalid use of null)
    By jason_kelly in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-14-2012, 02:06 PM
  4. Identifying earliest expiration date/time
    By Arand in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-09-2010, 08:04 PM
  5. Run Time Error '94' Invalid use of null
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-28-2008, 05:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1