macro sequence order

kelvin_9

Active Member
Joined
Mar 6, 2015
Messages
444
Office Version
  1. 2019
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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
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?

thanks so much for answering
 
Upvote 0

Forum statistics

Threads
1,215,634
Messages
6,125,934
Members
449,275
Latest member
jacob_mcbride

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