View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
GoTeamGo4321 GoTeamGo4321 is offline
external usenet poster
 
Posts: 6
Default Cost of each whole unit beyond

Hi,

I am trying to do the logic on the far right en masse for a set of data, but need to find a way to always formulaically pick the whole unit(s) cost above a threshold of 103%. See Examples below


example 1 - 85 Units Received is 103.7% of 82 Units Ordered- so, not the .7% x 14.79, but rather unit 85 pushed overage over 103% so 1 Unit x 14.79

example 2 - 1,085 Units Received is 108.3% of 1,002 Units Ordered- so not the 5.3% x 14.79, but rather unit 1,034 pushed us over so (1,085-1,033)x14.79

Essentially the cost of every unit that violated our policy of 103% threshold.

Thanks!