majidsiddique
Board Regular
- Joined
- Oct 22, 2018
- Messages
- 164
Hi all,
tell me how i can values in group wise below mention table.
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]Person[/TD]
[TD="class: xl64, width: 64"]Age[/TD]
[/TR]
[TR]
[TD="class: xl63"]majid[/TD]
[TD="class: xl63"]19[/TD]
[/TR]
[TR]
[TD="class: xl63"]sajid[/TD]
[TD="class: xl63"]25[/TD]
[/TR]
[TR]
[TD="class: xl63"]khalid[/TD]
[TD="class: xl63"]20[/TD]
[/TR]
[TR]
[TD="class: xl63"]ahmed[/TD]
[TD="class: xl63"]60[/TD]
[/TR]
[TR]
[TD="class: xl63"]nasir[/TD]
[TD="class: xl63"]35[/TD]
[/TR]
[TR]
[TD="class: xl63"]khan[/TD]
[TD="class: xl63"]45[/TD]
[/TR]
[TR]
[TD="class: xl63"]gulraz[/TD]
[TD="class: xl63"]31[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 512"]
<colgroup><col width="64" span="8" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]
Age-G[/TD]
[TD="class: xl65, width: 64"]majid[/TD]
[TD="class: xl65, width: 64"]sajid[/TD]
[TD="class: xl65, width: 64"]khalid[/TD]
[TD="class: xl65, width: 64"]ahmed[/TD]
[TD="class: xl65, width: 64"]nasir[/TD]
[TD="class: xl65, width: 64"]khan[/TD]
[TD="class: xl65, width: 64"]gulraz[/TD]
[/TR]
[TR]
[TD="class: xl66"]15-29[/TD]
[TD="class: xl65"]19[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl65"]30-44[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl65"]45-60[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
</tbody>[/TABLE]
for example Majid age is 45 appear in age group 45-60. i try this but failed. can anybody help me?
=IF(G$2=VLOOKUP(G$2,$A$2:$A$8,1,0),IF(AND($B2>=15,$B2<=29),$B2,"--"))
this formula never complete solution when trag it in column wise, fail.
trag it all 19 value paste in column wise.
thanks
tell me how i can values in group wise below mention table.
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl64, width: 64"]Person[/TD]
[TD="class: xl64, width: 64"]Age[/TD]
[/TR]
[TR]
[TD="class: xl63"]majid[/TD]
[TD="class: xl63"]19[/TD]
[/TR]
[TR]
[TD="class: xl63"]sajid[/TD]
[TD="class: xl63"]25[/TD]
[/TR]
[TR]
[TD="class: xl63"]khalid[/TD]
[TD="class: xl63"]20[/TD]
[/TR]
[TR]
[TD="class: xl63"]ahmed[/TD]
[TD="class: xl63"]60[/TD]
[/TR]
[TR]
[TD="class: xl63"]nasir[/TD]
[TD="class: xl63"]35[/TD]
[/TR]
[TR]
[TD="class: xl63"]khan[/TD]
[TD="class: xl63"]45[/TD]
[/TR]
[TR]
[TD="class: xl63"]gulraz[/TD]
[TD="class: xl63"]31[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 512"]
<colgroup><col width="64" span="8" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]
Age-G[/TD]
[TD="class: xl65, width: 64"]majid[/TD]
[TD="class: xl65, width: 64"]sajid[/TD]
[TD="class: xl65, width: 64"]khalid[/TD]
[TD="class: xl65, width: 64"]ahmed[/TD]
[TD="class: xl65, width: 64"]nasir[/TD]
[TD="class: xl65, width: 64"]khan[/TD]
[TD="class: xl65, width: 64"]gulraz[/TD]
[/TR]
[TR]
[TD="class: xl66"]15-29[/TD]
[TD="class: xl65"]19[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl65"]30-44[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
[TR]
[TD="class: xl65"]45-60[/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[TD="class: xl65"] [/TD]
[/TR]
</tbody>[/TABLE]
for example Majid age is 45 appear in age group 45-60. i try this but failed. can anybody help me?
=IF(G$2=VLOOKUP(G$2,$A$2:$A$8,1,0),IF(AND($B2>=15,$B2<=29),$B2,"--"))
this formula never complete solution when trag it in column wise, fail.
trag it all 19 value paste in column wise.
thanks