Assistance populating cell with number from chart

hipmrc

New Member
Joined
Feb 25, 2017
Messages
24
I am re-posting this question in order to try to make it more clear. (I could not figure out how to delete my prior post if that is possible)

Not sure if I phrased the title correctly, but I am trying to populate a cell in my workbook with a number from the last column in the chart below.

So, based on the number in H24 I need the correct corresponding number from the "Use" column to populate. Example if H24 is 25,000 I need .0165 to populate into G28.

IfUse
00
150000.0195
5001100000.0185
10001200000.0175
20001300000.0165
30001400000.0155
40001and over0.0145

<tbody>
</tbody>

Right now the chart is on another page of the workbook and whited out so that it does not show. Please let me know if you need any clarification - and THANK YOU in advance for the assistance with this.
 
Last edited:

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Try this for the exact values or replace the numbers with cells:

=IF(H24=25000,.0165,"")
 
Upvote 0
When I tried that I got an error. The cell with the formula was blank and then the rest of the cells that calculated from that cell went to #Value! error.

I need the answer to come from a range in the chart.

if 0 then answer is 0
if between 1 and 5000 answer is 0.0195
if between 5001 and 10000 the answer is 0.0185
etc.

00
150000.0195
5001100000.0185
10001200000.0175
20001300000.0165
30001400000.0155
40001and over0.0145

<tbody>
</tbody>

Please let me know if I can provide any additional information to further clarify, and thank you in advance for your assistance
Michael
 
Upvote 0
Try =LOOKUP(H24,A1:A7,C1:C7) with the lookup table in A1:C7

or

=LOOKUP(H24,{0,1,5001,10001,20001,30001,40001},{0,0.0195,0.0185,0.0175,0.0165,0.0155,0.0145}) with no lookup table.
 
Upvote 0
I used the second one since I've never worked with a look up table and it worked PERFECTLY!!! Thank you so much! You just made my day.
 
Upvote 0
I used the second one since I've never worked with a look up table and it worked PERFECTLY!!! Thank you so much! You just made my day.

Great! Glad to help. A lookup table is what you showed in post #3.
For that first formula to work, you would have to include that table somewhere on the worksheet.

I generally prefer hard-coding the values into the formula so that you do not have to include a table in the worksheet.
 
Upvote 0

Forum statistics

Threads
1,215,581
Messages
6,125,657
Members
449,247
Latest member
wingedshoes

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