Please tell me why this macro is giving a false outcome

oldbrewer

Well-known Member
Joined
Apr 11, 2010
Messages
11,012
It is probably blindingly obvious but I am stumped - logic is explained below

[TABLE="width: 1240"]
<colgroup><col span="3"><col><col><col span="4"><col><col></colgroup><tbody>[TR]
[TD]ID[/TD]
[TD]COLOR[/TD]
[TD]TEMP[/TD]
[TD]StartDate[/TD]
[TD]EndDate[/TD]
[TD]Y/N[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green1[/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]red2[/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]macro[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green3[/TD]
[TD][/TD]
[TD="align: right"]01/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]rrow = 39[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] For k = 1 To 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] Match = Cells(k + 32, 1)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green4[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] For j = 2 To 26[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] If Cells(j, 1) = Match Then GoTo 20 Else GoTo 50[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green5[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]20 If Cells(j, 2) <> "" And Cells(j, 3) <> "" And Cells(j, 4) <> "" Then GoTo 40 Else GoTo 50[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]40 If Cells(j, 5) <> "" And Cells(j, 6) <> "" Then GoTo 45[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]45 rrow = rrow + 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green6[/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] For z = 1 To 7[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] Cells(rrow, z) = Cells(j, z)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] Next z[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green7[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]50 Next j[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Next k[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green8[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]End Sub[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green9[/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]the macro is meant to look for all the 123ABC rows (as defined in A33)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]red1[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]that have no blanks in columns 2 to 6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD]row 26[/TD]
[TD][/TD]
[TD]and print them from row 40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]col F[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]and then repeat the search for 456DEF (A34)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]I cannot figure out why the very first row (color = green1)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]appears in the output table[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]row 33[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]I have checked that E2 really is a blank cell by copying another blank cell into it[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green1[/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]red2[/TD]
[TD]hot[/TD]
[TD="align: right"]01/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]green8[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]123ABC[/TD]
[TD]red1[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green4[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green5[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD="align: right"]31/01/2017[/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]456DEF[/TD]
[TD]green7[/TD]
[TD]hot[/TD]
[TD="align: right"]08/01/2017[/TD]
[TD][/TD]
[TD]Y[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
This line

Code:
40    If Cells(iRow, 5) <> "" And Cells(iRow, 6) <> "" Then GoTo 45

... doesn't do anything. It goes to line 45 irrespective.
 
Upvote 0
How about instead,

Code:
Sub ob()
  Dim iRowOut       As Long
  Dim cell          As Range
  Dim iRow          As Long
  Dim iCol          As Long

  iRowOut = 39

  For Each cell In Range("A33:A34")
    For iRow = 2 To 26
      If Cells(iRow, 1) = cell.Value Then
        If WorksheetFunction.CountA(Rows(iRow).Range("B1:F1")) = 5 Then
          iRowOut = iRowOut + 1
          Rows(iRow).Range("A1:F1").Copy Cells(iRowOut, "A")
        End If
      End If
    Next iRow
  Next cell
End Sub

[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][td="bgcolor:#C0C0C0"]
F​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
ID
[/td][td="bgcolor:#F3F3F3"]
COLOR
[/td][td="bgcolor:#F3F3F3"]
TEMP
[/td][td="bgcolor:#F3F3F3"]
StartDate
[/td][td="bgcolor:#F3F3F3"]
EndDate
[/td][td="bgcolor:#F3F3F3"]
Y/N
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]123ABC[/td][td]
green1​
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]123ABC[/td][td]
[/td][td]
[/td][td]
1/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]123ABC[/td][td]
red2​
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]123ABC[/td][td]
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td][/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]123ABC[/td][td]
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
7​
[/td][td]123ABC[/td][td]
green3​
[/td][td]
[/td][td]
1/1/2017​
[/td][td]
31/01/2017​
[/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
8​
[/td][td]123ABC[/td][td]
[/td][td]
[/td][td]
1/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
9​
[/td][td]123ABC[/td][td]
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
10​
[/td][td]456DEF[/td][td]
green4​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
11​
[/td][td]456DEF[/td][td]
[/td][td]
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
12​
[/td][td]456DEF[/td][td]
green5​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
13​
[/td][td]456DEF[/td][td]
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
14​
[/td][td]456DEF[/td][td]
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
15​
[/td][td]456DEF[/td][td]
green6​
[/td][td]
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
16​
[/td][td]456DEF[/td][td]
[/td][td]
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
17​
[/td][td]456DEF[/td][td]
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
18​
[/td][td]456DEF[/td][td]
green7​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
19​
[/td][td]456DEF[/td][td]
[/td][td]
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
20​
[/td][td]123ABC[/td][td]
green8​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
21​
[/td][td]123ABC[/td][td]
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
22​
[/td][td]123ABC[/td][td]
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
23​
[/td][td]123ABC[/td][td]
green9​
[/td][td]
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
24​
[/td][td]123ABC[/td][td]
[/td][td]
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
25​
[/td][td]123ABC[/td][td]
red1​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
26​
[/td][td]123ABC[/td][td]
[/td][td]
[/td][td]
8/1/2017​
[/td][td][/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
27​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
32​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
33​
[/td][td]123ABC[/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
34​
[/td][td]456DEF[/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
35​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
40​
[/td][td]123ABC[/td][td]
red2​
[/td][td]
hot​
[/td][td]
1/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
41​
[/td][td]123ABC[/td][td]
green8​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
42​
[/td][td]123ABC[/td][td]
red1​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
43​
[/td][td]456DEF[/td][td]
green4​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
44​
[/td][td]456DEF[/td][td]
green5​
[/td][td]
hot​
[/td][td]
8/1/2017​
[/td][td]
31/01/2017​
[/td][td]
Y​
[/td][/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top