Help in formula creation

C

cesar_xl

Hi all.
I need help creating a formula that
will let me get a total by calculating increasing values according to the #
of items entered.

Example.
Buy between 1&6 at $6.50 + $15.0 (shipping), 7 & 14 at $6.00 + $20, 15 & 29
at $5.50 + $25, 30 & 49 at $4.50 + $30.0
Can this be done?..
Thanks in advance.
 
J

Jacob Skaria

With items in cell A1; try the below formula

=IF(VALUE(A1),A1*LOOKUP(A1,{1,7,15,30},{6.5,6,5.5,4.5})+
LOOKUP(A1,{1,7,15,30},{15,20,25,30}),"")

If this post helps click Yes
 

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

Top