Move up the queue when modified

electronictokwa

Board Regular
Joined
Oct 25, 2011
Messages
122
Hi guys! I hope you can help me out :)

I have a table below with test names and modifiers (yes or no). What I need is for the bottom name to go up the queue every time it is modified by entering a value in cell next to it. It is even possible? Any ideas?

<style type="text/css">
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</style>


[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]Name[/TH]
[TH]Modified (Y/N)[/TH]
[/TR]
[TR]
[TD]Test 1[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Test 2[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Test 3[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Test 4[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Test 5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Assuming the first list in columns A, B, C, the second in columns E, F, G and headers in row 1, see if this is OK

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    Dim cellB As Range, cellF As Range, ans As Long
    
    If Target.Count > 1 Then Exit Sub
    Set cellB = Range("B1").End(xlDown)
    Set cellF = Range("F1").End(xlDown)
    
    If Target.Address = cellB.Address Then
        If cellB.Offset(, 1) = "" Then cellB.Offset(, 1) = Now: Exit Sub 'New entry
        Application.EnableEvents = False
        If Range("E2") = "" Then
            Range(cellB.Offset(, -1), cellB.Offset(, 1)).Cut Range("E2")
            Range("G2") = Now
        Else
            Range("E2", Range("E1").End(xlDown).Offset(, 2)).Cut Range("E3")
            Range(cellB.Offset(, -1), cellB.Offset(, 1)).Cut Range("E2")
            Range("G2") = Now
        End If
        Application.EnableEvents = True
    End If
    
    If Target.Address = cellF.Address Then
        If cellF.Offset(, 1) = "" Then cellF.Offset(, 1) = Now: Exit Sub 'New entry
        Application.EnableEvents = False
        If Range("A2") = "" Then
            Range(cellF.Offset(, -1), cellF.Offset(, 1)).Cut Range("A2")
            Range("C2") = Now
        Else
            Range("A2", Range("A1").End(xlDown).Offset(, 2)).Cut Range("A3")
            Range(cellF.Offset(, -1), cellF.Offset(, 1)).Cut Range("A2")
            Range("C2") = Now
        End If
        Application.EnableEvents = True
    End If
    
End Sub

M.

The NAMES are not rotating at all. Yes, this is correct:

the first list in columns A, B, C, the second in columns E, F, G and headers in row 1
 
Upvote 0

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
It works for me

You have entered this

A B C D E F G
[TABLE="class: grid, width: 600"]
<tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Name
[/TD]
[TD="width: 64, bgcolor: transparent"]Modified
[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"]Name
[/TD]
[TD="width: 64, bgcolor: transparent"]Modified
[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 1
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 13
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 2
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 14
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 3
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 15
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 4
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 16
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 5
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 17
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 6
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 18
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 7
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 19
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 8
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 20
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 9
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 21
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 10
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 22
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 11
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 23
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 12
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44
[/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 24
[/TD]
[TD="bgcolor: transparent"]N
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"][/TD]
[TD="bgcolor: transparent"]Name 25
[/TD]
[TD="bgcolor: transparent"]Y
[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45
[/TD]
[/TR]
</tbody>[/TABLE]


Then you change column B (Name 12) to N and you get

A B C D E F G

[TABLE="class: grid, width: 600"]
<colgroup><col style="width: 48pt;" span="2" width="64"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;" width="111"> <col style="width: 48pt;" span="3" width="64"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;" width="111"> <tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Name[/TD]
[TD="width: 64, bgcolor: transparent"]Modified[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date[/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"]Name[/TD]
[TD="width: 64, bgcolor: transparent"]Modified[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 1[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 12[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 2[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 13[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 3[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 14[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 4[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 15[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 5[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 16[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 6[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 17[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 7[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 18[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 8[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 19[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 9[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 20[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 10[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 21[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 11[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 22[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 23[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 24[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 25[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
</tbody>[/TABLE]


Then you change column F (Name 25) to N and you get

A B C D E F G

[TABLE="class: grid, width: 600"]
<colgroup><col style="width: 48pt;" span="2" width="64"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;" width="111"> <col style="width: 48pt;" span="3" width="64"> <col style="width: 83pt; mso-width-source: userset; mso-width-alt: 4059;" width="111"> <tbody>[TR]
[TD="width: 64, bgcolor: transparent"]Name[/TD]
[TD="width: 64, bgcolor: transparent"]Modified[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date[/TD]
[TD="width: 64, bgcolor: transparent"] [/TD]
[TD="width: 64, bgcolor: transparent"]Name[/TD]
[TD="width: 64, bgcolor: transparent"]Modified[/TD]
[TD="width: 111, bgcolor: transparent"]Modified Date[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 25[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:46[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 12[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 1[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 13[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 2[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 14[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 3[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 15[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 4[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 16[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 5[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 17[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 6[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 18[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 7[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 19[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 8[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 20[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 9[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 21[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 10[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 22[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Name 11[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:44[/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 23[/TD]
[TD="bgcolor: transparent"]Y[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"] [/TD]
[TD="bgcolor: transparent"]Name 24[/TD]
[TD="bgcolor: transparent"]N[/TD]
[TD="bgcolor: transparent, align: right"]05/11/2012 17:45[/TD]
[/TR]
</tbody>[/TABLE]


Is this what you want?

M.
 
Upvote 0
Forgot to say

If columns C or F are blank it takes the value as a new entry (no rotation) and automatically puts the date/hour (Now) in columns C or G.
Re-enter the values in B and F and you can see what happens.

This was the only way i could find to allow new entries and to rotate the names when a modification on , either column B or F, occurs.

M.
 
Upvote 0
Forgot to say

If columns C or F are blank it takes the value as a new entry (no rotation) and automatically puts the date/hour (Now) in columns C or G.
Re-enter the values in B and F and you can see what happens.

This was the only way i could find to allow new entries and to rotate the names when a modification on , either column B or F, occurs.

M.

Sorry for the late reply. I tested the code only now. This will work! Thanks so much for the effort!
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,917
Members
452,366
Latest member
TePunaBloke

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