Formula

Johnboy28

Board Regular
Joined
Jun 22, 2013
Messages
198
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2010
Platform
  1. Windows
Can someone help with a formula - Need to lookup (Match)"PLU no" from table, if "max weight" is above table then it will return Red, and if max weight is below then return Green.. First result is Red as its over 0.900 Weight.

Table​
PLU noMax Weight
10.900
100.530
120.525
141.042
200.430
PLU noMax WeightResults
11.2600Red
100.2500
120.3440
140.2862
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Try:

Book1
ABC
1Table
2PLU noMax Weight
310.9
4100.53
5120.525
6141.042
7200.43
8
9PLU noMax WeightResults
1011.26Red
11100.25Green
12120.344Green
13140.2862Green
14200.75Red
Sheet5
Cell Formulas
RangeFormula
C10:C14C10=IF(B10>VLOOKUP(A10,$A$3:$B$7,2,0),"Red","Green")
 
Upvote 0

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,638
Latest member
Oluwabukunmi

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