Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top