Extracting a Date Range

lbird2

Board Regular
Joined
Dec 10, 2014
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Sorry for the lousy table format.

I would like to extract from the left Jan-Dec data, only the numbers that start and end with the dates under the headings Start, Stop. The desired result is shown to the right.
Many thanks.

Jan-20​
Feb-20​
Mar-20​
Apr-20​
May-20​
Jun-20​
Jul-20​
Aug-20​
Sep-20​
Oct-20​
Nov-20​
Dec-20​
StartStop
Jan-20​
Feb-20​
Mar-20​
Apr-20​
May-20​
Jun-20​
Jul-20​
Aug-20​
Sep-20​
Oct-20​
Nov-20​
Dec-20​
28​
39​
55​
50​
53​
79​
35​
6​
15​
80​
22​
54​
Mar-20​
Oct-20​
55​
50​
53​
79​
35​
6​
15​
80​
41​
29​
48​
1​
27​
64​
35​
92​
82​
30​
63​
22​
Jan-20​
Nov-20​
41​
29​
48​
1​
27​
64​
35​
92​
82​
30​
63​
0​
43​
54​
39​
52​
43​
11​
51​
90​
32​
85​
37​
Apr-20​
Jun-20​
39​
52​
43​
55​
63​
8​
92​
33​
76​
84​
28​
39​
15​
58​
6​
Jun-20​
Dec-20​
76​
84​
28​
39​
15​
58​
6​
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Team Rank PQ.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
11/1/20202/1/20203/1/20204/1/20205/1/20206/1/20207/1/20208/1/20209/1/202010/1/202011/1/202012/1/2020StartStopJan-20Feb-20Mar-20Apr-20May-20Jun-20Jul-20Aug-20Sep-20Oct-20Nov-20Dec-20
2283955505379356158022543/1/202010/31/2020  555053793561580  
3412948127643592823063221/1/202011/30/2020412948127643592823063 
4043543952431151903285374/1/20206/30/2020   395243      
555638923376842839155866/1/202012/31/2020     7684283915586
Sheet5
Cell Formulas
RangeFormula
B1:L1B1=EOMONTH(A1,0)+1
Q2:AB5Q2=IF(AND(A$1>=$N2,A$1<=$O2),A2,"")
 
Upvote 0

Forum statistics

Threads
1,215,050
Messages
6,122,868
Members
449,097
Latest member
dbomb1414

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