const temp1 = [ { "name": "Month 8 . Week 1", "CATEGORY, Id 0": null, "CATEGORY, Id 1": 30.666666666666668, "CATEGORY, Id 2": 17.333333333333332, "CATEGORY, Id 3": 12.333333333333334, "TASK, Id 1": 30.666666666666668, "TASK, Id 2": 12.333333333333334, "TASK, Id 3": null, "TASK, Id 4": 5, "TASK, Id 5": null, "TASK, Id 6": null, "TASK, Id 7": null, "TASK, Id 8": null, "TASK, Id 9": null, "TASK, Id 10": null, "TASK, Id 12": null, "TASK, Id 14": null, "TASK, Id 16": null, "TASK, Id 17": null, "TASK, Id 26": 12.333333333333334 }, { "name": "Month 8 . Week 2", "CATEGORY, Id 0": 38, "CATEGORY, Id 1": null, "CATEGORY, Id 2": 12, "CATEGORY, Id 3": null, "TASK, Id 1": null, "TASK, Id 2": 15, "TASK, Id 3": null, "TASK, Id 4": null, "TASK, Id 5": null, "TASK, Id 6": 5, "TASK, Id 7": 5, "TASK, Id 8": 5, "TASK, Id 9": 5, "TASK, Id 10": null, "TASK, Id 12": null, "TASK, Id 14": null, "TASK, Id 16": null, "TASK, Id 17": null, "TASK, Id 26": 15 }, { "name": "Month 8 . Week 3", "CATEGORY, Id 0": 7, "CATEGORY, Id 1": 12.333333333333334, "CATEGORY, Id 2": null, "CATEGORY, Id 3": null, "TASK, Id 1": null, "TASK, Id 2": null, "TASK, Id 3": 12.333333333333334, "TASK, Id 4": null, "TASK, Id 5": null, "TASK, Id 6": null, "TASK, Id 7": null, "TASK, Id 8": null, "TASK, Id 9": null, "TASK, Id 10": null, "TASK, Id 12": null, "TASK, Id 14": 7, "TASK, Id 16": null, "TASK, Id 17": null, "TASK, Id 26": null }, { "name": "Month 8 . Week 4", "CATEGORY, Id 0": null, "CATEGORY, Id 1": null, "CATEGORY, Id 2": 10, "CATEGORY, Id 3": 5, "TASK, Id 1": null, "TASK, Id 2": null, "TASK, Id 3": null, "TASK, Id 4": null, "TASK, Id 5": 5, "TASK, Id 6": null, "TASK, Id 7": null, "TASK, Id 8": null, "TASK, Id 9": null, "TASK, Id 10": 5, "TASK, Id 12": 5, "TASK, Id 14": null, "TASK, Id 16": null, "TASK, Id 17": null, "TASK, Id 26": null }, { "name": "Month 8 . Week 5", "CATEGORY, Id 0": 5, "CATEGORY, Id 1": null, "CATEGORY, Id 2": 7, "CATEGORY, Id 3": null, "TASK, Id 1": null, "TASK, Id 2": null, "TASK, Id 3": null, "TASK, Id 4": null, "TASK, Id 5": null, "TASK, Id 6": null, "TASK, Id 7": null, "TASK, Id 8": null, "TASK, Id 9": null, "TASK, Id 10": null, "TASK, Id 12": null, "TASK, Id 14": null, "TASK, Id 16": 7, "TASK, Id 17": 5, "TASK, Id 26": null }, { "name": "Month 9 . Week 1", "CATEGORY, Id 0": 13.333333333333334, "CATEGORY, Id 1": 13.333333333333334, "CATEGORY, Id 3": null, "TASK, Id 11": null, "TASK, Id 14": 6.333333333333333, "TASK, Id 17": null, "TASK, Id 18": 7, "TASK, Id 19": null, "TASK, Id 20": null, "TASK, Id 26": 13.333333333333334 }, { "name": "Month 9 . Week 2", "CATEGORY, Id 0": null, "CATEGORY, Id 1": null, "CATEGORY, Id 3": 13.333333333333334, "TASK, Id 11": 5, "TASK, Id 14": null, "TASK, Id 17": 8.333333333333334, "TASK, Id 18": null, "TASK, Id 19": null, "TASK, Id 20": null, "TASK, Id 26": null }, { "name": "Month 9 . Week 3", "CATEGORY, Id 0": null, "CATEGORY, Id 1": 14, "CATEGORY, Id 3": null, "TASK, Id 11": null, "TASK, Id 14": null, "TASK, Id 17": null, "TASK, Id 18": null, "TASK, Id 19": 7, "TASK, Id 20": 7, "TASK, Id 26": null } ] console.log(Math.max(...[].concat([], ...temp1.map(i => Object.values(i))).filter(v => typeof v === 'number')))