There is list of values (not text, numbers only) in document (for example from B3 to B14). Values may appear in different cells in the list and not always in all of these cells of the list. There may also be empty cells between cells with values.
These values from the list need to be converted into another list where unique values appear. Not unique at all, but unique between cells where the value is break by different values (between cells where different values is appearing). If the value appears again after other values, it is again considered a unique value (for example, if there are values in the list 16, 25, 25, 16, 25, then unique values are 16, 25, 16, 25).
Below these unique values, it should appear how many times these values occur in adjacent cells (ignoring empty cells).
Then it is necessary to create a cells where values are appearing in to mirrored manner.
How to do this in Excel 2019?

