Excel - calculating the percentage of individuals that return over consecutive months -


i have spreadsheet of patients collecting medication on several months. patients grouped according month when first collected medication.

image

for each patient group, want calculate percentage of patients return during each of following months collect medication again. have inserted example of in spreadsheet, highlighted in yellow.

how can automate calculation in excel?

so if "cell s3 calculated c3/c2; cell s4 c4/c2 , on."

the formula need

=c3/c$2 

put in s3 , copy , paste cells below s3.

explanation

by default addresses in excel relative c3 means"this row, column -16" if copy down relative address stay same. fix address can use dollar symbols (highlight address & press f4 on keyboard) fix actual cell c2 not relative address.

more info


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -