vba - Excel Macro to combine cells of data when data matches in another column -
the best way can explain problem showing few screenshots.
i need turn data this:
[
into displays this:
there multiple part numbers in file, , need macro take data matching part number , transform data displayed in second image. part numbers grouped data together, wouldn't need run loop through top every single time, adding entries each new piece of data. needs done years well, because way data presented, in range of years, , need entry each year in range.
additional information:
i using data prep category data bigcommerce site, working year/make/model plugin on site, create vehicle lookup system. in order user vehicle accurately categories need listed way in second picture, needs result of macro.
i thank takes time this, cut down time spend doing manually huge amount.
you can formula (without actual vba):
- in cell f2 write:
="ymm/"&c2&"/"&d2&"/"&e2&";" - in cell f3 write:
=f2&"ymm/"&c3&"/"&d3&"/"&e3&";" - drag down formula in f3 until last row.
- the last row contain entire string of vehicles.
i noticed may have duplicate values. can use built in remove duplicates feature remove before using above technique.


Comments
Post a Comment