It will be necessary to know the notes on the fifth string in order to know on which fret a Root Five chord must be fretted. The adjacent diagram illustrates all notes on the fifth string up to the 13th fret. Try naming a chord and moving to the correct fret. A Practice this until you can do it instantly.
Other chord shapes using Root Five, Major, Minor, 7th chords etc. can be used the same way as follows.