Excel → T-SQL › VALUE
Excel VALUE to TRY_CONVERT
Client files put £ and commas in a “number” column. TRY_CONVERT, then clean.
TRY_CONVERT(decimal(12,2), REPLACE(REPLACE(raw_amount, '£', ''), ',', ''))
CONVERT on junk fails the batch. TRY_CONVERT returns NULL and you keep the rest of the rows.
Canonical translation
TRY_CONVERT(decimal(12,2), REPLACE(REPLACE(raw_amount, '£', ''), ',', ''))
Then write it on a ticket
Monday is free. A colleague asks, you type, we mark it.
Clock in free