Prioritize importance

samwalsh

New Member
Joined
Jan 8, 2016
Messages
34
Currently the priority column is blank, but I would like to have it look like below. Trying to figure out how to get the order of importance starting from 1 and up and then 1 again once it goes to a different " Line #" only when the "status" is listed as OverDue otherwise it will just transfer over what is in the "Status" column. Gave up after not being able to get this to work
Code:
=IF(C2<>"Scheduled",C2,IF(A2<>A1,1,IF(B2<>B1,IF(ISNUMBER(E1)=TRUE,E1+1,1))))

LineSetupStatusWork #Priority
Line 28867Doneabc123Done
Line 28869Doneabc124Done
Line 28869At Lineabc125At Line
Line 28870OverDueabc1261
Line 28870OverDueabc1271
Line 28871Doneabc128Done
Line 28875Readyabc129Ready
Line 28875Readyabc130Ready
Line 28875Readyabc131Ready
Line 28875Readyabc132Ready
Line 28876OverDueabc1331
Line 28877OverDueabc1342
Line 28877OverDueabc1351
Line 28877OverDueabc1361
Line 28877OverDueabc1371
Line 28883OverDueabc1382
Line 28883OverDueabc1392
Line 28884OverDueabc1403
Line 89366Doneabc142Done
Line 89367At Lineabc143At Line

<tbody>
</tbody>
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,215,157
Messages
6,123,341
Members
449,097
Latest member
thnirmitha

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