Nested if in Array

T

TheLeafs

Good day,

I have attached my speadsheet to simpfly my describtion of my troubles.
On the Team1 tab I have a formula entered in cell C4 that should work
but it doesn't. What I am trying to do is lookup the Employee's ID and
Day of the Week on the Time Off tab, and if it finds both for that
pictular day of the week then return and "A" for absent and null string
if it finds nothing. My current formula is working for the first cell
but it isn't for the ones below.
Any help would be great.

Chris


+-------------------------------------------------------------------+
|Filename: Array.zip |
|Download: http://www.excelforum.com/attachment.php?postid=4531 |
+-------------------------------------------------------------------+
 
T

TheLeafs

Hey Ardus,

EmpID can appear more then once, but not of the same day of the week.

Thanks
 
M

Morrigan

Something seems odd, I literally tried the exact same formula on
different sheets, results came out different. (Although the formul
doesn't make much sense without array input) See attachment.

Try this instead

C4
IF(SUMPRODUCT(--(Time_Off!$A$2:$A$1152=Team1!$A4),--(Time_Off!$F$2:$F$1152=Team1!C$1))>0,"A","")

Copy across and down

+-------------------------------------------------------------------
|Filename: Array2.zip
|Download: http://www.excelforum.com/attachment.php?postid=4535
+-------------------------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Nested IF function 11
Nested Formula 1
Formula for next day based on clock 2
Nested IF in this situation 6
VLOOKUP problem 3
IF function says too many nested 1
nested if function 5
Lookup returning wrong results 0

Top