AGGREGATE HELP

hajiali

Well-known Member
Joined
Sep 8, 2018
Messages
624
Office Version
  1. 2016
Platform
  1. Windows
VBA Code:
=IFERROR(INDEX('EMPLOYEE LIST'!$BL$2:$BL$1000,[COLOR=rgb(235, 107, 86)]AGGREGATE(15[/COLOR],6,(ROW('EMPLOYEE LIST'!$BL$2:$BL$1000)-ROW('EMPLOYEE LIST'!$BL$2)+1)/(('EMPLOYEE LIST'!$V$2:$AT$1000=$A$17)),COLUMNS($C$17:C17))),"")

With the above code am able to pull all names in 'EMPLOYEE LIST'!$BL$2:$BL$1000 if 'EMPLOYEE LIST'!$V$2:$AT$1000=$A$17. $A$17 had DATE. I need this formula to be altered instead of "AGGREGATE(15" Small to pull the name in the order the date is typed. ex:

EMPLOYEE LIST SHEET * in red is the order I type the dates

BLV
BOB12/15 (1st)
MIKE
ZOE12/15 (5th)
JILL
PHILLIP12/15 (4th)
TRACY
JENN12/15 (2nd)
BILLY
TOM12/15 (3rd)
SMITH

I want the results to Output as:
12/15BOBJENNTOMPHILLIPZOE


My above Formula does:
12/15BOBZOEPHILLIPJENNTOM

any Suggestions.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
A formula can only see what is entered, not when it is entered. To do this with a formula you would need to create a full timestamp (date and time) when each entry is made.
 
Upvote 0
A formula can only see what is entered, not when it is entered. To do this with a formula you would need to create a full timestamp (date and time) when each entry is made.

can this be achieved by VBA?
 
Upvote 0
Possibly. Looking at your formula, I think however you do try it, it's going to be messy.

How does the range V2:AT2000 relate to the date entry, why 25 columns?
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,769
Members
448,991
Latest member
Hanakoro

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