# macro sequence order

#### kelvin_9

##### Active Member
HI, I use below code to run my worksheet but I am wondering if this can be run with a special sequence order?
I have my crew schedule by scheduler, but usually mess with name sequence.
how can i work with my request with my code here, Brenda first and then, Luna, Zoe, Debby, Elaine, Ling, Mei, Shera
(ps. if i can set another pattern anytime without messy again, that will be great!!! example: Brenda, Debby, Elaine, Ling, Luna, Mei, Shera, Zoe)

let me know if you need my workbook for easy reference

THANK YOU SO MUCH FOR YOUR KIND HELP

Cell Formulas
RangeFormula
D49D49=IFERROR((VLOOKUP(\$A49,CALENDAR!\$A:\$H,2,FALSE)),"")
H49H49=IFERROR((VLOOKUP(\$A49,CALENDAR!\$A:\$H,3,FALSE)),"")
D51:D58D51=IF(OR(C51="*",C51=""),IF(ISNUMBER(MATCH(D\$49,INDEX(RDO!\$A\$2:\$M\$100,,MATCH(RESULT!\$B51,RDO!\$A\$1:\$M\$1,0)),0)),"RDO",""),IF(ISNUMBER(MATCH(D\$49,INDEX(RDO!\$A\$2:\$M\$100,,MATCH(RESULT!\$B51,RDO!\$A\$1:\$M\$1,0)),0)),"SHOULD BE RDO",IF(C51="00:00 - 00:00",VLOOKUP(\$A51,LASTWEEK!\$A:\$I,3,FALSE),C51)))
H51:H58H51=IF(OR(G51="*",G51=""),IF(ISNUMBER(MATCH(H\$49,INDEX(RDO!\$A\$2:\$M\$100,,MATCH(RESULT!\$B51,RDO!\$A\$1:\$M\$1,0)),0)),"RDO",""),IF(ISNUMBER(MATCH(H\$49,INDEX(RDO!\$A\$2:\$M\$100,,MATCH(RESULT!\$B51,RDO!\$A\$1:\$M\$1,0)),0)),"SHOULD BE RDO",IF(G51="00:00 - 00:00",VLOOKUP(\$A51,LASTWEEK!\$A:\$I,4,FALSE),G51)))

Last edited:

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### Dossfm0q

##### Banned User
is this linked with other source

#### kelvin_9

##### Active Member
yes, i have a schedule draft from scheduler
and then i use macro(formula)to run like this
but i cant set the sequence like i said

do you need my workbook?

may be

Replies
5
Views
174
Replies
5
Views
148
Replies
8
Views
154
Replies
1
Views
99
Replies
1
Views
213

1,129,659
Messages
5,637,622
Members
416,977
Latest member
kdoederlein

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

### Which adblocker are you using?

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

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