Excel guide · 4 min read
How to calculate win rate in Excel
=COUNTIFS(F2:F15,"Closed Won")/COUNTIFS(F2:F15,"Closed*"). Here 6 won out of 11 closed is a 55% win rate.Sample data
Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.
| A | B | C | D | E | F | G | H | I | J | K | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Deal | Rep | Source | Created | Closed | Stage | Amount | Cycle days | Setting | Value | |
| 2 | D-301 | Maya | Inbound | May 4, 2026 | Jun 11, 2026 | Closed Won | 8400 | 38 | Quarter start | Jul 1, 2026 | |
| 3 | D-302 | Luis | Outbound | May 12, 2026 | Jul 2, 2026 | Closed Lost | 15000 | 51 | Quarter end | Sep 30, 2026 | |
| 4 | D-303 | Maya | Referral | May 20, 2026 | Jun 18, 2026 | Closed Won | 12500 | 29 | |||
| 5 | D-304 | Priya | Inbound | Jun 2, 2026 | Jul 21, 2026 | Closed Lost | 6200 | 49 | |||
| 6 | D-305 | Luis | Inbound | Jun 9, 2026 | Aug 4, 2026 | Closed Won | 4800 | 56 | |||
| 7 | D-306 | Priya | Outbound | Jun 23, 2026 | Aug 19, 2026 | Closed Lost | 22000 | 57 | |||
| 8 | D-307 | Maya | Outbound | Jul 6, 2026 | Sep 1, 2026 | Closed Lost | 9600 | 57 | |||
| 9 | D-308 | Priya | Referral | Jul 14, 2026 | Aug 26, 2026 | Closed Won | 7300 | 43 | |||
| 10 | D-309 | Luis | Outbound | Jul 28, 2026 | Sep 22, 2026 | Closed Lost | 18500 | 56 | |||
| 11 | D-310 | Maya | Inbound | Aug 11, 2026 | Sep 15, 2026 | Closed Won | 5600 | 35 | |||
| 12 | D-311 | Priya | Inbound | Aug 25, 2026 | Oct 8, 2026 | Closed Won | 9900 | 44 | |||
| 13 | D-312 | Luis | Referral | Sep 8, 2026 | Negotiation | 14000 | |||||
| 14 | D-313 | Maya | Outbound | Sep 29, 2026 | Proposal | 11000 | |||||
| 15 | D-314 | Priya | Inbound | Oct 13, 2026 | Discovery | 6500 |
Download this sheet as an Excel practice file (.xlsx)
Won divided by closed, not by every deal
Export your deals with the rep, the source, the created and closed dates, the stage and the amount. Most CRMs use stages like "Closed Won" and "Closed Lost" for finished deals and other names for open ones.
The asterisk in "Closed*" is a wildcard: it counts every stage that starts with Closed, so won and lost together. 6 of the 11 closed deals were won: 54.5%. Dividing by all 14 deals gives 42.9%, and that number drops every time someone adds a new prospect, even if nobody loses anything.
If your stages are just "Won" and "Lost", use =COUNTIFS(F2:F15,"Won")/(COUNTIFS(F2:F15,"Won")+COUNTIFS(F2:F15,"Lost")). Run =UNIQUE(F2:F15) first to see every stage spelling in the export. "Closed won " with a trailing space or a "Closed - Won" variant quietly drops out of the count.
Result: 0.54545454545 shows as 54.5% with Percent format
About 0.545: 6 won out of 11 closed deals.
Win rate by rep
Add a rep condition to both counts. With rep names down a column, point at the name cell instead of typing it, so one formula fills the table. Maya won 3 of 4 (75%), Priya 2 of 4 (50%) and Luis 1 of 3 (33%).
Always put the number of closed deals next to the rate (=COUNTIFS(B2:B15,"Luis",F2:F15,"Closed*") gives 3). With three or four deals each, one more win changes a rep's rate by 20 points or more. Judge reps on a few quarters, not one, and look at what kind of deals each one works: two of Luis's three closed deals were outbound, which this team rarely wins.
Result: 0.75 shows as 75% with Percent format
0.75: Maya won 3 of her 4 closed deals.
Win rate by lead source
Swap the rep column for the source column. Inbound deals won 4 of 5 (80%), referrals 2 of 2, and outbound 0 of 4. That's the kind of gap that changes where you spend time, but check the size first: two referral deals don't prove a 100% rate.
In a grid with sources down column M and reps across row 1, add both conditions: =COUNTIFS(C2:C15,$M2,B2:B15,N$1,F2:F15,"Closed Won")/COUNTIFS(C2:C15,$M2,B2:B15,N$1,F2:F15,"Closed*"). Wrap it in IFERROR(...,"") because many combinations will have no closed deals and would show #DIV/0!.
Result: 0.8 shows as 80% with Percent format
0.8: 4 of the 5 closed inbound deals were won.
Win rate for a quarter: by close date or by created date
"Our Q3 win rate" can mean two things. By close date, it's the deals that finished in Q3: 3 won of 8 closed, 37.5%. That answers "how did we do this quarter?" and it's what most sales reports show.
By created date, it's the deals that started in Q3: 3 of the 5 that have closed so far were won, 60%. That answers "how good were the leads we got in Q3?". It keeps changing until every Q3 deal is closed (two are still open here), so label it as preliminary.
Both use the quarter dates from K2 and K3. Change the date column in the conditions from E (Closed) to D (Created) to switch.
Result: 0.375 shows as 37.5% with Percent format
0.375: 3 won of the 8 deals closed between July 1 and September 30.
Value-weighted win rate
Count-based win rate treats a $4,800 deal and a $22,000 deal the same. Weight by value with SUMIFS on the Amount column: $48,500 won of $119,800 closed is 40.5%, well below the 54.5% count rate.
The gap says this team wins small deals and loses big ones: the average won deal is $8,083 and the average lost deal is $14,260. Split by size to confirm it: deals of $10,000 or more won 1 of 4 (25%), smaller deals won 5 of 7 (71%), using an extra condition like G2:G15,">=10000". Use the value rate for forecasting revenue and the count rate for coaching.
Result: 0.40484140234 shows as 40.5% with Percent format
About 0.405: 40.5% of closed deal value was won.
Average sales cycle for won deals
Add a Cycle days column: =IF(E2="","",E2-D2) gives days from created to closed and stays blank for open deals. AVERAGEIFS then averages it for won deals only: about 40.8 days. Lost deals took 54 days on average.
The median of won deals is 40.5 days (=MEDIAN(FILTER(H2:H15,F2:F15="Closed Won")) in Excel 365), close to the average, so no single deal is distorting it. A deal open much longer than your usual won cycle, like one created in early September and still in Negotiation, is worth a look: long deals here have usually been lost.
Result: 40.833333333
About 40.83: won deals took just under six weeks from created to closed.
Common mistakes
Dividing by all deals
Open deals haven't been won or lost yet. Divide won by won plus lost, or by COUNTIFS(stage,"Closed*").
Deals that never get closed out
A dead deal left in Proposal for months hides a loss and inflates the win rate. Agree a rule (for example, mark it Lost after 90 days with no activity) and apply it before reporting.
Stage names that don't match
Run UNIQUE on the stage column and fix variants like "Closed won " with a trailing space, or use TRIM in a helper column.
Ranking reps on a handful of deals
Show the closed-deal count next to each rate and compare over several quarters.
FAQ
What is the formula for win rate in Excel?
=COUNTIFS(stage,"Won")/(COUNTIFS(stage,"Won")+COUNTIFS(stage,"Lost")). If your stages start with "Closed", =COUNTIFS(stage,"Closed Won")/COUNTIFS(stage,"Closed*") is shorter.
Should "no decision" deals count as lost?
Many teams count them as lost, because the deal was worked and didn't close. Others report them separately. Pick one rule, write it next to the report, and keep it.
What's the difference between win rate and conversion rate?
Win rate looks only at deals that reached a decision. Conversion rate usually measures a step earlier in the funnel, like leads that became opportunities, and divides by everything that entered that step.
Can I calculate win rate with a pivot table?
Yes. Filter Stage to the closed stages, put Rep in Rows, Stage in Columns and Count of Deal in Values, then show values as % of Row Total. The Closed Won column is each rep's win rate.
Functions used
COUNTIFSCounts with several conditionsUNIQUERemoves duplicates, spillsIFERRORFallback when a formula errorsSUMIFSAdds with several conditionsAVERAGEIFSAverages with several conditionsMEDIANMiddle valueFILTERKeeps matching rows, spillsIFPicks a result from a test
Related guides
- COUNTIFS with multiple criteria in Excel
- How to calculate customer acquisition cost in Excel
- How to calculate customer lifetime value in Excel
- How to use AVERAGEIF and AVERAGEIFS in Excel
- Excel formulas cheat sheet: the 25 everyone should know
- Excel interview questions and answers
- How to make a dependent drop-down list in Excel
Updated