Complicated Question! Need Help!

klasikrecords

New Member
Joined
Dec 12, 2008
Messages
10
I need to add 2 additional parameters to the following formula.

=IF(ROWS(A$12:A12)<=$A$4,SMALL(
IF('Training Database'!$A$2:'Training Database'!$A$4996=$D$5,
ROW('Training Database'!$A$2:'Training Database'!$A$4996)-ROW('Training Database'!$A$2)+1),ROWS(A$12:A12)),"")

The bolded portion of the formula matches and emplyees name. I also want to add a date range. So the next piece would be something like 'Training Database'!$F$2:'Training Database'!$F$4996>=$D$6 and then 'Training Database'!$A$2:'Training Database'!$A$4996<=$D$7

But I cannot get this to work out correctly. Can someone please let m eknow how I can add those 2 parameters to the formula at the top?

Thanks soooo much!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try something like this (not tested)...

=IF(ROWS(A$12:A12)<=$A$4,SMALL(
IF(('Training Database'!$A$2:$A$4996=$D$5)*
('Training Database'!$F$2:$F$4996>=$D$6)*
('Training Database'!$F$2:$F$4996<=$D$7),
ROW('Training Database'!$A$2:'$A$4996)-ROW('Training Database'!$A$2)+1),ROWS(A$12:A12)),"")
 
Upvote 0
Try...
Rich (BB code):
=IF(ROWS(A$12:A12)<=$A$4,SMALL(
     IF('Training Database'!$A$2:$A$4996=$D$5,
     IF('Training Database'!$F$2:$F$4996>=$D$6,
     IF('Training Database'!$F$2:$F$4996<=$D$7,
       ROW('Training Database'!$A$2:$A$4996)-
         ROW('Training Database'!$A$2)+1))),ROWS(A$12:A12)),"")
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,845
Members
449,051
Latest member
excelquestion515

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
Back
Top