# #VALUE (Wrong data type)

#### fayez_MrExcel

##### Active Member
I'm getting a hard time finding what's wrong with my array formula can anybody help me analyze the problem, Im getting "Error in
value"...thanks
{=IF(SUMPRODUCT(('Direct Hire Employee Database'!\$BM\$2:\$BM\$65536=\$F\$18)*(MONTH('Direct Hire Employee Database'!\$Y\$2:\$Y\$65536)=\$L\$4))<ROW()-8,"",INDEX('Direct Hire Employee Database'!\$A\$2:\$BM\$65536,SMALL(IF(('Direct Hire Employee Database'!\$BM\$2:\$BM\$65536=\$L\$4)*(MONTH('Direct Hire Employee Database'!\$Y\$2:\$Y\$65536)=\$L\$4),ROW('Direct Hire Employee Database'!\$A\$2:\$Y\$65536)-ROW('Direct Hire Employee Database'!\$A\$2)+1,ROW('Direct Hire Employee Database'!\$B\$65536)+1),ROW()-8),COLUMN()-2))}

### Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

#### Jonmo1

##### MrExcel MVP
1. Formula does not need to be entered as an array..

2. Could be caused if the Dates in Column Y are not actually dates...

try entering this formula anywhere...

=Y2+1

if it returns a date a day after what is in Y2, then they are dates. (although you would want to verify the whole column).

#### Scott Huish

##### MrExcel MVP
try entering this formula anywhere...

=Y2+1

This could coerce the text date to become a date, I would use ISNUMBER to check:

=ISNUMBER(Y2)

Replies
1
Views
384
Replies
0
Views
553
Replies
6
Views
313
Replies
0
Views
322
Replies
0
Views
390

1,181,406
Messages
5,929,759
Members
436,687
Latest member
Glass of Gin

### 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.

### Which adblocker are you using?

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

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