If with multiple criteria

raccoon588

Board Regular
Joined
Aug 5, 2016
Messages
118
Id like to write a formula that has an if with more then one criteria but nothing seems to be working. =if(n1="ablation", i want to look in a table for two criteria and return the amount in column H.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
=if(and(n1="ablation",othercritera),h1,"")

This will work. Change othercritea to be whatever you want
 
Upvote 0
You can use AND or OR depending on whether both criteria must be met, or just one of the two, respectively.

=IF(AND(n1="ablation",o1 = "something else"),H1,"")
 
Upvote 0
Not to my knowledge but you can for Match, inside of index/match like this:

=INDEX(MATCH(CELL1&CELL2,RANGE1&RANGE2,0))

if you give data we can help write the formula so it works, if you need help
 
Upvote 0
MonthDeckResource NameOutputSumGoalSumGoal%TheoSumOEE%MASTERAblation
10/1/2019HIL-9007HIL-9007-FIM38044142326289.88%53613170.96% OEE
10/1/2019HIL-AblationHIL-Ablation-Laser17394930874156.34%35388249.15%10/1/2019HIL-9007-FIM
10/1/2019HIL-CoatingHIL-Coating-QRQC63522274137585.68%89273671.15%Nov#ref !
10/1/2019HIL-H13AssemblyHIL-H13Assembly-FIM39116753735072.80%66127459.15%Dec#ref !
10/1/2019HIL-H13CapsuleHIL-H13Capsule-RingMo465458413297112.62%51447990.47%Jan#ref !
10/1/2019HIL-H8HIL-H8-Ager42552352979380.32%72173158.96%Feb#ref !
Mar#ref !
Apr#ref !
May#ref !
Jun#ref !
Jul#ref !
Aug#ref !
Sep#ref !






<colgroup><col><col><col><col><col><col><col><col><col span="5"><col><col><col></colgroup><tbody>
</tbody>
This is some of my data. Will be adding months as they close. over to the right i would like to be able to change the data based on the machine. ablation is an example of one of the machines i need the OEE % number to show in the cell that has the #ref .
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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