Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 22454

Would like to stack multiple rows of data to single lines

$
0
0

Giving a really simplified example I have a datasheet that looks a little bit like this:

enter image description here

Currently each order has the information on the order, name of customer and address on the main line. But the item and price are on lines below it. What I would like is a way to move the data in the lines at the bottom to fit in with the main line, and where there is an order with more than one item, to have the catering number, name and address copied to accommodate the extra line. So something like this:

enter image description here

I am wondering if there s a macro or formula that can help with this.

The actual file I have contains a lot more data and so a copy and paste job would not be efficient at all.


Viewing all articles
Browse latest Browse all 22454

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>