I have seen some similar questions, however, this is slightly different. The passages in John cannot be referring to the 'Holy Spirit' as it was here already, Jesus in John is talking about someone to come after him.
Luke 3:22 2 and the Holy Spirit descended on him in bodily form like a dove. And a voice came from heaven:
Luke chapter 1 verses 39-41: And Mary rose in those days, and went into the hill country with haste, into a city of Juda; And entered into the house of Zacharias and saluted Elisabeth. And it came to pass, that, when Elisabeth heard the salutation of Mary, the babe leaped in her womb; and Elisabeth was filled with the Holy Ghost.
(Genesis 1:2) – from beginning of time - 1 In the beginning God created the heavens and the earth. 2 Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters.
"But I tell you the truth, it is to your advantage that I go away; for if I do not go away, the Paraclete (advocate) shall not come to you; but if I go, I will send him to you." John 16:7 also John 16: 12-14 and a number of other passages.
Jesus also mentioned as parakletos 1 John 2:1 Jesus is a parakletos (advocate), serving as a heavenly intercessor with the Father.
"And I will pray the Father, and He will give you another Paraclete, ["Paraclete" (Parakletos, Advocate, Comforter, Helper)] that he may abide with you into the age (to come)."John 14:16
John 1:20-24 20He did not refuse to confess, but openly declared, “I am not the Christ.” 21“Then who are you?” they inquired. “Are you Elijah?” He said, “I am not.” “Are you the Prophet?” 22So they said to him, “Who are you? We need an answer for those who sent us. What do you say about yourself?” 23John replied in the words of Isaiah the prophet: “I am the voice of one calling in the wilderness, ‘Make straight the way for the Lord.’” 24Then the Pharisees who had been sent 25asked him, “Why then do you baptize, if you are not the Christ, nor Elijah, nor the Prophet?”… "2 Peter 1:21" - For prophecy never had its origin in the human will, but prophets, though human, spoke from God as they were carried along by the Holy Spirit; “John 15:26" - When the Advocate comes, whom I will send to you from the Father—the Spirit of truth who goes out from the Father—he will testify about me”. “Ephesians 4:30" - And do not grieve the Holy Spirit of God, with whom you were sealed for the day of redemption. “Acts 4:31" - After they prayed, the place where they were meeting was shaken. And they were all filled with the Holy Spirit and spoke the word of God boldly. "John 16:13" Howbeit when he, the Spirit of Truth, is come, he will guide you into all truth; for he shall not speak of himself; but what so ever he shall hear, that shall he speak: and he will show you things to come." John chapter 16: verses 7-8: “Nevertheless I tell you the truth; it is expedient for you that I go away: for if I go not away, the Comforter will not come unto you; but if I depart, I will send him unto you. And when he is come, he will reprove the world of sin, and of righteousness, and of judgment.”