How to make multiple calculation in excel based on multiple criteria? -


trying make excel perform calculation based on "market"(k) column, each market has different fee percentage. ex.if column k says amazon should multiply 9%, if says bigcommerce 8%, if shop.com 7%. i'm looking this...if k9 (market) = "amazon us" g9 (sales price) - f9 (carrier fee) - d9 (insurance) - l9 (cost) - g9*0.09 (that percentage charged amazon).

any idea help! thank you!

orders table, each row different order

build lookup table fee percentages:

amazon   0.09 bigcommerce 0.08 shop.com    0.07 

so if table in sheet2 cells a1:b3, formula fee be:

-g9*vlookup(k9,sheet2!$a$1:$b$3,2,0) 

and entire formula be:

=g9-f9-d9-l9-(g9*vlookup(k9,sheet2!$a$1:$b$3,2,0) 

then can drag down rows.

for more on vlookup


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -