Formula to obtain 2nd and 3rd future date from another worksheet

woodie

New Member
Joined
May 27, 2014
Messages
14
I have two worksheets in my workbook. Sheet 1 is called Front and sheet 2 is called Details. Cells A5-A57 contain events and Cells B5-57 contains the next date of the event in Column A. Column B gets the data from the Details Sheet. The formula I used to get the date of the next (future) event is {=MIN(IF(Details!B2:B283>=TODAY(),Details!B2:B283))}

I now would like to not only have the next event listed on the Front sheet, but the next 3 meetings listed. In Column C I would like the 2nd future meeting and in Column D the 3 future meeting.

As the year progresses, the data on the Front sheet will change to reflect the next 3 upcoming events.

Any assistance anyone could provide will greatly be appreciated.

Woodie
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I have never written a formula with the SMALL function so I am not sure how to write the formula so that results only include dates in the future and not past dates.
 
Upvote 0
Something like:


Excel 2010
ABCDEFG
1EventDate
2RJM1/19/20181/19/20181/19/20181/27/20182/6/2018
3QNT1/27/2018
4KRC2/6/2018
5VYV2/13/2018
6LTG2/24/2018
7DTW2/25/2018
8QXR3/6/2018
9IWL3/11/2018
10LAE3/20/2018
11GMP4/4/2018
12EQH4/13/2018
13TBF4/14/2018
14JOC4/20/2018
15VXX4/25/2018
16SMO5/5/2018
17CXX5/10/2018
18NMM5/21/2018
19SON5/29/2018
20SSP6/13/2018
21DJW6/26/2018
22JZX7/8/2018
23JCP7/19/2018
24LYQ7/21/2018
25LWL7/28/2018
26JAY8/3/2018
Sheet1
Cell Formulas
RangeFormula
E2{=SMALL(IF($B$2:$B$26>=$D2,$B$2:$B$26),COLUMN(A1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
The front sheet looks like this
ABCD
1Event Next Event Date2nd future Event Date 3rd Future Event Date
2RJB
3JUT
4ABC

<tbody>
</tbody><colgroup><col><col><col><col><col></colgroup>

While the Detail sheet looks like this
AB
1RJB1/1/2018
2RJB2/15/2018
3RJB2/27/2017
4RJB3/3/2018
5RJB3/17/2018
6RJB3/29/2018
7RJB6/1/2018
8JUT5/1/2018
9JUT5/17/2018
10JUT6/3/2018
11JUT7/3/2017
12ABC1/16/2018
13ABC4/1/2018
14ABC4/6/2018
15ABC5/20/2018
16ABC11/11/2018

<tbody>
</tbody><colgroup><col><col><col></colgroup>
 
Upvote 0

Excel 2010
ABCD
1EventNext Event Date2nd future Event Date3rd Future Event Date
2RJB2/15/20183/3/20183/17/2018
3JUT5/1/20185/17/20186/3/2018
4ABC4/1/20184/6/20185/20/2018
Front
Cell Formulas
RangeFormula
B2{=SMALL(IF(Details!$A$1:$A$16=Front!$A2,IF(Details!$B$1:$B$16>=TODAY(),Details!$B$1:$B$16)),COLUMN(A1))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
I entered the formula and it came up with the next event date, however, I am not sure how I can obtain the 2nd future date and 3rd future date. Any assistance would greatly be appreciated.
 
Upvote 0
When I drag the formula right and down, it skips the 2nd future event and provides the third future event

Front Sheet
EventNext Event Date2nd future Event Date3rd Future Date
RJB2/15/183/3/18
JUT5/1/18
ABC4/1/18

Detail Sheet
EventDate
RJB1/1/18
RJB2/15/18
RJB2/27/17
RJB3/3/18
RJB3/17/18
RJB3/29/2018
RJB6/1/2018
JUT5/1/2018
JUT5/17/2018
JUT6/3/2018
JUT7/3/2017
ABC1/16/2018
ABC4/1/2018
ABC4/6/2018
ABC5/20/2018
ABC11/11/2018
<colgroup><col width="64" style="width: 48pt;"> <col width="119" style="width: 90pt; mso-width-source: userset; mso-width-alt: 4165;"> <tbody> </tbody>

<tbody>
</tbody><colgroup><col><col><col><col></colgroup>
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,659
Members
449,114
Latest member
aides

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