This question tests correct preposition usage with events. In English, when referring to someone's presence at a gathering such as a party, wedding, meeting, or concert, the preposition "at" is used. So the natural sentence is "I did not see you at the office party," meaning the speaker looked for the person during the event but did not spot them.
The other prepositions do not fit this context. "In" suits physical enclosures like rooms or containers, not social events. "For" expresses purpose, reason, or duration, which does not match the idea of being present somewhere. "On" is reserved for days, dates, and physical surfaces, none of which apply to a party.
Since English grammar pairs events like parties with the preposition "at", the correct answer is option 3, at.