IIf ..
Hi
Here is what I use for what looks like a similar calculation, it goes in the query that the form/report is based on, I have attached a screen print to show where it goes
CPMCalc:
IIf([CPM]='CPM' And [%Delivered]<90,[DeliveredImps]/1000*[OnlineCP],
IIf([CPM]='CPM' And...