Searching for clustered numbers

keranali

Rules Violation
Joined
Oct 4, 2010
Messages
234
Office Version
  1. 365
Platform
  1. Windows
Need to input a number on a cell in red then excel searches a next tab where the database is and lists, 1. The dates the number was on the database list. 2. The number in the cell above it in the "reverse" label. 3. The number below it in the bottom cell labeled "Forward". and 4. when the number is inputted in red it populates the information for that day.

the project.xlsx
BCDEFGHI
524
6
7
8
9
10
11
12Clustering AlgorithmsDay Line
13ReverseForwardDatesAMMDEVPM
14
15
16
17
18
19
20
21
22
23
24
Overview
Cell Formulas
RangeFormula
B5B5=B3





Database

the project.xlsx
BCD
1DateTimeNum
22-Jan-23Morning33
32-Jan-23Midday21
42-Jan-23Afternoon4
52-Jan-23Evening1
63-Jan-23Morning2
73-Jan-23Midday15
83-Jan-23Afternoon32
93-Jan-23Evening22
104-Jan-23Morning27
114-Jan-23Midday5
124-Jan-23Afternoon32
134-Jan-23Evening35
145-Jan-23Morning18
155-Jan-23Midday12
165-Jan-23Afternoon15
175-Jan-23Evening11
186-Jan-23Morning19
196-Jan-23Midday12
206-Jan-23Afternoon2
216-Jan-23Evening20
227-Jan-23Morning36
237-Jan-23Midday36
247-Jan-23Afternoon5
257-Jan-23Evening20
269-Jan-23Morning32
279-Jan-23Midday13
289-Jan-23Afternoon5
299-Jan-23Evening21
3010-Jan-23Morning18
3110-Jan-23Midday5
3210-Jan-23Afternoon35
3310-Jan-23Evening4
3411-Jan-23Morning30
3511-Jan-23Midday17
3611-Jan-23Afternoon33
3711-Jan-23Evening11
3812-Jan-23Morning13
3912-Jan-23Midday33
4012-Jan-23Afternoon28
4112-Jan-23Evening33
4213-Jan-23Morning34
4313-Jan-23Midday21
4413-Jan-23Afternoon19
4513-Jan-23Evening8
4614-Jan-23Morning18
4714-Jan-23Midday11
4814-Jan-23Afternoon12
4914-Jan-23Evening19
5016-Jan-23Morning6
5116-Jan-23Midday13
5216-Jan-23Afternoon6
5316-Jan-23Evening10
5417-Jan-23Morning33
5517-Jan-23Midday3
5617-Jan-23Afternoon15
5717-Jan-23Evening22
5818-Jan-23Morning20
5918-Jan-23Midday26
6018-Jan-23Afternoon30
6118-Jan-23Evening4
6219-Jan-23Morning13
6319-Jan-23Midday12
6419-Jan-23Afternoon1
6519-Jan-23Evening14
6620-Jan-23Morning10
6720-Jan-23Midday19
6820-Jan-23Afternoon18
6920-Jan-23Evening28
7021-Jan-23Morning24
7121-Jan-23Midday30
7221-Jan-23Afternoon3
7321-Jan-23Evening32
7423-Jan-23Morning4
7523-Jan-23Midday20
7623-Jan-23Afternoon36
7723-Jan-23Evening10
7824-Jan-23Morning9
7924-Jan-23Midday10
8024-Jan-23Afternoon12
8124-Jan-23Evening21
8225-Jan-23Morning29
8325-Jan-23Midday8
8425-Jan-23Afternoon15
8525-Jan-23Evening21
Data
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
can you type in some examples of expected results?
 
Upvote 0
Thanks for your reply please see below
the project.xlsx
BCDEFGHI
1
2Entries
324BetaSubmit
4
523
6
7
8
9
10
11
12Clustering AlgorithmsDay Line
13ReverseForwardDatesAMMDEVPM
1433233/2/202323233532
159239/3/20232323536
16
17
18
19
20
21
22
23
24
Overview
Cells with Data Validation
CellAllowCriteria
B3List=Stats!$B$1:$AK$1
C3List=Repo!$A$1:$A$4



