Excel help!?

W

Wolfpack

I'm making a "calculator" of sorts in excel and I am stuck on one last part.

I want to type in the product, and when I type that product in I want it to
equal a dollar amount , and a different amount for a different product, etc.


I also need it to to change the formula used at the end to create the total
amount..

Example:
This is the formula I use at the end to get the total.
=SUM((D17*Sheet2!D17)/1000*F17+(G17*0.66)+(H17*0.05))

I need the formula to change at the part where it says "Sheet2!D17" as that
is the price.

When I type "80" in the product part, I want that to equal $7, "55" = $5.50,
"40"=$4

Can any body please help me?
 
B

Bob Phillips

=SUM((D17*VLOOKUP(product,{80,7;55,5.5;40,4},2,FALSE))/1000*F17+(G17*0.66)+(H17*0.05))
 
W

Wolfpack

Thanks Bob.

Now where do I put the information that it looks up?

Sorry! I'm fairly new at this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Formula Help 1
Linking two IF statements together 2
Wildcard not working in SumProduct Array 8
If formulations 2
Sum Worksheets 7
Conditional formating 4
Nested If with Lookup 1
Multiple IF functions, different ranges 2

Top