Tribal leader Sampatiya Uikey, elected last month in a by-election from Madhya Pradesh, only replaced her own party's Anil Dave, a Union Minister, who passed away in May.
For the BJP, Irani retains her seat while Shah would take the place of party member Dilipbhai Pandya who retires on August 18.
Among the five candidates, the Trinamool replaced was D. Bandyopadhyay. Its new candidates Manas Bhuiyan and Shankar Chhetri won the elections, in which the TMC took away a CPI-M seat being vacated by Sitaram Yechury, whose party declined to renominate him.
The BJP may have gained in recent elections but the NDA coalition headed by it will still lag behind the opposition in the Rajya Sabha for some time to come. Along with allies, the NDA accounts for 101 members. This figure includes 13 of the AIADMK. To this can be added the new ally JD-U, which has 10 members in the Rajya Sabha.
There could be doubts over the loyalty of two members - Sharad Yadav and Ali Anwar Ansari, who have expressed reservations over their party chief and Bihar Chief Minister Nitish Kumar's decision to go with the BJP.
Since the 2014 victory in the Lok Sabha polls, the BJP has a Prime Minister whose party has a majority on its own in the Lok Sabha for the first time in 30 years, besides the President and the Vice President of its choice.
But to have a majority in the Rajya Sabha, the party may have to wait for some more time.
On the opposition side, the Congress has 57 on its own. The others opposed to the government are 56 in number. Together the opposition accounts for 113 members.
Those not committed to either side account for 13. They include Biju Janata Dal (8), Telangana Rashtra Samithi (3), Indian National Lok Dal (1) and YSR Congress Party (1). There are six Independents, most of whom side with the government.
The Upper House has two vacancies, including the one caused by the resignation of BSP chief Mayawati.
Following is the strength of parties in the Rajya Sabha after the recent elections:
Samajwadi Party: 18
Trinamool Congress: 13
Janata Dal-United: 10
Biju Janata Dal: 8
Telugu Desam: 6
Bahujan Samaj Party: 5
Nationalist Congress Party: 5
Shiv Sena: 3
Shiromani Akali Dal: 3
Telangana Rashtra Samithi: 3
Rashtriya Janata Dal: 3
Peoples Democratic Party: 2
Indian National Lok Dal: 1
Sikkim Democratic Front: 1
Bodoland People's Front: 1
Jharkhand Mukti Morcha: 1
Kerala Congress-Mani: 1
Republican Party of India-A: 1
Janata Dal-Secular: 1
Indian Union Muslim League: 1
Naga People's Front: 1
YSR Congress: 1
Vacancies: One each in Telangana and Uttar Pradesh