Try this array formula

note: it should all be in the one cell and commited using CTRL+SHIFT+ENTER

VB:

=If(SUM(--ISNUMBER(FIND("P",A3:L3)))>2,(1+SUM(--ISNUMBER(FIND("P",A3:L3))))*2,SUM(--ISNUMBER(FIND("P",A3:L3)))*2)+
If(SUM(--ISNUMBER(FIND("D",A3:L3)))>2,(1+SUM(--ISNUMBER(FIND("D",A3:L3))))*6,SUM(--ISNUMBER(FIND("D",A3:L3)))*6)+
If(SUM(--ISNUMBER(FIND("M",A3:L3)))>2,(1+SUM(--ISNUMBER(FIND("M",A3:L3))))*4,SUM(--ISNUMBER(FIND("M",A3:L3)))*4)

And regarding the edit. It may have been better to post the amended request in this thread rather than edit the original post.

## Bookmarks