Yea, but this is just excel macro (or im missing something).
I'm looking for a way to implement this on SQL Server database.
I don't have access to this database on weekends, mybe on monday i will make some screens on how it looks right now in SQL.