Nested IF In Excel

ksikor14

New Member
Joined
May 6, 2019
Messages
3
I Have a spreadsheet that contains Data and I have a second tab and on the second tab I want if Column T4:T58 equals Yes and if Column U4:U58 equals Test1, then populate column into the cell and I can't seem to get the logic correct. Column B4:B58, has Customer Name, Column Q4:Q58 has Date, Column S4:S58 has Item Description.
I tried this but it brings in Column B even if both conditions are not Yes and Test1. Not sure what I am doing wrong. =IF(OR('Order Tracker'!T28="Yes",'Order Tracker'!U28="Test1"),'Order Tracker'!B28,0) Please help anyone!:(

Example
Test 1
Customer Name Date Item Description

[TABLE="width: 500"]
<tbody>[TR]
[TD]Tech World
[/TD]
[TD]5/1/2019
[/TD]
[TD]Hex Bolts
[/TD]
[/TR]
[TR]
[TD]Bravo Inc
[/TD]
[TD]4/8/2019
[/TD]
[TD]1/2" Screws
[/TD]
[/TR]
[TR]
[TD]Stanley Services
[/TD]
[TD]3/15/2019
[/TD]
[TD]Lock Washers 1/2"
[/TD]
[/TR]
[TR]
[TD]Atoka County
[/TD]
[TD]2/1/2019
[/TD]
[TD]1/4" Nails
[/TD]
[/TR]
[TR]
[TD]Translucent
[/TD]
[TD]5/3/2019
[/TD]
[TD]1/2" Nails
[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Have you tried AND instead of OR
 
Upvote 0
AND means both conditions have to be true OR means any of your conditions
 
Upvote 0
I would be double checking some of the cell contents to make sure there are no trailing or leading spaces
Add in an extra column with a simple if(T28=“yes”,1,0) and another for U28 and see if any slip thru
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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