Index Match problem with link to another file

asad

Well-known Member
Joined
Sep 9, 2008
Messages
1,434
Hello Gurus,

I got this formula:
IF((TODAY()+7-WEEKDAY(TODAY(),2)) < O$2,"",COUNT(IF(INDEX('[Footscray Roster 15th May 2011TrialAli.xls]Weekly Roster'!$E$4:$AJ$200,MATCH($B5,'[Footscray Roster 15th May 2011TrialAli.xls]Weekly Roster'!$E$4:$E$200,0),4):INDEX('[Footscray Roster 15th May 2011TrialAli.xls]Weekly Roster'!$E$4:$AJ$200,MATCH($B5,'[Footscray Roster 15th May 2011TrialAli.xls]Weekly Roster'!$E$4:$E$200,0),32)="RDO",1,"")))

The answer should be 1. But it is giving result = 4.
It is supposed to look for "RDO" in the row with the person's name in column E and give me the result if there is one in any of the cells in that row between columns H and AJ. There will never be more than 1 "RDO" in any row. So why is giving me 4 as answer?
Can somebody tell me why is it doing this?
Is there another of solving this problem?
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
And, this particular formula should return blank as there is no RDO for this person in that row. But it is returning 4.
 
Upvote 0
Don't worry guys. My mistake. The original file has wrong data in it. That was causing the problem.
Sorry for wasting your time.
 
Upvote 0

Forum statistics

Threads
1,224,589
Messages
6,179,744
Members
452,940
Latest member
rootytrip

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