Hi, hope you're doing great today.
In column B, I have # of events, like this:
[TABLE="class: cms_table, width: 65"]
<tbody>[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
In column C, I have Day number of week, eg:
[TABLE="class: cms_table, width: 106"]
<tbody>[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[TD]1 (Sun)
2
3
4 (Wed)
5
6
7 (Sat)[/TD]
[/TR]
</tbody>[/TABLE]
In column D (if you want to use this instead of day number), I have the actual weekday name (eg TUE, etc).
Here's where I need your help, please:
I want to make a table (results in H2 thru N5), like this:
[TABLE="class: cms_table, width: 468"]
<tbody>[TR]
[TD][/TD]
[TD]MON[/TD]
[TD]TUE[/TD]
[TD]WED[/TD]
[TD]TH[/TD]
[TD]FR[/TD]
[TD]SAT
[/TD]
[TD]SUN
[/TD]
[/TR]
[TR]
[TD]AVERAGE # of events[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MODE1(most frequent event #)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MODE2 (2nd most frequent event #)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MEDIAN[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So, if possible, I'd like the formulas ideally, for my learning stage, that will go into H2 thru M5 for my output table.
Thank you very much for your help and time, which I truly value and appreciate. If can't do formulas I can try arrays, but I always forget when I go back into edit, and end up hitting Enter instead of CSE.
(oh, by "mode2", i mean 2nd most frequent occurrence from column B which is the data I'm hoping to analyze).
thank you so much!
In column B, I have # of events, like this:
[TABLE="class: cms_table, width: 65"]
<tbody>[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[/TR]
[TR]
[TD]1[/TD]
[/TR]
[TR]
[TD]4[/TD]
[/TR]
</tbody>[/TABLE]
In column C, I have Day number of week, eg:
[TABLE="class: cms_table, width: 106"]
<tbody>[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[/TR]
[TR]
[TD]1 (Sun)
2
3
4 (Wed)
5
6
7 (Sat)[/TD]
[/TR]
</tbody>[/TABLE]
In column D (if you want to use this instead of day number), I have the actual weekday name (eg TUE, etc).
Here's where I need your help, please:
I want to make a table (results in H2 thru N5), like this:
[TABLE="class: cms_table, width: 468"]
<tbody>[TR]
[TD][/TD]
[TD]MON[/TD]
[TD]TUE[/TD]
[TD]WED[/TD]
[TD]TH[/TD]
[TD]FR[/TD]
[TD]SAT
[/TD]
[TD]SUN
[/TD]
[/TR]
[TR]
[TD]AVERAGE # of events[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MODE1(most frequent event #)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MODE2 (2nd most frequent event #)[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MEDIAN[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So, if possible, I'd like the formulas ideally, for my learning stage, that will go into H2 thru M5 for my output table.
Thank you very much for your help and time, which I truly value and appreciate. If can't do formulas I can try arrays, but I always forget when I go back into edit, and end up hitting Enter instead of CSE.
(oh, by "mode2", i mean 2nd most frequent occurrence from column B which is the data I'm hoping to analyze).
thank you so much!
Last edited: