#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default excel formula

I have a drop down list with at least 8 different values. ie. Training,
Mail, Phone calls etc. in A5. The commissions vary based on the service. I
would like to have a different commission formula for each one. As an
example if they sold mail the formula would be (F5*.1), if they sold training
it would be (G5*.2) and so on. How do I reference these different formuals
to the different selections in A5? Thanks for your help.
Dave
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default excel formula


=INDEX(F5:O5,,MATCH(A5,{"Mail","Phone","Email","FA X","Courier"},0))*LOOKUP(A5,{"Courier","Email","FA X","Mail","Phone"},{0.1,0.2,0.3,0.35,0.5})

The match list can be any order, LOOKUP needs the list in sequence.


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Dave O." wrote in message
...
I have a drop down list with at least 8 different values. ie. Training,
Mail, Phone calls etc. in A5. The commissions vary based on the service.
I
would like to have a different commission formula for each one. As an
example if they sold mail the formula would be (F5*.1), if they sold
training
it would be (G5*.2) and so on. How do I reference these different
formuals
to the different selections in A5? Thanks for your help.
Dave



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel Formula Doesn't Execute (Shows formula-not the calcuation) Keys1970 Excel Discussion (Misc queries) 4 November 15th 06 02:12 PM
match formula - 2 excel files:#1 hasthis formula, 2nd has the Raw DS Excel Worksheet Functions 4 October 7th 06 12:25 AM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM


All times are GMT +1. The time now is 04:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"