lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I have a table like the one below. I created advanced filter criteria
criterial 1 - exam1 >50 [=B2>50]
criterial 2 - exam2 >70 [=C2>70]
and applied on this table
[TABLE="class: grid, width: 256"]
<tbody>[TR]
[TD="width: 64"]student[/TD]
[TD="width: 64"]exam1[/TD]
[TD="width: 64"]exam2[/TD]
[TD="width: 64"]result[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]70[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sarah[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]david[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]anna[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Everything is working, but my question, is it possible somehow ask excel to put word pass, in the result column after doing the filtering? Like the following
[TABLE="class: outer_border, width: 256"]
<tbody>[TR]
[TD="width: 64"]student[/TD]
[TD="width: 64"]exam1[/TD]
[TD="width: 64"]exam2[/TD]
[TD="width: 64"]result[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]70[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]40[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]david[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]90[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]anna[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD]pass[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 136"]
<tbody>[TR]
[TD="width: 136"]
Thank you[/TD]
[/TR]
</tbody>[/TABLE]
Ps: I just noticed that the advanced filter is giving me wrong answer! why anna is showing?
I have a table like the one below. I created advanced filter criteria
criterial 1 - exam1 >50 [=B2>50]
criterial 2 - exam2 >70 [=C2>70]
and applied on this table
[TABLE="class: grid, width: 256"]
<tbody>[TR]
[TD="width: 64"]student[/TD]
[TD="width: 64"]exam1[/TD]
[TD="width: 64"]exam2[/TD]
[TD="width: 64"]result[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]70[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mary[/TD]
[TD="align: right"]30[/TD]
[TD="align: right"]77[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]40[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sarah[/TD]
[TD="align: right"]100[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]david[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]anna[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Everything is working, but my question, is it possible somehow ask excel to put word pass, in the result column after doing the filtering? Like the following
[TABLE="class: outer_border, width: 256"]
<tbody>[TR]
[TD="width: 64"]student[/TD]
[TD="width: 64"]exam1[/TD]
[TD="width: 64"]exam2[/TD]
[TD="width: 64"]result[/TD]
[/TR]
[TR]
[TD]john[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]70[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]alex[/TD]
[TD="align: right"]70[/TD]
[TD="align: right"]40[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]david[/TD]
[TD="align: right"]11[/TD]
[TD="align: right"]90[/TD]
[TD]pass[/TD]
[/TR]
[TR]
[TD]anna[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]30[/TD]
[TD]pass[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 136"]
<tbody>[TR]
[TD="width: 136"]
Thank you[/TD]
[/TR]
</tbody>[/TABLE]
Ps: I just noticed that the advanced filter is giving me wrong answer! why anna is showing?
Last edited: