Index and Match between Two Dates

matthewlouis

Active Member
Joined
Mar 28, 2014
Messages
374
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hey EXCEL experts, I need a formula for an index and match that looks for a number that is below another cell number. Attached is an image with more explanation. The key is to keep the index / match between the two dates on the sheet in each column.

Thanks in advance!
 
Will you look at this and see if you can use this . . . I don't have any formulas in it, just the results of what each cell is supposed to be. Don't know why it looks so BIG on the screen, how do I make it small and more readable? Or, can you open it where you are in Excel? Not sure how XLB22 works.

Need help with the formulas from Columns P to Q. I will make a NEW post with more explanation if this posted OK and you can see it. Thanks!
 
Last edited:
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I've not seen that before with XL2BB, best guess would be that you have increased the font size and decreased the zoom in your sheet (old habit from days of lower screen resolutions?). I believe that XL2BB copies the formatting from your sheet but zoom will always be at 100% which is why it looks so big.

I've just tried copying your example to excel and it looks normal when I reduce zoom to 50%. (the way it works is to click the copy icon in the top left corner of the XL2BB table, then paste into an empty excel sheet, it gives us an almost identical copy of your data to work with, including formulas when you have them).
 
Upvote 0
Solution
Checking this . . .

2020 July 11 Data for PJ.xlsb
ABCDEFGHIJKLMNOPQRSTU
1ABCDEFGHIJKLMNOPQRSTU
2Daily SPHDateDate IndexHighLowCloseDaily VolumeSwing Point High PriceDate of Swing Point HighSwing Point High Volume60 Day Window for "Closed Over" DatePrice Closed Over Swing Point HighDate Price Closed Over Swing Point HighVolume on Date Price Closed Over Swing Point High6 - Day Window for FIRST Test DateFIRST TEST - Index Column D to see if price touched the Swing Point High Price <= Column O Date (6 Days)First Test Date <= 6 BarsIndex Column D - did Price FIRST Test into Swing Point High Price GREATER THAN Column O Date AND LESS THAN Column K DateFirst Test Date > 6 BarsIndex Column D - did Price SECOND Test into Swing Point High Price LESS THAN Column K DateIndex Column D - did Price THIRD Test into Swing Point High Price LESS THAN Column K Date
3
4Daily SPH9/7/16-9652,187.872,179.072,186.163,319,420,0002,187.879/7/20163,319,420,00012/1/20162,198.18 11/21/20163,607,010,00011/30/2016NoNo2,187.4412/1/2016NoNo
5Daily SPH9/8/16-9642,184.942,177.492,181.303,727,840,000
6Daily SPH9/9/16-9632,169.082,127.812,127.814,233,960,000
7Daily SPH9/12/16-9622,163.302,119.122,159.044,010,480,000
8Daily SPH9/13/16-9612,150.472,120.272,127.024,141,670,000
9Daily SPH9/14/16-9602,141.332,119.902,125.773,664,100,000
10Daily SPH9/15/16-9592,151.312,122.362,147.263,373,720,000
11Daily SPH9/16/16-9582,146.482,131.202,139.165,014,360,000
12Daily SPH9/19/16-9572,153.612,135.912,139.123,163,000,000
13Daily SPH9/20/16-9562,150.802,139.172,139.763,140,730,000
14Daily SPH9/21/16-9552,165.112,139.572,163.123,712,090,000
15Daily SPH9/22/16-9542,179.992,170.942,177.183,552,830,0002,179.999/22/20163,552,830,00012/16/20162,180.39 11/15/20164,543,860,00011/23/20162,179.2211/16/2016NoNoNoNo
16Daily SPH9/23/16-9532,173.752,163.972,164.693,317,190,000
17Daily SPH9/26/16-9522,158.542,145.042,146.103,216,170,000
18Daily SPH9/27/16-9512,161.132,141.552,159.933,437,770,000
19Daily SPH9/28/16-9502,172.402,151.792,171.373,891,460,000
20Daily SPH9/29/16-9492,172.672,145.202,151.134,249,220,000
21Daily SPH9/30/16-9482,175.302,156.512,168.274,173,340,0002,175.309/30/20164,173,340,00012/27/20162,180.39 11/15/20164,543,860,00011/23/2016NoNoNoNoNoNo
22Daily SPH10/3/16-9472,164.412,154.772,161.203,137,550,000
23Daily SPH10/4/16-9462,165.462,144.012,150.493,750,890,000
24Daily SPH10/5/16-9452,163.952,155.152,159.733,906,550,000
25Daily SPH10/6/16-9442,162.932,150.282,160.773,461,550,000
26Daily SPH10/7/16-9432,165.862,144.852,153.743,619,890,000
27Daily SPH10/10/16-9422,169.602,160.392,163.662,916,550,0002,169.6010/10/20162,916,550,0001/5/20172,180.39 11/15/20164,543,860,00011/23/2016
28Daily SPH10/11/16-9412,161.562,128.842,136.733,438,270,000
29Daily SPH10/12/16-9402,145.362,132.772,139.182,977,100,000
30Daily SPH10/13/16-9392,138.192,114.722,132.553,580,450,000
31Daily SPH10/14/16-9382,149.192,132.982,132.983,228,150,000
32Daily SPH10/17/16-9372,135.612,124.432,126.502,830,390,000
33Daily SPH10/18/16-9362,144.382,135.492,139.603,170,000,000
34Daily SPH10/19/16-9352,148.442,138.152,144.293,362,670,000
35Daily SPH10/20/16-9342,147.182,133.442,141.343,337,170,000
36Daily SPH10/21/16-9332,142.632,130.092,141.163,448,850,000
37Daily SPH10/24/16-9322,154.792,146.912,151.333,357,320,0002,154.7910/24/20163,357,320,0001/20/20172,163.26 11/9/20166,264,150,00011/17/2016
38Daily SPH10/25/16-9312,151.442,141.932,143.163,751,340,000
39Daily SPH10/26/16-9302,145.732,131.592,139.433,775,200,000
40Daily SPH10/27/16-9292,147.132,132.522,133.044,204,830,000
41Daily SPH10/28/16-9282,140.722,119.362,126.414,019,510,000
42Daily SPH10/31/16-9272,133.252,125.532,126.153,922,400,000
43Daily SPH11/1/16-9262,131.452,097.852,111.724,532,160,000
44Daily SPH11/2/16-9252,111.762,094.002,097.944,248,580,000
45Daily SPH11/3/16-9242,102.562,085.232,088.663,886,740,000
46Daily SPH11/4/16-9232,099.072,083.792,085.183,837,860,000
47Daily SPH11/7/16-9222,132.002,100.592,131.523,736,060,000
48Daily SPH11/8/16-9212,146.872,123.562,139.563,916,930,000
49Daily SPH11/9/16-9202,170.102,125.352,163.266,264,150,000
50Daily SPH11/10/16-9192,182.302,151.172,167.486,451,640,000
51Daily SPH11/11/16-9182,165.922,152.492,164.454,988,050,000
52Daily SPH11/14/16-9172,171.362,156.082,164.205,367,200,000
53Daily SPH11/15/16-9162,180.842,166.382,180.394,543,860,000
54Daily SPH11/16/16-9152,179.222,172.202,176.943,830,590,000
55Daily SPH11/17/16-9142,188.062,176.652,187.123,809,160,000
56Daily SPH11/18/16-9132,189.892,180.382,181.903,572,400,000
57Daily SPH11/21/16-9122,198.702,186.432,198.183,607,010,000
58Daily SPH11/22/16-9112,204.802,194.512,202.943,957,940,000
59Daily SPH11/23/16-9102,204.722,194.512,204.723,418,640,000
60Daily SPH11/25/16-9092,213.352,206.272,213.351,584,600,000
61Daily SPH11/28/16-9082,211.142,200.362,201.723,505,650,000
62Daily SPH11/29/16-9072,210.462,198.152,204.663,706,560,000
63Daily SPH11/30/16-9062,214.102,198.812,198.815,533,980,000
64Daily SPH12/1/16-9052,202.602,187.442,191.085,063,740,000
65Daily SPH12/2/16-9042,197.952,188.372,191.953,779,500,000
66Daily SPH12/5/16-9032,209.422,199.972,204.713,895,230,000
67Daily SPH12/6/16-9022,212.782,202.212,212.233,855,320,000
68Daily SPH12/7/16-9012,241.632,208.932,241.354,501,820,000
69Daily SPH12/8/16-9002,251.692,237.572,246.194,200,580,000
70Daily SPH12/9/16-8992,259.802,249.232,259.533,884,480,000
71Daily SPH12/12/16-8982,264.032,252.372,256.964,034,510,000
72Daily SPH12/13/16-8972,277.532,263.322,271.723,857,590,0002,277.5312/13/20163,857,590,0003/13/20172,280.07 1/24/20173,810,960,0002/1/2017
73Daily SPH12/14/16-8962,276.202,248.442,253.284,406,970,000
74Daily SPH12/15/16-8952,272.122,253.772,262.034,168,200,000
75Daily SPH12/16/16-8942,268.052,254.242,258.075,920,340,000
76Daily SPH12/19/16-8932,267.472,258.212,262.533,248,370,000
77Daily SPH12/20/16-8922,272.562,266.142,270.763,298,780,000
78Daily SPH12/21/16-8912,271.232,265.152,265.182,852,230,000
79Daily SPH12/22/16-8902,263.182,256.082,260.962,876,320,000
80Daily SPH12/23/16-8892,263.792,258.842,263.792,020,550,000
81Daily SPH12/27/16-8882,273.822,266.152,268.881,987,080,0002,273.8212/27/20161,987,080,0003/24/20172,276.98 1/6/20173,339,890,0001/17/2017
82Daily SPH12/28/16-8872,271.312,249.112,249.922,392,360,000
83Daily SPH12/29/16-8862,254.512,244.562,249.262,336,370,000
84Daily SPH12/30/16-8852,253.582,233.622,238.832,670,900,000
85Daily SPH1/3/17-8842,263.882,245.132,257.833,770,530,000
86Daily SPH1/4/17-8832,272.822,261.602,270.753,764,890,000
87Daily SPH1/5/17-8822,271.502,260.452,269.003,761,820,000
88Daily SPH1/6/17-8812,282.102,264.062,276.983,339,890,0002,282.101/6/20173,339,890,0004/4/20172,298.37 1/25/20173,846,020,0002/2/2017
Daily SPH 2016
Cells with Conditional Formatting
CellConditionCell FormatStop If True
T4:V4Cell Value=41229textYES
T4:V4Cell Value=41166textYES
T4:V4Cell Value=41064textYES
T4:V4Cell Value=41229textYES
O4:S4,K4:N965Cell Value=41229textYES
O4:S4,K4:N965Cell Value=41166textYES
O4:S4,K4:N965Cell Value=41064textYES
K4:K965,H4:I965,O4:S4,M4:N965Cell Value=41229textYES
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,520
Members
449,088
Latest member
RandomExceller01

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