Help me annotate/explain a spreadsheet. I need help with the formulas.

Phillip Richcreek 1,035 Reputation points
2026-06-21T02:33:23.8666667+00:00

The Spreadsheet in question defines blood pressure readings and temperatures. I need help to decide what functions I might use to further explain the raw data.Vitals spreadsheet explanation annotated

Thanks for your help.
PR

Microsoft 365 and Office | Excel | For home | Windows
0 comments No comments

Answer accepted by question author
IlirU 2,651 Reputation points Volunteer Moderator
2026-06-26T07:56:36.64+00:00

User's image

Hi @Phillip Richcreek

(see the screenshot)

Try the following formula in cell C2. This formula returns the average of WEIGHT.

=AVERAGE(TOCOL(D7:D25 / (A7:A25 < TODAY()), 3))

Try the following formula in cell C3. This formula returns the average of TEMP.

=AVERAGE(TOCOL(B7:B25 / (A7:A25 < TODAY()), 3))

Note: the data in red has been fictitiously added by me. So you can put your own data in its place.

If my reply is correct for you then please mark my answer and kindly upvote it. But if you still haven't got the right answer, then explain to me where the problem lies so that I can try to help you again.

IlirU

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author
Barry Schwarz 6,111 Reputation points
2026-06-21T02:54:02.8766667+00:00

The AVERAGE function will ignore empty cells. You can calculate the average temperature for the entire range with

=AVERAGE(B4:Bxx)

A similar approach will work for weight in column D.

You can convert the 1xn array of text in Column C to a 3xn array of numbers with the formula

=IFERROR(TEXTSPLIT(TEXTJOIN("|",FALSE,C3:C12),"/","|",FALSE)+0,"")

If you put this off to the right somewhere, such as in G3, you could then use a series of conditional formatting formulas that apply to C3:Cxx to highlight the entries of interest. For example

1 If either the systolic or diastolic values exceed some thresholds, then color red.

2 If both values are below some thresholds, then color blue

=AND(G3<>"",H3<>"",OR(G3>140,H3>80))
=AND(G3<>"",H3<>"",G3<115,H3<75)

It gets a little bit trickier and the formulas become pretty long if you don't want to process all the available data but stop at some particular date. In that case, a macro may be a simpler approach that will be easier to understand and maintain.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Oldest
  1. Phillip Richcreek 1,035 Reputation points
    2026-07-29T04:18:13.29+00:00

    I accepted both answers. Why am I now seeing "Discard Draft" and a whirling circle?

    Phil

    Was this answer helpful?

    0 comments No comments

  2. Phillip Richcreek 1,035 Reputation points
    2026-07-29T04:30:09.75+00:00

    Apparently the only way for me to deal with the whirling circle is to exit Q&A

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.