Try going to the terminal and typing "host google.com" and pressing enter. Get anything back? No? Then you're lacking a DNS server setting.
Find out what DNS servers are specified for the other, Internet-capable computers in the office, and then add these entries to your MacBook's network connection. This can be found in the TCP/IP for the connection in System Preferences > Network.