Blood pressure data summary Pivot Table - unable to create the desired result

GCYR01

New Member
Joined
Apr 3, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I have blood pressure measures coming from a Withings BP monitor organized by day and would like to create an 'easy to read" report that my doctor can use to recommend the right medication.

I tried hard and looked at many useless youtube examples for my need but I am still not able to get it organized correctly in 4 columns and 3 rows using a standard pivot table, Can you please help?

Here is a sample of the raw data: BP Data.png

1712168915320.png


The desired summary: Desired Result.png (need a max, min, average and std dev of the 3 values for the entire dataset (filtered by a date range or by the medication name on demand)

1712168957882.png


Secondly, I need this data to be organised or filtered by date range.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
You can unpivot your data using power query (or manually or with formulas). and then do this:


1712171413085.png


Book2
ABCDEFGHIJK
1Date/TimeMeasureMeasurement
22024-03-01 07:00HeartRate78
32024-03-01 07:00Systolic144Row LabelsAverageMaxMinStdDev
42024-03-01 07:00Diastolic84Diastolic951107510
52024-03-01 19:00HeartRate83HeartRate8798757
62024-03-01 19:00Systolic135Systolic15919911825
72024-03-01 19:00Diastolic100Grand Total1141997536
82024-03-02 10:00HeartRate76
92024-03-02 10:00Systolic158
102024-03-02 10:00Diastolic107
112024-03-02 18:00HeartRate94
122024-03-02 18:00Systolic118
132024-03-02 18:00Diastolic107
142024-03-03 03:00HeartRate98
152024-03-03 03:00Systolic187
162024-03-03 03:00Diastolic105
172024-03-03 13:00HeartRate83
182024-03-03 13:00Systolic123
192024-03-03 13:00Diastolic101
202024-03-04 04:00HeartRate94
212024-03-04 04:00Systolic126
222024-03-04 04:00Diastolic91
232024-03-04 22:00HeartRate93
242024-03-04 22:00Systolic159
252024-03-04 22:00Diastolic88
262024-03-05 06:00HeartRate91
272024-03-05 06:00Systolic150
282024-03-05 06:00Diastolic97
292024-03-05 22:00HeartRate75
302024-03-05 22:00Systolic178
312024-03-05 22:00Diastolic109
322024-03-06 06:00HeartRate94
332024-03-06 06:00Systolic151
342024-03-06 06:00Diastolic90
352024-03-06 17:00HeartRate89
362024-03-06 17:00Systolic153
372024-03-06 17:00Diastolic83
382024-03-07 06:00HeartRate78
392024-03-07 06:00Systolic144
402024-03-07 06:00Diastolic75
412024-03-07 21:00HeartRate92
422024-03-07 21:00Systolic194
432024-03-07 21:00Diastolic78
442024-03-08 02:00HeartRate89
452024-03-08 02:00Systolic170
462024-03-08 02:00Diastolic96
472024-03-08 20:00HeartRate81
482024-03-08 20:00Systolic157
492024-03-08 20:00Diastolic86
502024-03-09 11:00HeartRate80
512024-03-09 11:00Systolic140
522024-03-09 11:00Diastolic110
532024-03-09 21:00HeartRate89
542024-03-09 21:00Systolic199
552024-03-09 21:00Diastolic84
562024-03-10 00:00HeartRate86
572024-03-10 00:00Systolic194
582024-03-10 00:00Diastolic104
592024-03-10 16:00HeartRate76
602024-03-10 16:00Systolic167
612024-03-10 16:00Diastolic90
622024-03-11 03:00HeartRate94
632024-03-11 03:00Systolic133
642024-03-11 03:00Diastolic101
652024-03-11 14:00HeartRate92
662024-03-11 14:00Systolic193
672024-03-11 14:00Diastolic92
682024-03-12 01:00HeartRate96
692024-03-12 01:00Systolic191
702024-03-12 01:00Diastolic103
71
HRandBP
 
Upvote 1
You can unpivot your data using power query (or manually or with formulas). and then do this:


View attachment 109423

Book2
ABCDEFGHIJK
1Date/TimeMeasureMeasurement
22024-03-01 07:00HeartRate78
32024-03-01 07:00Systolic144Row LabelsAverageMaxMinStdDev
42024-03-01 07:00Diastolic84Diastolic951107510
52024-03-01 19:00HeartRate83HeartRate8798757
62024-03-01 19:00Systolic135Systolic15919911825
72024-03-01 19:00Diastolic100Grand Total1141997536
82024-03-02 10:00HeartRate76
92024-03-02 10:00Systolic158
102024-03-02 10:00Diastolic107
112024-03-02 18:00HeartRate94
122024-03-02 18:00Systolic118
132024-03-02 18:00Diastolic107
142024-03-03 03:00HeartRate98
152024-03-03 03:00Systolic187
162024-03-03 03:00Diastolic105
172024-03-03 13:00HeartRate83
182024-03-03 13:00Systolic123
192024-03-03 13:00Diastolic101
202024-03-04 04:00HeartRate94
212024-03-04 04:00Systolic126
222024-03-04 04:00Diastolic91
232024-03-04 22:00HeartRate93
242024-03-04 22:00Systolic159
252024-03-04 22:00Diastolic88
262024-03-05 06:00HeartRate91
272024-03-05 06:00Systolic150
282024-03-05 06:00Diastolic97
292024-03-05 22:00HeartRate75
302024-03-05 22:00Systolic178
312024-03-05 22:00Diastolic109
322024-03-06 06:00HeartRate94
332024-03-06 06:00Systolic151
342024-03-06 06:00Diastolic90
352024-03-06 17:00HeartRate89
362024-03-06 17:00Systolic153
372024-03-06 17:00Diastolic83
382024-03-07 06:00HeartRate78
392024-03-07 06:00Systolic144
402024-03-07 06:00Diastolic75
412024-03-07 21:00HeartRate92
422024-03-07 21:00Systolic194
432024-03-07 21:00Diastolic78
442024-03-08 02:00HeartRate89
452024-03-08 02:00Systolic170
462024-03-08 02:00Diastolic96
472024-03-08 20:00HeartRate81
482024-03-08 20:00Systolic157
492024-03-08 20:00Diastolic86
502024-03-09 11:00HeartRate80
512024-03-09 11:00Systolic140
522024-03-09 11:00Diastolic110
532024-03-09 21:00HeartRate89
542024-03-09 21:00Systolic199
552024-03-09 21:00Diastolic84
562024-03-10 00:00HeartRate86
572024-03-10 00:00Systolic194
582024-03-10 00:00Diastolic104
592024-03-10 16:00HeartRate76
602024-03-10 16:00Systolic167
612024-03-10 16:00Diastolic90
622024-03-11 03:00HeartRate94
632024-03-11 03:00Systolic133
642024-03-11 03:00Diastolic101
652024-03-11 14:00HeartRate92
662024-03-11 14:00Systolic193
672024-03-11 14:00Diastolic92
682024-03-12 01:00HeartRate96
692024-03-12 01:00Systolic191
702024-03-12 01:00Diastolic103
71
HRandBP
Thank you so much, it worked perfectly!
 
Upvote 0
My pleasure. I'm happy to help. Best Wishes!
 
Upvote 0

Forum statistics

Threads
1,215,203
Messages
6,123,627
Members
449,109
Latest member
Sebas8956

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