IFERROR

Akie

New Member
Joined
Jan 22, 2021
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
Hi there,
I've recently started a new job populating a roster spreadsheet.
(Excel 2016)

This code formulated is currently in Row 10:
(This would be the code in I10)

=IFERROR(INDEX($D$13:$D$98,MATCH("N MAN",I$13:I$98,0)),"")

A list of staff names D13 to D98 & I13 to I98 is job roles.
There is 1 "N MAN" so whoever i roster as N MAN it populates their name in row 10 for that day.

Sometimes there will be an SN MAN instead of N MAN and i want it to search for both and populate the name for which ever one occurs to Row 10, but now sure how to formulate this on the current formula.

Many Thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Welcome to MrExcel Message Board.
You Can Change it to this formula. But this formula only Show first finding Value at range
Excel Formula:
=IFERROR(INDEX($D$13:$D$98,MATCH("*N MAN",I$13:I$98,0)),"")
Or Write your Criteria at One Cell and Replace "N MAN" With Cell Address in formula.
 
Upvote 0
Welcome to MrExcel Message Board.
You Can Change it to this formula. But this formula only Show first finding Value at range
Excel Formula:
=IFERROR(INDEX($D$13:$D$98,MATCH("*N MAN",I$13:I$98,0)),"")
Or Write your Criteria at One Cell and Replace "N MAN" With Cell Address in formula.
Thank you, this is now populating the name with the *
The only issue i have now is i have an FN MAN which i don't want to include with the *

Can i add to the formula with *N MAN but not count FN MAN?

Many thank again.
 
Upvote 0
Try this:
Excel Formula:
=IFERROR(INDEX($D$13:$D$98,MATCH(1,INDEX(("N Man"=I$13:I$98)+("SN Man"=I$13:I$98),0,1),0)),"")
 
Upvote 0
Solution
Thank you very much for your help thats worked
 
Upvote 0

Forum statistics

Threads
1,215,432
Messages
6,124,857
Members
449,194
Latest member
HellScout

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