Nested if in Array

  • Thread starter Thread starter TheLeafs
  • Start date Start date
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 |
+-------------------------------------------------------------------+
 
Hey Ardus,

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

Thanks
 
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
Total Working hours If 2
Nested IFs 1
Creating Nested If Fuctions 3
IF function says too many nested 1
Nested if/then or array??? 3
Nested IF in this situation 6

Back
Top