Unfortunately, as you haven't given us models or model #'s it's hard to be certain, but as you say bike 2 is not indexed, it a good bet that it's derailleur is not compatible with the indexed shifter.
The shifter & the derailleur have to be designed together so that the amount of cable pulled by shifter the produces an exact movement by the derailleur.