Devo premettere che memorizzare valori numerici formattati come stringhe di presentazione è una cattiva idea. Detto ciò, ecco l'aggregazione che cerchi:
db.collection.aggregate([ { "$project": { "AppraisedValueDisplay": { $replaceAll: { input: "$AppraisedValueDisplay", find: { $literal: "$" }, replacement: "" } } } }, { "$project": { "AppraisedValueDisplay": { "$toInt": { $replaceAll: { input: "$AppraisedValueDisplay", find: ",", replacement: "" } } } } }, { $match: { AppraisedValueDisplay: { $gt: 30000, $lt: 40000 } } } ])L'idea è rimuovere $ e , con $replaceAll, convertire le stringhe pulite in interi con $toInt e poi eseguire un normale $match numerico. $literal sul dollaro è importante, altrimenti MongoDB interpreterebbe "$" come riferimento a un campo.
Prova qui: https://mongoplayground.net/p/YU65M-q1QCM