Cell to update depending on input of another cell

gebo84

Board Regular
Joined
Nov 6, 2014
Messages
96
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a price calculator I'm trying to set up, and i want the costs to update depending on the number that is input into a cell.

So in B12 the Qty will be entered and i need this to update cell B14 based on a couple of things.

if the number is between 10-19 i need it to return the value in cell N3
if the number is between 20-49 i need it to return the value in cell N4
if the number is between 50-99 i need it to return the value in cell N5
if the number is between 100-199 i need it to return the value in cell N6
if the number is between 200-299 i need it to return the value in cell N7
if the number is between 300-499 i need it to return the value in cell N8
if the number is between 500-999 i need it to return the value in cell N9
if the number is between 100-1999 i need it to return the value in cell N10

I've tried the IF formula combined with the IF(AND formula and i cant get it to work

thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
What if B12 is less than 10?
 
Upvote 0
Ok, how about
Excel Formula:
=INDEX(N3:N10,MATCH(B12,{10,20,50,100,200,300,500,1000},1))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,622
Messages
6,120,576
Members
448,972
Latest member
Shantanu2024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top