PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Analytics & Experimentation/Capital One

Analyze ad watch-time with Excel pivots

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's proficiency with Excel PivotTables, date and ISO-week handling, aggregation and ratio metrics (clicks per watch-minute), and deterministic tie-breaking logic for reproducible results.

  • Medium
  • Capital One
  • Analytics & Experimentation
  • Data Scientist

Analyze ad watch-time with Excel pivots

Company: Capital One

Role: Data Scientist

Category: Analytics & Experimentation

Difficulty: Medium

Interview Round: Technical Screen

You are given a flat file with these columns: Date (Excel date, no time zone), UserID, AdID, WatchSeconds (integer ≥ 0), Clicks (integer ≥ 0). Using only Excel (no Power Query), do all of the following precisely: (1) Add helper columns to the source data: Weekday = WEEKDAY([@Date], 2) where Monday=1; ISOWeek = ISOWEEKNUM([@Date]); ISOYear = YEAR([@Date] + 4 - WEEKDAY([@Date], 2)). Explain why ISOYear is required at year boundaries. (2) Build a PivotTable to identify the single calendar date whose Clicks per watch-minute is highest. The ratio must be computed as (SUM Clicks) / (SUM WatchSeconds / 60) using a PivotTable Calculated Field (provide the exact field formula string). Resolve ties by choosing the earliest Date and describe how you’d enforce this tie-break deterministically in Excel. (3) Build a second PivotTable that aggregates total WatchSeconds by ISOYear and ISOWeek and returns the week with the maximum total WatchSeconds. If two weeks tie, pick the later week (by ISOYear then ISOWeek). (4) List two pitfalls that could produce wrong answers when using WEEKNUM/WEEKDAY versus ISO week logic (e.g., weeks spanning Dec/Jan, localized week starts). Output the two answers: the Top Date and the Top ISO week (as ISOYear-W##), and outline, step-by-step, the exact clicks/watch-minute and total WatchSeconds computations you would perform in the PivotTables.

Quick Answer: This question evaluates a data scientist's proficiency with Excel PivotTables, date and ISO-week handling, aggregation and ratio metrics (clicks per watch-minute), and deterministic tie-breaking logic for reproducible results.

Related Interview Questions

  • Analyze Subscription, Insurance, App, and Card Cases - Capital One (medium)
  • Diagnose Flight Delays and Burger Launch - Capital One (easy)
  • How should you renew or replace a show? - Capital One (medium)
  • How would you decide to cancel a TV show? - Capital One (easy)
  • Decide Which Show to Renew - Capital One (medium)
Capital One logo
Capital One
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Analytics & Experimentation
2
0

You are given a flat file with these columns: Date (Excel date, no time zone), UserID, AdID, WatchSeconds (integer ≥ 0), Clicks (integer ≥ 0). Using only Excel (no Power Query), do all of the following precisely: (1) Add helper columns to the source data: Weekday = WEEKDAY([@Date], 2) where Monday=1; ISOWeek = ISOWEEKNUM([@Date]); ISOYear = YEAR([@Date] + 4 - WEEKDAY([@Date], 2)). Explain why ISOYear is required at year boundaries. (2) Build a PivotTable to identify the single calendar date whose Clicks per watch-minute is highest. The ratio must be computed as (SUM Clicks) / (SUM WatchSeconds / 60) using a PivotTable Calculated Field (provide the exact field formula string). Resolve ties by choosing the earliest Date and describe how you’d enforce this tie-break deterministically in Excel. (3) Build a second PivotTable that aggregates total WatchSeconds by ISOYear and ISOWeek and returns the week with the maximum total WatchSeconds. If two weeks tie, pick the later week (by ISOYear then ISOWeek). (4) List two pitfalls that could produce wrong answers when using WEEKNUM/WEEKDAY versus ISO week logic (e.g., weeks spanning Dec/Jan, localized week starts). Output the two answers: the Top Date and the Top ISO week (as ISOYear-W##), and outline, step-by-step, the exact clicks/watch-minute and total WatchSeconds computations you would perform in the PivotTables.

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Analytics & Experimentation•More Capital One•More Data Scientist•Capital One Data Scientist•Capital One Analytics & Experimentation•Data Scientist Analytics & Experimentation
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.