Frequency formula.

Le_Me30

New Member
Joined
Jul 6, 2018
Messages
4
Hello All,

I would need someones help with frequency formula. never used it and now i need it for some of my work, i can come up with basic one but not with one with multiple criteria.
So here is what i need help on, i have a document with persons working times. Based on that i need to be able to calculate how many days they have worked by counting status "Connected" only once per day. I have below recreated the layout of the data. Criteria is based on country, weeks, persons ID, status what should be considered is "Connected". (please note that there will be drop downs and based on selected week and ID i need to be able to see their working days).
Hope the table makes sense :)

And thank you in advance!

[TABLE="class: grid, width: 100, align: left"]
<tbody>[TR]
[TD]

<tbody>
[TD="width: 64"][/TD]
[TD="width: 64"]ID[/TD]
[TD="width: 64"][/TD]
[TD="width: 108"][/TD]

</tbody>
[/TD]
[TD]
Surname

<tbody>
</tbody>
[/TD]
[TD]
Name

<tbody>
</tbody>
[/TD]
[TD]
STATUS

<tbody>
</tbody>
[/TD]
[TD]
START

<tbody>
</tbody>
[/TD]
[TD]
END

<tbody>
</tbody>
[/TD]
[TD]
Country

<tbody>
</tbody>
[/TD]
[TD]
WEEK

<tbody>
</tbody>
[/TD]
[TD]
MONTH

<tbody>
</tbody>
[/TD]
[TD]
Year

<tbody>
</tbody>
[/TD]
[TD]
WEEKDAY

<tbody>
</tbody>
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]
Country

<tbody>
</tbody>
[/TD]
[TD]UK[/TD]
[TD]<- This is dropdown[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
ON_SITE

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Week[/TD]
[TD]25[/TD]
[TD]<- This is dropdown[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 171"]
<tbody>[TR]
[TD="width: 171"]CONNECTED[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]18-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]ID[/TD]
[TD]1234[/TD]
[TD]<- This is dropdown[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]18-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Days worked?[/TD]
[TD]?[/TD]
[TD]Based on statuses "Connected".[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
READY

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Result should be[/TD]
[TD]4[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
Unavailable

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]18-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Monday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
WRAPUP

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
WRAPUP

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD][TABLE="width: 158"]
<tbody>[TR]
[TD="width: 75"]SMITH[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 171"]
<tbody>[TR]
[TD="width: 171"]WRAPUP[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]19-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 106"]
<tbody>[TR]
[TD="class: xl65, width: 106, align: right"]19-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD][TABLE="width: 158"]
<tbody>[TR]
[TD="width: 75"]SMITH[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 171"]
<tbody>[TR]
[TD="width: 171"]READY[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]19-06-18[/TD]

</tbody>
[/TD]
[TD][TABLE="width: 106"]
<tbody>[TR]
[TD="class: xl65, width: 106, align: right"]19-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Tuesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
ON_SITE

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]20-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]20-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]20-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 106"]
<tbody>[TR]
[TD="class: xl65, width: 106, align: right"]20-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]20-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]20-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
READY

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]20-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]20-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Wednesday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
Unavailable

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 75"]
<tbody>[TR]
[TD="class: xl65, width: 75, align: right"]21-06-18[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
CONNECTED

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD][TABLE="width: 83"]
<tbody>[TR]
[TD="width: 83"]John[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
READY

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

<tbody>
[TD="align: right"]12345[/TD]

</tbody>
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
ON_SITE

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]12345[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD]
SMITH

<tbody>
</tbody>
[/TD]
[TD]
John

<tbody>
</tbody>
[/TD]
[TD]
READY

<tbody>
</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]

<tbody>
[TD="class: xl65, align: right"]21-06-18[/TD]

</tbody>
[/TD]
[TD]UK[/TD]
[TD]25[/TD]
[TD]6[/TD]
[TD]2018[/TD]
[TD]Thursday[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Re: Need help with freequency formula.

Do we need to consider the start date AND the end date...or are they always equal?
 
Upvote 0
Re: Need help with freequency formula.

I put your sample data in an Excel Table named Table1 (In A1:K22).
and these values in O1:P4
Code:
Country          UK
Week             25
ID            12345
Days worked? ?
Last, this regular formula returns the number of unique START dates worked for the matching
Country, Week and ID for Status = Connected
Code:
P4: =SUMPRODUCT(--(MATCH(P3&"|CONNECTED|"&P1&"|"&P2&"|"&Table1[START]
,INDEX(Table1[ID]&"|"&Table1[STATUS]&"|"&Table1[Country]&"|"&Table1[WEEK]&"|"&Table1[START],0),0)
=(ROW(Table1[ID])-ROW(Table1[[#Headers],[ID]]))))
Is that something you can work with?
 
Upvote 0
Re: Need help with freequency formula.

I put your sample data in an Excel Table named Table1 (In A1:K22).
and these values in O1:P4
Code:
Country          UK
Week             25
ID            12345
Days worked? ?
Last, this regular formula returns the number of unique START dates worked for the matching
Country, Week and ID for Status = Connected
Code:
P4: =SUMPRODUCT(--(MATCH(P3&"|CONNECTED|"&P1&"|"&P2&"|"&Table1[START]
,INDEX(Table1[ID]&"|"&Table1[STATUS]&"|"&Table1[Country]&"|"&Table1[WEEK]&"|"&Table1[START],0),0)
=(ROW(Table1[ID])-ROW(Table1[[#Headers],[ID]]))))
Is that something you can work with?

Thank you so much, it works perfectly! You have saved my day.
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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