Help with a formula

asad

Well-known Member
Joined
Sep 9, 2008
Messages
1,434
I got this formula in a worksheet that is supposed to get the result form another workbook I wil post a shot of a portion here.In this BG8:BG15 is named as "Fatigue". The formula in BH9 is supposed to return 15/06/2011 because that's the date when the same person is working one of the shifts numbers mentiooned in range "Fatigue". BUt it returns error. Why?
Excel Workbook
BFBGBH
8DF1431OK
9DF1212#N/A
10DF022749
11DF117142
12DF109143
13DF060139
14DF034128
15DF042145
Weekly Roster


Asad
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
There is another problem with this formula. When I change it to
Code:
{=MIN(IF('[FSCY 11-06-19.xls]Weekly Roster'![COLOR=red]$E$8:$E$200=E9[/COLOR],IF('[FSCY 11-06-19.xls]Weekly Roster'!$I$8:$AK$200=Fatigue,'[FSCY 11-06-19.xls]Weekly Roster'!$I$5:$AK$5,"OK")))}
, then it works BUT only if I have 1 as value in the corressponding row. If it is 2 or 749 or any other number form the range Fatigue, it returns 1/01/1904.
Just for the information, E8:E200 has exactly same data as in BF column.

Can't understand why? :confused:

Asad
 
Upvote 0
Code:
{=MIN(IF('[FSCY 11-06-19.xls]Weekly Roster'![COLOR=red]$E$8:$E$200=E9[/COLOR],IF('[FSCY 11-06-19.xls]Weekly Roster'!$I$8:$AK$200=Fatigue,'[FSCY 11-06-19.xls]Weekly Roster'!$I$5:$AK$5,"OK")))}[/CODE[/QUOTE]
 
I think, the formula above will work if I could somehow make it to look for all the values in named range "Fatigue".
 
But I thought that array formulas do that anyway. That means I am wrong. But how?????
 
Asad
 
Upvote 0
I tried
Code:
{=MIN(IF('[FSCY 11-06-19.xls]Weekly Roster'!$E$8:$E$200=E9,IF([COLOR=red][B]OR[/B][/COLOR]('[FSCY 11-06-19.xls]Weekly Roster'!$I$8:$AK$200=Fatigue),'[FSCY 11-06-19.xls]Weekly Roster'!$I$5:$AK$5,"OK")))}
with OR but still no luck.
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,219
Members
452,895
Latest member
BILLING GUY

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