Santhos,
I propose the following array formula,
=SUM(IFERROR(INDEX(B4:M4,SMALL(IF(B4:M4<>"",COLUMN(B4:M4)-1),1)),0),IFERROR(INDEX(B4:M4,SMALL(IF(B4:M4<>"",COLUMN(B4:M4)-1),2)),0),IFERROR(INDEX(B4:M4,SMALL(IF(B4:M4<>"",COLUMN(B4:M4)-1),3)),0))
Paste in Cell N4, press Ctrl+Shift+Enter to calculate as array, drag to fill all 27000 rows.
Attached.