View Single Post
  #2   Report Post  
Mazzaropi Mazzaropi is offline
Senior Member
 
Location: Belo Horizonte, Brazil
Posts: 170
Default

Quote:
Originally Posted by colgor View Post
Based on the pricing bands, I would like to khow how to input an amount of sales in the highlighted cell (B6) and automatically calculate an amount to charge in the cell below (B7)?

Hope you can help.
Many thanks

PS Don't seem to be able to upload excel files due to small flle size so hope this notepad file will suffice?
------------------------------------------------------------------------

Dear Colgor, Good Evening

The best way to do this is creating a little table for search.
Itīs simple.

Suppose:

___D__________E
4____0________40
5___51________30
6__101________20
7__151________15

B6 = Nš of units = 250
B7 = Total charged -- Formula

Formula -- =B6*VLOOKUP(B6,D4:E7,2,TRUE)


Tell me if it worked for you.
__________________
I hope it can help you.

Best regards,
Marcilio Lobão
---------------------------
Belo Horizonte, Brazil