Hey guys,
Dunno if this is an easy one for you excel guru's out there but i'll give it a stab.
I need a macro that will view a group of cells i have selected and delete any rows that have an identical value in each selected cell in that row.
EG.
Mark, procured, processed, fabricated, welded, despatched
item(a), 1, 1, 1, 1, 1
item(b), 1, 1, 1, 1, 2
item(c), 1, 1, 1, 1, 1
item(d), 1, 2, 2, 1, 1
I i draged my cursor over the data in the procured, processed, fabricated, welded, despatched columns and ran the macro it would need to delete row with item(a) and item(c) because those values were identical in each cell.
I assume i would start the macro with:
For Each cell In Selection <-- as this would use the selected cells for the data to filter, but i dunno where to go from there.
Cheers guys,
Ant
Dunno if this is an easy one for you excel guru's out there but i'll give it a stab.
I need a macro that will view a group of cells i have selected and delete any rows that have an identical value in each selected cell in that row.
EG.
Mark, procured, processed, fabricated, welded, despatched
item(a), 1, 1, 1, 1, 1
item(b), 1, 1, 1, 1, 2
item(c), 1, 1, 1, 1, 1
item(d), 1, 2, 2, 1, 1
I i draged my cursor over the data in the procured, processed, fabricated, welded, despatched columns and ran the macro it would need to delete row with item(a) and item(c) because those values were identical in each cell.
I assume i would start the macro with:
For Each cell In Selection <-- as this would use the selected cells for the data to filter, but i dunno where to go from there.
Cheers guys,
Ant