IF, Vlookup and N/A & text issues

SB1976

New Member
Joined
Sep 8, 2016
Messages
4
Hi,

I would like a formula to report data in cell M11. I'd like to start by looking up data in cell E11 and if it is less than 3000 to report it as "NT", if it is greater than 3000, I'd like cell H11 to be looked at and checked against a list of codes. If one of these codes appears I'd like "NT" to be reported. If the code doesn't appear I'd like "T" to be reported.

If anyone could help it would be great!

[TABLE="width: 128"]
<tbody>[TR]
[TD="class: xl65"]Z1220[/TD]
[TD="class: xl65, width: 64"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z1230[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z2000[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z2002[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z3000[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z3010[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z3100[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z3200[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z3200[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z4020[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
[TR]
[TD="class: xl65"]Z4110[/TD]
[TD="class: xl65"]NT[/TD]
[/TR]
</tbody>[/TABLE]

=IF(E11<3000,"NT",((VLOOKUP(H11,List!$L$2:$M$12,2,"T"))))
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I've just done this too....and it seems to work!

Thank you too....

=IF(E7<3000,"NT",(IFERROR(VLOOKUP(H7,List!$L$2:$M$12,2,FALSE),"T")))
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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