the project.xlsx
BCD
1061-Feb-23Morning11
1071-Feb-23Midday27
1081-Feb-23Afternoon16
1091-Feb-23Evening13
1102-Feb-23Morning31
1112-Feb-23Midday36
1122-Feb-23Afternoon29
1132-Feb-23Evening33
1143-Feb-23Morning23
1153-Feb-23Midday23
1163-Feb-23Afternoon35
1173-Feb-23Evening32
1184-Feb-23Morning30
1194-Feb-23Midday14
1204-Feb-23Afternoon9
1214-Feb-23Evening13
1226-Feb-23Morning4
1236-Feb-23Midday12
1246-Feb-23Afternoon2
1256-Feb-23Evening32
1267-Feb-23Morning18
1277-Feb-23Midday21
1287-Feb-23Afternoon14
1297-Feb-23Evening1
1308-Feb-23Morning22
1318-Feb-23Midday13
1328-Feb-23Afternoon31
1338-Feb-23Evening20
1349-Feb-23Morning27
1359-Feb-23Midday34
1369-Feb-23Afternoon6
1379-Feb-23Evening3
13810-Feb-23Morning7
13910-Feb-23Midday31
14010-Feb-23Afternoon21
14110-Feb-23Evening9
14211-Feb-23Morning30
14311-Feb-23Midday35
14411-Feb-23Afternoon10
14511-Feb-23Evening10
14613-Feb-23Morning29
14713-Feb-23Midday4
14813-Feb-23Afternoon27
14913-Feb-23Evening10
15014-Feb-23Morning18
15114-Feb-23Midday20
15214-Feb-23Afternoon21
15314-Feb-23Evening16
15415-Feb-23Morning28
15515-Feb-23Midday24
15615-Feb-23Afternoon35
15715-Feb-23Evening22
15816-Feb-23Morning5
15916-Feb-23Midday2
16016-Feb-23Afternoon14
16116-Feb-23Evening3
16217-Feb-23Morning22
16317-Feb-23Midday36
16417-Feb-23Afternoon30
16517-Feb-23Evening28
16618-Feb-23Morning19
16718-Feb-23Midday16
16818-Feb-23Afternoon35
16918-Feb-23Evening25
17020-Feb-23Morning11
17120-Feb-23Midday18
17220-Feb-23Afternoon13
17320-Feb-23Evening11
17421-Feb-23Morning29
17521-Feb-23Midday30
17621-Feb-23Afternoon6
17721-Feb-23Evening16
17822-Feb-23Morning28
17922-Feb-23Midday4
18022-Feb-23Afternoon15
18122-Feb-23Evening34
18223-Feb-23Morning29
18323-Feb-23Midday34
18423-Feb-23Afternoon8
18523-Feb-23Evening25
18624-Feb-23Morning7
18724-Feb-23Midday35
18824-Feb-23Afternoon14
18924-Feb-23Evening10
19025-Feb-23Morning10
19125-Feb-23Midday29
19225-Feb-23Afternoon1
19325-Feb-23Evening8
19427-Feb-23Morning24
19527-Feb-23Midday30
19627-Feb-23Afternoon7
19727-Feb-23Evening24
19828-Feb-23Morning21
19928-Feb-23Midday4
20028-Feb-23Afternoon4
20128-Feb-23Evening3
2021-Mar-23Morning12
2031-Mar-23Midday18
2041-Mar-23Afternoon3
2051-Mar-23Evening15
2062-Mar-23Morning32
2072-Mar-23Midday27
2082-Mar-23Afternoon15
2092-Mar-23Evening19
2103-Mar-23Morning8
2113-Mar-23Midday21
2123-Mar-23Afternoon1
2133-Mar-23Evening6
2144-Mar-23Morning14
2154-Mar-23Midday18
2164-Mar-23Afternoon30
2174-Mar-23Evening12
2186-Mar-23Morning10
2196-Mar-23Midday28
2206-Mar-23Afternoon27
2216-Mar-23Evening34
2227-Mar-23Morning20
2237-Mar-23Midday25
2247-Mar-23Afternoon27
2257-Mar-23Evening32
2268-Mar-23Morning6
2278-Mar-23Midday1
2288-Mar-23Afternoon35
2298-Mar-23Evening9
2309-Mar-23Morning23
2319-Mar-23Midday23
2329-Mar-23Afternoon5
2339-Mar-23Evening36
23410-Mar-23Morning27
23510-Mar-23Midday7
23610-Mar-23Afternoon21
23710-Mar-23Evening10
Data
 
Upvote 0
well, thank you for the sample output and the additional data source. Since you have multiple instances of the same number getting a list of dates is problematic for me. If you had 365 it can probably be done with LAMBDA, LET, and FILTER functions

I know there is a way to do pull down array formulas to get what you ask, but my expertise is not at that level.
 
Upvote 0
The OP runs 2016 and LAMBDA, etc. aren't available in 2016.
 
Upvote 0
Revised version on the table expanding on the Times per day

the project.xlsx
BCDEFGHI
523
6
7
8
9
10
11
12Clustering AlgorithmsDay Line
13ReverseForwardDatesMorningMiddayAfternoonEvening
1433233/2/202323233532
159239/3/20232323536
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Overview
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,664
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