Scott Settersten
Analyst · Wells Fargo.
Yes. That's a broad question. But let me first start out by saying, just, I guess, reiterating how proud we are of our teams, the e-com digital teams, the distribution centers, our store associates and all the support people that work with them. I mean it was a spectacular outcome to deliver a complex, that 200% year-over-year expansion, just really a great outcome overall, with the thought being, that's the average for the quarter. At some point during the quarter, it was higher than that, right, higher than 200%. So very proud of the outcomes there.
When we think about, over time, the e-commerce business, we haven't been shy about sharing the challenges we have with rate. I mean, everybody is very aware of that overall. So when we think about what we're trying to balance is rate versus dollars and speed versus cost. And we've talked to investors in recent years about the heavy investment cycle we've been in to support that part of our business. And it's really worked to our advantage now, right, in this time of crisis and change pivot point with consumers. So very happy what we've been doing in recent years to support that business, and obviously, that's going to be the trend for the future as well. So we'll continue to be focused there.
When we think about the margin profile overall in the future, again, our historical guide was that it was going to be a 20 to 40 basis point headwind. Obviously, that's not what it is in this time and space. We're happy with the sequential improvement we saw from the first quarter, right? And we expect that to continue to moderate sequentially as we go deeper into 2020.
And we're thinking and working collectively on other levers we can pull to try to mitigate some of that rate headwind, specifically in the e-commerce space. So things like BOPIS, we've been talking about and curbside now that we have that available to us. And again, those are higher-ticket transactions typically and better margin profile file overall. Our DCs are operating more efficiently now, so that helps offset some of that headwind.
And then we're thinking about other parts of the business, right? Mary pointed to cost optimization. So it's not just an e-commerce question. It's more of what else are we looking at overall for the enterprise to help optimize the overall margin profile of the business, not just the e-com piece of it.
So the entire team is focused on that, and we're doing a lot of work now framing up 2021 in how we deliver the best overall financial result there and then start marching back to healthier operating margins.