Excel Blood Pressure & Heart Rate AVG?

puw

New Member
Joined
Nov 2, 2022
Messages
6
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
Twice a day I take my BP & heart rate. Each time I take 3 tests and then manually AVG.

The format I use in each column for the digital testing machine's results is S/D-H (85/70-81).

Because this is a standard way of showing these 3 measurements and because with a total of 6 measurements a day ... plus additional data, I want to keep to this format so that I can easily input and see ALL data I input on a screen without left/right scrolling (not spread out over multiple columns for individual numbers taking up too much width with all the additional data - which I know now would make it so much easier to do, but I do not have time now to reset all the data).

I came across this thread BP Excel Formula and have tried to change what I think should be changed but since I have a 'LEFT', a 'MIDDLE' and a 'RIGHT' number along with the '/' & '-' x 3 for each test, I cannot work out how to alter it to work. Unfortunately I am not very good when it comes to working out a formula for such data.

The data collected up to now covers almost 12 months - so there is a lot.

Occasionally I am too busy and 'miss' a test.

I have a colour code range that reflects the SYSTOLIC result only (that's the high number of the two ref. BP) ... but I am not sure this is available via using a formula because each result is a lighter shade of a main colour, the main colour being the one used for the average.

Can anyone please help me know if Excel can handle a formula for the way I input the data to create an AVG automatically. Can anyone help me to create the formula please? If it is possible, then I would like to link the AVG results to a 2nd sheet to show a chart. Due to where I live and COVID, it has not been possible for me to get back to see the doctor since the beginning of the year and I collect this data so as when I can get to see them, they will have an easy identifiable way of seeing how my health has been doing over this last year via the medication they initially set me on and whether they prefer the numbers or a chart, they can hopefully deduce future treatment more easily from my daily records. For my benefit, it would make my task of record keeping much easier & time efficient (because it takes quite a bit of time to input ALL of the data I collect and record, AVG the results, colour code as per images below etc).

Many thanks and I've included some screen shots that I hope will help you understand.
 

Attachments

  • range 1.png
    range 1.png
    15.4 KB · Views: 54
  • range 2.png
    range 2.png
    33.4 KB · Views: 54
  • colour key.png
    colour key.png
    3.7 KB · Views: 53
Hi there,

This formula will get the average you want in one cell, however, in order to extract any useful information for a chart, you would have to resort to individual calculations as the ones already provided, maybe in some far right columns, hidden from view.


1667454200011.png

E3:

Excel Formula:
=ROUND(AVERAGE(VALUE(LEFT(B3:D3,FIND("/",B3:D3)-1))),0)&"/"&ROUND(AVERAGE(VALUE(MID(B3:D3,FIND("/",B3:D3)+1,FIND("-",B3:D3)-FIND("/",B3:D3)-1))),0)&"-"&ROUND(AVERAGE(VALUE(RIGHT(B3:D3,LEN(B3:D3)-FIND("-",B3:D3)))),0)
This is an array formula, so if the Excel version is not 365, will need to have CTRL+SHIFT+ENTER.
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi there,

This formula will get the average you want in one cell, however, in order to extract any useful information for a chart, you would have to resort to individual calculations as the ones already provided, maybe in some far right columns, hidden from view.


View attachment 77715
E3:

Excel Formula:
=ROUND(AVERAGE(VALUE(LEFT(B3:D3,FIND("/",B3:D3)-1))),0)&"/"&ROUND(AVERAGE(VALUE(MID(B3:D3,FIND("/",B3:D3)+1,FIND("-",B3:D3)-FIND("/",B3:D3)-1))),0)&"-"&ROUND(AVERAGE(VALUE(RIGHT(B3:D3,LEN(B3:D3)-FIND("-",B3:D3)))),0)
This is an array formula, so if the Excel version is not 365, will need to have CTRL+SHIFT+ENTER.
Thank you for the above information - your explanation of what a chart needs leads me more and more in David's direction of simplifying the data ... start over but extract some 300 entries to individual cells for each test result number (24 columns vs 8). Thank you :)
 
Upvote 0
You have provided good information. It is a challenge providing suggestions when I do not know the data, background, goals, constraints, etc.

You stated "an easy way to extract the original data format of 95/82-89 to individual cells". I believe my suggestions may help with this.
Some of the formula get more complex if there is a mix of 2 and 3 character numbers.
Some of the formulas may require array enter unless you have Excel 365 or 2021.

"see how and if the shading/colouring of cells gives the same/right instant visual appearance."
Excel can colour cells via conditional formatting. For example if cell is >150 highlight in Red.

N.B. Please consider downloading the forum's tool called XL2BB. You will then be able to provide an extract of your sheet.

I updated some of the suggestions. I used an older version of Excel; the array formulas will now be highlighted.

The suggestions and formatting are not organized. Pull the information that seems useful. Ask questions.

You can copy my Excel extract to a clean sheet. Click on the icon below the f(x) in the heading and then move to your sheet and paste.
Dear David,
I'm glad the additional details were helpful to you. Thank you so much David.

Some may very well 'throw the towel in' at this point, but to be honest with so much data now accrued, it needs a simpler form of presentation I feel via a chart, that since we see everything in pictures first will benefit all intended participants. I know I was hoping the mountain might come to me, but I see now it has to be the reverse via a clean sheet, extract, apply formulas, create charts.

I will hang on on uploading my table as I'm the kind of person who wants to work out (with your help) how to do it first. Besides, I would have to remove a lot of personal info first which I do not want to share publicly. I am familiar with and have used for many years (personal) ASAP Utilities, which I think will be of great help to me yet again in doing this, as it has so many times over the years.

I'm sure this is going to take a good few days for me to work through, fail, questions, try another of your alternatives for a solution, perhaps find a solution through a combination etc ... so please forgive my absence - I will not be ignoring you or the other members helping me ... I just need to clear my head, focus on the job ahead, get the data extracted into a visual format I can live with and then apply the AVG formulas that make it simple and that will give the right chart etc.

Thank you :)
 
