Greater than / Less than formula help

c1penland

New Member
Joined
Apr 16, 2018
Messages
1
Cell P4 has a percentage in it. What I need to do is have a formula that if P4 falls between the table below the dollar amount is displayed in Q4. Any help You can offer would be greatly appreciated

Column R Column S Column T
[TABLE="width: 300"]
<tbody>[TR]
[TD]Row 12 0%[/TD]
[TD] 24% [/TD]
[TD] $0.00[/TD]
[/TR]
[TR]
[TD]
Row 13 25%​
[/TD]
[TD] 26%[/TD]
[TD] $1.00[/TD]
[/TR]
[TR]
[TD]
Row 14 27%​
[/TD]
[TD] 28%[/TD]
[TD] $2.00[/TD]
[/TR]
[TR]
[TD]
Row 15 29%​
[/TD]
[TD] 30%[/TD]
[TD] $4.00[/TD]
[/TR]
[TR]
[TD]
Row 16 31%​
[/TD]
[TD] 33%[/TD]
[TD] $5.00[/TD]
[/TR]
[TR]
[TD]
Row 17 34%​
[/TD]
[TD] 36%[/TD]
[TD] $6.00[/TD]
[/TR]
[TR]
[TD]
Row 18 37%​
[/TD]
[TD] 39%[/TD]
[TD] $7.00[/TD]
[/TR]
[TR]
[TD]
Row 19 40%​
[/TD]
[TD] 100%[/TD]
[TD] $8.00[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Book1
PQRST
433%$5.00
120%24%$0.00
1325%26%$1.00
1427%28%$2.00
1529%30%$4.00
1631%33%$5.00
1734%36%$6.00
1837%39%$7.00
1940%100%$8.00
Sheet1
Cell Formulas
RangeFormula
Q4=VLOOKUP($P4,$R$12:$T$19,3,TRUE)


WBD
 
Upvote 0
Cell P4 has a percentage in it. What I need to do is have a formula that if P4 falls between the table below the dollar amount is displayed in Q4. Any help You can offer would be greatly appreciated

Column R Column S Column T
[TABLE="width: 300"]
<tbody>[TR]
[TD]Row 12 0%[/TD]
[TD] 24%[/TD]
[TD] $0.00[/TD]
[/TR]
[TR]
[TD]
Row 13 25%​
[/TD]
[TD] 26%[/TD]
[TD] $1.00[/TD]
[/TR]
[TR]
[TD]
Row 14 27%​
[/TD]
[TD] 28%[/TD]
[TD] $2.00[/TD]
[/TR]
[TR]
[TD]
Row 15 29%​
[/TD]
[TD] 30%[/TD]
[TD] $4.00[/TD]
[/TR]
[TR]
[TD]
Row 16 31%​
[/TD]
[TD] 33%[/TD]
[TD] $5.00[/TD]
[/TR]
[TR]
[TD]
Row 17 34%​
[/TD]
[TD] 36%[/TD]
[TD] $6.00[/TD]
[/TR]
[TR]
[TD]
Row 18 37%​
[/TD]
[TD] 39%[/TD]
[TD] $7.00[/TD]
[/TR]
[TR]
[TD]
Row 19 40%​
[/TD]
[TD] 100%[/TD]
[TD] $8.00[/TD]
[/TR]
</tbody>[/TABLE]

Hi!

Try this in Q4

=LOOKUP(P4,$R$12:$T$19)


[TABLE="class: grid, width: 392"]
<colgroup><col><col><col span="2"><col span="3"><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]P[/TD]
[TD="align: center"]Q[/TD]
[TD="align: center"]R[/TD]
[TD="align: center"]S[/TD]
[TD="align: center"]T[/TD]
[TD="align: center"]U[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]%[/TD]
[TD="align: center"]Result[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"] [/TD]
[TD="align: center"]35%[/TD]
[TD="align: center"]6,00[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]Column R[/TD]
[TD="align: center"]Column S[/TD]
[TD="align: center"]Column T[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]0%[/TD]
[TD="align: center"]24%[/TD]
[TD="align: center"]0,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]25%[/TD]
[TD="align: center"]26%[/TD]
[TD="align: center"]1,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]27%[/TD]
[TD="align: center"]28%[/TD]
[TD="align: center"]2,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]15[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]29%[/TD]
[TD="align: center"]30%[/TD]
[TD="align: center"]4,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]16[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]31%[/TD]
[TD="align: center"]33%[/TD]
[TD="align: center"]5,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]17[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]34%[/TD]
[TD="align: center"]36%[/TD]
[TD="align: center"]6,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]18[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]37%[/TD]
[TD="align: center"]39%[/TD]
[TD="align: center"]7,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]19[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"]40%[/TD]
[TD="align: center"]100%[/TD]
[TD="align: center"]8,00[/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]20[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]21[/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[TD="align: center"] [/TD]
[/TR]
[TR]
[TD="align: center"]***[/TD]
[TD="align: center"]**[/TD]
[TD="align: center"]*******[/TD]
[TD="align: center"]*******[/TD]
[TD="align: center"]*********[/TD]
[TD="align: center"]*********[/TD]
[TD="align: center"]*********[/TD]
[TD="align: center"]**[/TD]
[/TR]
</tbody>[/TABLE]


Markmzz
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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