The Blaugrana beat Osasuna 6-1 on aggregate in the last 16 to book their ticket for the final eight of the competition and will now have to deal with the holders if they are to reach the semi-finals.
"Real Madrid are a great rival. The quarter-finals will be great and exciting for the spectators. Both Barca and Madrid are teams that, no matter what competition we are playing in, always try to win," Guardiola was quoted as saying on the club's official website.
The Barcelona boss then went on to stress that the outcome of the cup tie won't have any effect on the Primera Division title race.
"It seems as though whatever the result is, the world will end. However, whether we progress or not, the games in La Liga are assured. When you play against rivals like Madrid the possibilities of winning or losing are always there.
"If we were five points ahead, we’d go into this tie to win it just as we will go to win it being five points behind, just like Real Madrid would."
The first leg of the quarter-final takes place at the Santiago Bernabeu on January 18.
Starting in November and continuing through January, Goal.com is publishing exclusive extracts from Graham Hunter's highly-anticipated new book, 'Barca: The Making of the Greatest Team in the World'. On Friday, the latest extract will take a closer look at the exciting emergence of Fifa Ballon d'Or winner Lionel Messi at Camp Nou: Don't miss it!