Across comparable stats, Dirk Viljoen leads 7–5.
Test
| Dirk Viljoen | Stat | Shakeel Ahmed |
|---|---|---|
| 2 | Matches | - |
| 4 | Innings | - |
| 57 | Runs | - |
| 14.25 | Average | - |
| 32.75 | Strike rate | - |
| 38 | Highest | - |
| 0 | Hundreds | - |
| 0 | Fifties | - |
| 6 | Fours | - |
| 0 | Sixes | - |
| 1 | Wickets | - |
| 65.00 | Bowling average | - |
| 3.71 | Economy | - |
| 1/14 | Best bowling | - |
| 0 | 5 wickets | - |
ODI
| Dirk Viljoen | Stat | Shakeel Ahmed |
|---|---|---|
| 53 | Matches | 31 |
| 43 | Innings | 25 |
| 512 | Runs | 221 |
| 14.22 | Average | 12.27 |
| 61.91 | Strike rate | 51.39 |
| 63* | Highest | 29* |
| 0 | Hundreds | 0 |
| 2 | Fifties | 0 |
| 26 | Fours | 14 |
| 5 | Sixes | 6 |
| 44 | Wickets | 62 |
| 37.25 | Bowling average | 16.41 |
| 4.73 | Economy | 3.50 |
| 3/20 | Best bowling | 5/23 |
| 0 | 5 wickets | 3 |
T20I
| Dirk Viljoen | Stat | Shakeel Ahmed |
|---|---|---|
| - | Matches | 47 |
| - | Innings | 26 |
| - | Runs | 266 |
| - | Average | 14.00 |
| - | Strike rate | 98.51 |
| - | Highest | 45 |
| - | Hundreds | 0 |
| - | Fifties | 0 |
| - | Fours | 20 |
| - | Sixes | 9 |
| - | Wickets | 38 |
| - | Bowling average | 27.97 |
| - | Economy | 6.68 |
| - | Best bowling | 3/15 |
| - | 5 wickets | 0 |