Creating a conditional Field Calculation

I want to create a field calculation.

Field A "Category" is a text field
Field B "Retail Price" is a number field
Field C "Minimum Price" is a calculation field.

I want the calculation in Field C to change depending on the field contents of Field A.  Here are the condtions:

1) When Field A is "standard", Field C is 75% of Field B.
2) When Field A is "fixed", Field C is 100% of Field B
3) When Field A is "no reserve", Field C is 25% of Field B

How do I write the calculation in Field C to meet these 3 conditions?
jarrodpriceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

lesouefCommented:
download this example
http://www.lesouef.net/files/prices_rebates.fp7
it could be simpler to just answer your question, but I have anticipated the next 2 questions as well:
- what if the user want to create a new category himself, shall I redefine the price calc method everytime?
- what if I change the price, will it affect former prices?
this allows the user to define item prices and new categories himself.
if you want to update an existing price to take the new price into account, simply re-select the item in the popup lits and it will update the related price, same stuff for the category.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jarrodpriceAuthor Commented:
Thanks. Thats Great
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.