#VALUE (Wrong data type)

fayez_MrExcel

Active Member
Joined
Oct 29, 2005
Messages
426
Office Version
  1. 365
Platform
  1. Windows
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
Joined
Oct 12, 2006
Messages
44,061
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
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
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)
 

Forum statistics

Threads
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.
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
Top