NHS England figures show 19,597 patients were waiting for non-urgent elective operations or treatment at the end of November - the latest figures available - down slightly from 19,620 in October, but an increase on 13,589 in November 2021.
Of those, 95 had been waiting for longer than a year.
The median waiting time from referral at an NHS trust to treatment at Barnsley Hospital was eight weeks at the end of November - the same as in October.
Nationally, 6.9 million people were waiting to start treatment at the end of November.
Siva Anandaciva, chief analyst at the King’s Fund, said there was ‘no shying away from the reality that the NHS is deep in crisis’.
Ms Anandaciva added: “While there are huge delays in admitting patients, there are also serious issues in discharging patients - with over 13,000 people stuck in hospital despite being medically fit to leave.
“Meanwhile, the waiting list for planned hospital care remains stubbornly over seven million and cancer services are also under pressure, which underlines the challenge in meeting the government’s latest pledge to reduce waiting lists by the end of 2023.”
Separate figures show 1.6 million patients in England were waiting for a key diagnostic test in November - a rise on 1.5 million in October.
At Barnsley Hospital, 3,120 patients were waiting for one of nine standard tests, such as an MRI scan, non-obstetric ultrasound or gastroscopy at this time.
Of them, 187 had been waiting for at least six weeks.
Cancer Research UK chief executive Michelle Mitchell said the figures ‘paint an extremely troubling picture for people affected by cancer’, adding: “The last time all targets for cancer waiting times were met was as far back as 2015, and the number of people waiting for diagnosis and treatment remains unacceptably high.
“It can be easy to get lost in statistics - but each one of those numbers represents someone’s child, parent, partner, sibling or friend.”
Other figures from NHS England show that of 78 patients urgently referred by the NHS who were treated at Barnsley Hospital in November, 54 were receiving cancer treatment within two months of their referral.
A month previously - when 71 patients were referred - 41 were treated within 62 days.
In November 2021, 41 patients were treated within this period, out of 52 that were referred.
NHS national medical director, Professor Sir Stephen Powis, said: “The NHS will keep its foot on the accelerator to continue to make progress on the Covid backlog and hospitals have today been asked to ensure anyone waiting longer than 18 months has their treatment booked in before March.”