How to make this formula work for more than 1 criteria

AngleseyExcel

New Member
Joined
Feb 4, 2021
Messages
39
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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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,224,817
Messages
6,181,148
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