Thank you very much sirSince "GHS" is a format, you can do it by the position of the columns.
=MIN(IF(MOD(COLUMN(D7:M7);2)=0;D7:M7;""))
=MAX(IF(MOD(COLUMN(D7:M7);2)=0;D7:M7;""))
View attachment 80699
I believe you are on Excel 2016, so do confirm the formulae with CONTROL+SHIFT+ENTER.
EDIT:
or using the header line, it could be simply:
=MINIFS(D7:M7;$D$6:$M$6;"<>") // =MAXIFS(D7:M7;$D$6:$M$6;"<>")
Thank you sirAnother formula option
=MIN(N(OFFSET(C7,,{1,3,5,7,9})))
=MAX(N(OFFSET(C7,,{1,3,5,7,9})))