Across comparable stats, Dirk Viljoen leads 7–12.
Test
| Sanjeev Sharma | Stat | Dirk Viljoen |
|---|---|---|
| 2 | Matches | 2 |
| 3 | Innings | 4 |
| 56 | Runs | 57 |
| 28.00 | Average | 14.25 |
| 70.00 | Strike rate | 32.75 |
| 38 | Highest | 38 |
| 0 | Hundreds | 0 |
| 0 | Fifties | 0 |
| 9 | Fours | 6 |
| 0 | Sixes | 0 |
| 6 | Wickets | 1 |
| 41.16 | Bowling average | 65.00 |
| 3.57 | Economy | 3.71 |
| 3/37 | Best bowling | 1/14 |
| 0 | 5 wickets | 0 |
ODI
| Sanjeev Sharma | Stat | Dirk Viljoen |
|---|---|---|
| 23 | Matches | 53 |
| 12 | Innings | 43 |
| 80 | Runs | 512 |
| 10.00 | Average | 14.22 |
| 59.25 | Strike rate | 61.91 |
| 28 | Highest | 63* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 2 |
| 4 | Fours | 26 |
| 0 | Sixes | 5 |
| 22 | Wickets | 44 |
| 36.95 | Bowling average | 37.25 |
| 4.98 | Economy | 4.73 |
| 5/26 | Best bowling | 3/20 |
| 0 | 5 wickets | 0 |