I've searched for how to do this, and I think it should be simple…but it is not coming to me.
I have a list of vendor names that appear multiple times, which I have written my formule to index them all. However, due to Amazon having a transaction code at the end of each purchase, I have multiple instances which give an appearance of different vendors. How do I use the criteria from the name, to bring them all together to appear as the label of "Amazon", as well as ensure all transaction totals come through only as Amazon.
Here is a snipped of my sheet. Unfortunately the option to use a numerical ID does not align, so I have to use name.
I also need to be sure that the data can be sorted without loosing the formula. Right now, I'm using this formula for the names: =INDEX(DISTINCT({Vendor Name}), 1 + COUNT(Vendor$1:Vendor5))
Thank You