With the Unloaded weight in A1 and the Rate in A3 try:
=IF(A2="","",IF(OR(A2={"Wheat","Corn"}),A1/IF(A2="Wheat",60,40)*A3,"Error in
Data"))
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk
"Liz" <(E-Mail Removed)> wrote in message
news:6943C467-EB20-45F9-94FA-(E-Mail Removed)...
>I need to give "wheat" a value of 60 so that the formula can be:
> (unload weight/60)*rate=amt
> I also need to give "corn" a value of 56 to calc the same amt.
>
>