I'm trying to sum multiple columns if the first column is the same. I was trying to use the consolidate function but I also need the order date and customer name to remain (it changes if I consolidate).
Here's an example of an input:
Here's what I'd like it to output:
The number of rows will be dynamic but the number of columns will be static. It can output right over the existing data or under the last row. I have scripting to copy the resulting cells into another sheet.
Sorry my code that I've been banging my head on is on my work computer but my while loops kept getting hung until I hit Esc to stop the macro then it all magically calculates properly. I am hoping there are more elegant solutions than the one I've been working on.
Thanks in advance for your time and help!
Here's an example of an input:
Here's what I'd like it to output:
The number of rows will be dynamic but the number of columns will be static. It can output right over the existing data or under the last row. I have scripting to copy the resulting cells into another sheet.
Sorry my code that I've been banging my head on is on my work computer but my while loops kept getting hung until I hit Esc to stop the macro then it all magically calculates properly. I am hoping there are more elegant solutions than the one I've been working on.
Thanks in advance for your time and help!