Upvote 0
Revision 2
A.
Log of Blood Pressure moving forward
Columns L:N provide the average of the 3 readings * 2
First post shows the result with hidden columns. Does this work on your systems?
Do you want just one number a day (average of the 2 sets of readings)?
The second part shows the detail and an alternative for the data entry.
Which order of entry do you prefer?
B.
Extract of information from the data already recorded.
If there are always 3 numbers, this version does not require Array Enter.

I can post Revision 1 if you want me to.
T202211a.xlsm
ALMN
1Future Daily LogAverage
2DateDSP
32-Nov-221027172
42-Nov-221047173
53-Nov-22967159
63-Nov-221057461
74-Nov-221187263
84-Nov-221037261
9or
10Date
112-Nov-221027172
12
2aa
Cell Formulas
RangeFormula
L3:L8L3=AVERAGE(C3:E3)
M3:M8M3=AVERAGE(F3:H3)
N3:N8N3=AVERAGE(I3:K3)
L11:N11L11=AVERAGE(C11,F11,I11)


detail I can delete column B; it does not yield values that we can use.

T202211a.xlsm
ABCDEFGHIJKLMN
1Future Daily LogAverage
2DateResultD-1D-2D-3S-1S-2S-3P-1P-2P-3DSP
32-Nov-22102/71-7211596966972727674661027172
42-Nov-22104/71-7312096966972727674701047173
53-Nov-2296/71-59999594717171605958967159
63-Nov-22105/74-6112595947180716065581057461
74-Nov-22118/72-631251201107077706263641187263
84-Nov-22103/72-61801201107077705563641037261
9or
10DateResultD-1S-1P-1D-2S-2P-2D-3S-3P-3
112-Nov-22102/71-7211569769672749672661027172
12
2aa
Cell Formulas
RangeFormula
L3:L8L3=AVERAGE(C3:E3)
M3:M8M3=AVERAGE(F3:H3)
N3:N8N3=AVERAGE(I3:K3)
B3:B8B3=ROUND(AVERAGE(C3:E3),0)&"/"&ROUND(AVERAGE(F3:H3),0)&"-"&ROUND(AVERAGE(I3:K3),0)
B11B11=ROUND(AVERAGE(C11,F11,I11),0)&"/"&ROUND(AVERAGE(D11,G11,J11),0)&"-"&ROUND(AVERAGE(E11,H11,K11),0)
L11:N11L11=AVERAGE(C11,F11,I11)


Extract from previously recorded information
T202211a.xlsm
ABCDEFG
13Revison 2
14Date#1#2#3DiastolicSystolicPulse
1531-Aug-2294/69-7696/72-7496/72-66957172
161-Sep-2298/69-7696/72-7499/72-66987172
172-Sep-22115/69-7296/72-7499/70-681037071
183-Sep-22120/70-6696/72-7499/70-1041057181
19
2a
Cell Formulas
RangeFormula
E15:E18E15=SUMPRODUCT(--MID(B15:D15,1,FIND("/",B15:D15)-1))/3
F15:F18F15=SUMPRODUCT(--MID(B15:D15,FIND("/",B15:D15)+1,2))/3
G15:G18G15=SUMPRODUCT(--MID(B15:D15,FIND("-",B15:D15)+1,99))/3
 
Last edited:
Upvote 0
Good morning
1. Existing text like 98/69-76 can be converted with or without formulas to numbers that can yield averages etc.
The number of rows is not large so the conversion could be completed quite quickly.
2. Future data entry can be designed to minimize user work; the computer can complete summaries and calculations.
3. Reports can yield valuable information for you and your doctor.
To provide suggestions, we need to know the layout of your spreadsheet and type of data that we need to convert. What results do you require for each day and ultimately what information by month, year or other?
We do not need your actual data but say 5 lines that reflect possible data. The sample could include maximums, minimums, etc. The sample could also show the expected results. Do you want one average per day or two, or more for each category such as Diastolic.

Plan
- easy but relevant data entry
- relevant reports What should be on the report?
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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