Unless we assume the Gospel accounts always list every person who is in attendance at every event (not a great assumption -- imagine the feeding of the 5000!) the Gospel accounts present a simple, consistent picture of this event.
59 And when Joseph had taken the body, he wrapped it in a clean linen
60 And laid it in his own new tomb, which he had hewn out in the rock:
and he rolled a great stone to the door of the sepulchre, and
61 And there was Mary Magdalene, and the other Mary, sitting over
against the sepulchre. (Matthew 27:59-61)
45 And when he knew it of the centurion, he gave the body to Joseph.
46 And he bought fine linen, and took him down, and wrapped him in the
linen, and laid him in a sepulchre which was hewn out of a rock, and
rolled a stone unto the door of the sepulchre.
47 And Mary Magdalene and Mary the mother of Joses beheld where he was
laid. (Mark 15:45-47)
53 And he took it down, and wrapped it in linen, and laid it in a
sepulchre that was hewn in stone, wherein never man before was laid.
54 And that day was the preparation, and the sabbath drew on.
55 And the women also, which came with him from Galilee, followed
after, and beheld the sepulchre, and how his body was laid.
56 And they returned, and prepared spices and ointments; and rested
the sabbath day according to the commandment. (Luke 23:53-56)
John's account is quoted in the OP.
From Matthew, Mark, and Luke we know that Joseph and several female disciples were present for the burial. John also tells us that Nicodemus assisted Joseph.
Luke points out that time was running short before the Sabbath, which meant the burial preparations were rushed. It is possible that multiple individuals brought spices, and it is possible that a portion of those spices were wrapped with the body on the day of the crucifixion, but the quantity of spices mentioned by John would have taken some time to manage.
The likely explanation then is this:
- Joseph secured Jesus' body
- Nicodemus (and possibly others) provided spices for Jesus' body
- Joseph & Nicodemus prepared a hurried burial before the Sabbath; several female disciples were present and assisted as appropriate. They were all there at the same time.
- A stone was rolled in front of the opening of the tomb
- After the Sabbath Mary, Mary, Joanna, Salome (and possibly others) returned to the tomb to finish what they did not have time to complete on the day of the crucifixion.
But the stone had been moved and there was no body to dress. Happy Easter!