lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I will find the average salary using =average(D2:D8). What I also want to know the names of people who make more than average and the names who make more than average. How can I do that? Thank you
=average(D2:D8)[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]54787.57[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]name[/TD]
[TD="width: 64"]dept[/TD]
[TD="width: 64"]age[/TD]
[TD="width: 64"]salary[/TD]
[/TR]
[TR]
[TD]john1[/TD]
[TD]it[/TD]
[TD]46[/TD]
[TD]99178[/TD]
[/TR]
[TR]
[TD]alex1[/TD]
[TD]hr[/TD]
[TD]38[/TD]
[TD]13887[/TD]
[/TR]
[TR]
[TD]david1[/TD]
[TD]sales[/TD]
[TD]46[/TD]
[TD]35365[/TD]
[/TR]
[TR]
[TD]mary1[/TD]
[TD]marketing[/TD]
[TD]72[/TD]
[TD]13553[/TD]
[/TR]
[TR]
[TD]sam1[/TD]
[TD]it[/TD]
[TD]27[/TD]
[TD]99579[/TD]
[/TR]
[TR]
[TD]linda1[/TD]
[TD]hr[/TD]
[TD]69[/TD]
[TD]77583[/TD]
[/TR]
[TR]
[TD]john2[/TD]
[TD]sales[/TD]
[TD]67[/TD]
[TD]44368[/TD]
[/TR]
</tbody>[/TABLE]
I will find the average salary using =average(D2:D8). What I also want to know the names of people who make more than average and the names who make more than average. How can I do that? Thank you
=average(D2:D8)[TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64, align: right"]54787.57[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 256"]
<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]name[/TD]
[TD="width: 64"]dept[/TD]
[TD="width: 64"]age[/TD]
[TD="width: 64"]salary[/TD]
[/TR]
[TR]
[TD]john1[/TD]
[TD]it[/TD]
[TD]46[/TD]
[TD]99178[/TD]
[/TR]
[TR]
[TD]alex1[/TD]
[TD]hr[/TD]
[TD]38[/TD]
[TD]13887[/TD]
[/TR]
[TR]
[TD]david1[/TD]
[TD]sales[/TD]
[TD]46[/TD]
[TD]35365[/TD]
[/TR]
[TR]
[TD]mary1[/TD]
[TD]marketing[/TD]
[TD]72[/TD]
[TD]13553[/TD]
[/TR]
[TR]
[TD]sam1[/TD]
[TD]it[/TD]
[TD]27[/TD]
[TD]99579[/TD]
[/TR]
[TR]
[TD]linda1[/TD]
[TD]hr[/TD]
[TD]69[/TD]
[TD]77583[/TD]
[/TR]
[TR]
[TD]john2[/TD]
[TD]sales[/TD]
[TD]67[/TD]
[TD]44368[/TD]
[/TR]
</tbody>[/TABLE]