LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default date range table array formula



OK I am still trying to figure out an old problem

OK if make the sheet simple
A1 A2 A3
EMP # Date EMP Profile code

TAble array is set up like
L1 M1 N1 O1
Agent # Start Date End Date EMP profile code
177721 1-1-2009 5-31-2009 1234
177721 6-1-2009 12-31-2009 5678

Ok so the big issue is the emp will chage profile peroidically
thoughout a calander year.
I am trying to get were in A1 is you enter the EMP # and
then in B1 you enter a random date the correct profile code
will come up in C1 based on the date range in the of table array
the emp was profiled to the code

=SUMPRODUCT(--(A1=L1:L9),--(B1=M1:M9),--(B1<=N1:N9),O1:O9)
if not woeking me only, it sticks a 0 regardless of the emp and date entered.

completely open to re-structering the array is needed. As matter of fact the
table array is a work in progress

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
different formula for ROW, array / range? nastech Excel Discussion (Misc queries) 1 September 20th 07 10:34 PM
array formula with a dynamic range. Dave Excel Worksheet Functions 2 June 26th 06 06:16 AM
how to use * wildcard in a sum(if((cond),range)) array formula Bruce Excel Worksheet Functions 3 February 10th 06 01:29 AM
#VALUE! On An Array Formula Referencing a Range Outside The Workbo paige Excel Discussion (Misc queries) 5 September 9th 05 12:05 AM
Array Formula, noncontigous range Werner Rohrmoser Excel Worksheet Functions 1 June 22nd 05 12:11 PM


All times are GMT +1. The time now is 05:33 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"