mugwump

New Member
Joined
Feb 3, 2019
Messages
6
I have a workbook that looks at the data page matches the date on the event page and posts the matching date information to the event page from the data page.

(see example below) data list below example. The problem I have is that if the data in the date range is more than 2 events the data does not enter on the events page. As a newbie I have gone as far as I can go. Could some one help me please?

Formula used
=VLOOKUP(B3,root_Event_Search.xlsx!rootevent,2,0)
Event page output
Week commencing
Week ending
4/02/201910/02/2019​​Pacific Jewel (T) Station Pier, Port Melbourne HAL Rd 18 - Melbourne Victory v Perth Glory AAMI Park
11/02/201917/02/2019University exams Caulfield Racecourse BBL Final - TBC v TBC MCG

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
Data page information
DateColumn1
15/11/2020ICC Men's World Twenty20 Final MCG
8/03/2020ICC Women's World Twenty20 Final MCG
24/11/2019International Convention of Jehovah's Witnesses Marvel Stadium
23/11/2019International Convention of Jehovah's Witnesses Marvel Stadium
22/11/2019International Convention of Jehovah's Witnesses Marvel Stadium
22/11/2019Kiss - End of the Road World Tour Rod Laver Arena
21/11/2019Kiss - End of the Road World Tour Rod Laver Arena
31/10/2019Shawn Mendes in concert Rod Laver Arena
30/10/2019Shawn Mendes in concert Rod Laver Arena
29/10/2019Shawn Mendes in concert Rod Laver Arena
29/10/2019Australian Masters Athletics National Track and Field Championships Melbourne Sports & Aquatic Centre
28/10/2019Australian Masters Athletics National Track and Field Championships Melbourne Sports & Aquatic Centre
27/10/2019Australian Masters Athletics National Track and Field Championships Melbourne Sports & Aquatic Centre
26/10/2019Australian Masters Athletics National Track and Field Championships Melbourne Sports & Aquatic Centre
25/10/2019Australian Masters Athletics National Track and Field Championships Melbourne Sports & Aquatic Centre

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

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
is that what you want? (with ALL distinct events)

exaple based on your example

MinMaxEvent.1Event.2Event.3Event.4Event.5Event.6Event.7Event.8Event.9Event.10Event.11Event.12Event.13Event.14Event.15Event.16Event.17Event.18Event.19Event.20Event.21Event.22Event.23Event.24Event.25Event.26Event.27Event.28Event.29Event.30Event.31
25/02/2019​
03/03/2019​
?Golden Princess (T)University examsCaravan & Camping Super Show 2019Bryan Ferry in concertArctic Monkeys - Live 20192019 Australian International Airshow & Aerospace & Defence Expo?NoordamEuropa??Carnival Legend (T)Summer Night MarketEuropa (T)?Crystal Serenity2019 JLT Community Series Week 1 - Carlton v EssendonSOuth Melbourne Night Market?Pacific EdenNight GallopsMordialloc Food, Wine & Music FestivalSANZAAR Super Rugby Union Round 3 - Melbourne Rebels v Highlanders (New Zealand)??Pacific Jewel (T)Beer Incider 2019Australian Guineas Day presented by 3AWHAL Rd 21 - Melbourne Victory v Newcastle Jets2019 NAB AFLW Round 5 - Carlton v CollingwoodUlysses Club National Rally - Grand Parade2019 JLT Community Series Week 1 - Nth Melbourne v St Kilda2019 JLT Community Series - Week 1 - Richmond v MelbourneHAL Rd 21 - Melbourne City v Perth GloryGlenferrie Festival 2019Commonwealth Bank Women's ODI Series -Australia v New ZealandSheffield Shield Victoria v Tasmania Day 1Carnival Legend (T)
04/03/2019​
10/03/2019​
Sheffield Shield Victoria v Tasmania Day 2??Pacific Jewel (T)
 
