Question

The picture attached here is my daily work sheet where blue cells show the works I have to do.

As shown, there is numbers in front of the blue ones which are the priority of the tasks.

What i want: I want the blue cells to be displayed in a column sorted by their priority. I have tried Vlookup but failed. Is there any method to do it?

Please helpenter image description here

Was it helpful?

Solution

You could use this condition to copy whatever tasks you need to two columns wherever you like using a separate counter. This condition means if each cell and the cell next to it have Cyan backgrounds:

Sheet1.Cells(i, j).Interior.Color = RGB(0, 255, 255) And Sheet1.Cells(i, j+1).Interior.Color = RGB(0, 255, 255)

Then you can sort them based on their priority.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top