Across comparable stats, Robert Croft leads 15–7.
Test
| Robert Croft | Stat | Dirk Viljoen |
|---|---|---|
| 21 | Matches | 2 |
| 34 | Innings | 4 |
| 421 | Runs | 57 |
| 16.19 | Average | 14.25 |
| 36.29 | Strike rate | 32.75 |
| 37* | Highest | 38 |
| 0 | Hundreds | 0 |
| 0 | Fifties | 0 |
| 50 | Fours | 6 |
| 2 | Sixes | 0 |
| 49 | Wickets | 1 |
| 37.24 | Bowling average | 65.00 |
| 2.37 | Economy | 3.71 |
| 5/95 | Best bowling | 1/14 |
| 1 | 5 wickets | 0 |
ODI
| Robert Croft | Stat | Dirk Viljoen |
|---|---|---|
| 50 | Matches | 53 |
| 36 | Innings | 43 |
| 345 | Runs | 512 |
| 14.37 | Average | 14.22 |
| 66.47 | Strike rate | 61.91 |
| 32 | Highest | 63* |
| 0 | Hundreds | 0 |
| 0 | Fifties | 2 |
| 23 | Fours | 26 |
| 2 | Sixes | 5 |
| 45 | Wickets | 44 |
| 38.73 | Bowling average | 37.25 |
| 4.24 | Economy | 4.73 |
| 3/51 | Best bowling | 3/20 |
| 0 | 5 wickets | 0 |