Last edited:
Upvote 0
MinMaxEvent.1Event.2Event.3Event.4Event.5Event.6Event.7Event.8Event.9Event.10Event.11Event.12Event.13Event.14Event.15Event.16Event.17Event.18Event.19Event.20Event.21Event.22Event.23Event.24Event.25Event.26Event.27Event.28Event.29Event.30Event.31
25/02/2019​
03/03/2019​
Golden Princess (T)University examsCaravan & Camping Super Show 2019Bryan Ferry in concertArctic Monkeys - Live 20192019 Australian International Airshow & Aerospace & Defence ExpoNoordamEuropaCarnival Legend (T)Summer Night MarketEuropa (T)Crystal Serenity2019 JLT Community Series Week 1 - Carlton v EssendonSOuth Melbourne Night MarketPacific EdenNight GallopsMordialloc Food, Wine & Music FestivalSANZAAR Super Rugby Union Round 3 - Melbourne Rebels v Highlanders (New Zealand)Pacific Jewel (T)Beer Incider 2019Australian Guineas Day presented by 3AWHAL Rd 21 - Melbourne Victory v Newcastle Jets2019 NAB AFLW Round 5 - Carlton v CollingwoodUlysses Club National Rally - Grand Parade2019 JLT Community Series Week 1 - Nth Melbourne v St Kilda2019 JLT Community Series - Week 1 - Richmond v MelbourneHAL Rd 21 - Melbourne City v Perth GloryGlenferrie Festival 2019Commonwealth Bank Women's ODI Series -Australia v New ZealandSheffield Shield Victoria v Tasmania Day 1
04/03/2019​
10/03/2019​
Sheffield Shield Victoria v Tasmania Day 2Pacific Jewel (T)

here is version without question marks

in your source you have hidden characters code 63 or unicode 8203 so clean your data first
 
Upvote 0
A1
B1
C1
D1
E1
F1
Data sheet
Table Name:
tblData
Data
Data
Formula
Formula
Formula
Formula
Date
Event
Week Beginning
Week Ending
Event Index
Lookup Key
Mon 25-02-19
University exams
25-02-19
03-03-19
1
435211
Mon 25-02-19
​Golden Princess (T)
25-02-19
03-03-19
2
435212

<tbody>
</tbody>

NOTE: Cell references (A1, B1, etc.) represent the actual position of those values but are not included on the actual worksheet - only shown here for demonstration purposes to indicate the posiion of rows/columns.

The values in A6, C6 & D6 (and corresponding rows below) are date numbers formatted as dates.
The values in E6 & F6 (and corresponding rows below) are integers.

Formulas: (copy down as required)
C6 = tblData[[#This Row],[Date]] - WEEKDAY( tblData[[#This Row],[Date]], 2) + 1
D6 = tblData[[#This Row],[Week Beginning]] + 6
E6 = COUNTIFS( $C$5:tblData[[#This Row],[Week Beginning]], tblData[[#This Row],[Week Beginning]] )
F6 = ( tblData[[#This Row],[Week Beginning]] & tblData[[#This Row],[Event Index]] ) *1

Event Summary sheet

A1

B1
C1
D1
E1
F1
G1
H1
I1
J1
K1
L1
A2
Start Date:
25-02-19
A4
Table Name:
tblEvents
Events scheduled for each week
Week No.
Week Beginning
Week Ending
No. of Events
Check Calc.
1
2
3
4
5
6
7
1
25-02-19
03-03-19
88
Error!
University exams
​Golden Princess (T)
Caravan & Camping Super Show 2019
University exams
​Golden Princess (T)
Caravan & Camping Super Show 2019
University exams
2
04-03-19
10-03-19
4
Ok
Sheffield Shield Victoria v Tasmania Day 2
​​Pacific Jewel (T)
Sheffield Shield Victoria v Tasmania Day 2
​​Pacific Jewel (T)
-
-
-

<tbody>
</tbody>

Formulas: (copy down & across as required)
A8 = ROW( tblEvents[[#This Row],[Week Beginning]]) - ROW( tblEvents[[#Headers],[Week No.]])
B8 = IF( tblEvents[[#This Row],[Week No.]] = 1, $B$3, OFFSET( tblEvents[[#This Row],[Week Beginning]], -1,0) + 7 )
C8 = tblEvents[[#This Row],[Week Beginning]] + 6
D8 = COUNTIFS( tblData[Week Beginning], tblEvents[[#This Row],[Week Beginning]] )
E8 = IF( COUNTIFS( tblEvents[[#This Row],[1 ]:[10 ]], "<>" & "-") = tblEvents[[#This Row],[No. of Events]], "Ok", "Error!" )
F8 = IFERROR( INDEX( tblData[Event], MATCH( ( tblEvents[[#This Row],[Week Beginning]] & tblEvents[[#Headers],[1 ]] )*1, tblData[Lookup Key], 0) ), "-" )

The values in F7:L7 are text.
The formulas in F8:L?? (expand as required) need to refer relatively to the field header in row 7 (so be careful when copying within the table)
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

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