La macro è in linguaggio basic x cui anche Excel dovrebbe poterla utilizzare. Buon lavoro!
Function irpef2009(dImporto)
dim p1,p2,p3,p4,v as double
p1=0.23*15000:p2=0.27*12999:p3=0.38*26999:p4=0.41*19999
v1=0:v2=0:v3=0:v4=0:v5=0
if dImporto>0 and dImporto15000 and dImporto28000 and dImporto55000 and dImporto75000 then
v=p1+p2+p3+p4+((dImporto – 15000 – 12999 – 26999 – 19999)*0.43)
endif
irpef2009=v
End function






