How to make this formula work for more than 1 criteria

AngleseyExcel

New Member
Joined
Feb 4, 2021
Messages
36
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Excel Formula:
=IFERROR(INDEX(Table2,SMALL(IF(Table2[Off The Road]="No",ROW(Table2)-4),ROW(43:43)),5),"")

i want it to work if Table2[Off The Road]="No" and Table2[Spare]="No"

I'm not too good with the syntax.

Any help would be greatly appreciated
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Try

Excel Formula:
=IFERROR(INDEX(Table2,SMALL(IF(and(Table2[Off The Road]="No",Table2[Spare]="No"),ROW(Table2)-4),ROW(43:43)),5),"")
 
Upvote 0
As you have 365 why not use the filter function
Excel Formula:
=FILTER(Table2,(Table2[Off The Road]="No")*(Table2[Spare]="No"))
 
Upvote 0
Did you try the formula provided by Sufiyan97, as I doubt it will work.
 
Upvote 0
I thought as much, I only asked as you had marked it as the solution.
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,838
Members
449,471
Latest member
lachbee

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