Excel counting formula

rameshppc

Board Regular
Joined
Jun 10, 2017
Messages
114
Office Version
  1. 2013
Platform
  1. Windows
STUDENT NAME
CLASS
ADMISSION NUMBER
FEES PAID
NAVEEN
LKG
4001
5000
KANNAN
UKG
4002
8000
NAVEEN
LKG
4001
2000
KARTHIK
1 ST
4003
12000
RAVI
UKG
4004
9000

<tbody>
</tbody>

I WANT TO GENERATE A REPORT LIKE BELOW,
CLASS
NO OF STUDENTS ADMITTED
TOTAL FEES PAID

<tbody>
</tbody>

KINDLY ADVISE FORMULA TO DO THE NEEDFUL.
 
Hi joris..

You are really great..
The formula working perfectly..
Thanks for your effort...

My report goes wrong, while the input data rows increases as below,
STUDENT NAME
CLASS
ADMISSION DATE
ADMISSION NUMBER
FEES PAID
REMARKS
KAMAL
LKG
25/04/2018700110,000
SENTHIL
LKG
25/04/2018
7002
9,000
KUMAR
1ST
25/04/2018
7003
11,000
KAMAL
LKG
26/04/2018
7001
2,000

<tbody>
</tbody>

Row 1 student name "kamal" paying his balance fees on next day (26/04/2018)
Admission number is same, so it will not increase the number of admitted seats.
Now how do i update in the formula....
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi,

It's not wise to constantly add extra criteria. Try to post your question as complete as possible!

Try this:

Book1
ABCDEFGHIJ
1STUDEN NAMECLASSADMISSION DATEADMISSION NUMBERFEES PAIDREMARKSReport
2L. NAVEENLKG25-4-2018700110000CLASSNO OF STUDENTS ADMITTEDTOTAL FEES PAID
3SENTHILLKG25-4-201870029000LKG675500
4KUMAR1 ST26-4-20187003110001 ST683000
5DINESHLKG26-4-2018700410000UKG441500
6KARANUKG26-4-2018700570005 TH249000
7MOORTHY1 ST26-4-20187006150003 RD240000
8VIGNESHLKG26-4-2018WAITING1000RTE
9NAZERLKG26-4-201870078500
10ASIF1 ST26-4-2018700814000
11KARTHIK5 TH30-4-2018700925000
12NAREN3 RD30-4-2018701020000
13SUNDAR1 ST30-4-2018701115000
14HASHINIUKG30-4-2018701211500
15LATHAUKG30-4-2018701312000
16NIRANJANLKG30-4-2018WAITING1000RTE
17KAMALUKG30-4-2018701411000
18VINAY1 ST30-4-2018701515000
19MEENALKG30-4-201870167000
20VENULKG30-4-2018701710000
21CHANDRAN1 ST30-4-2018701813000
22LAVANYA5 TH2-5-2018701924000
23MOUSHMI3 RD2-5-2018702020000
24KAMALLKG25-4-2018700110000
25SENTHILLKG25-4-201870029000
26KUMAR1ST25-4-2018700311000
27KAMALLKG26-4-201870012000
Sheet1
Cell Formulas
RangeFormula
J3=SUMPRODUCT(($B$2:$B$27=$H3)*($D$2:$D$27<>"waiting")*($E$2:$E$27))
H3{=IFERROR(INDEX($B$2:$B$27,MATCH(0,COUNTIF($H$2:H2,$B$2:$B$27),0)),"")}
I3{=SUM(--(FREQUENCY(IF($B$2:$B$27=H3,$D$2:$D$27),$D$2:$D$27)>0))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,988
Messages
6,128,145
Members
449,426
Latest member
revK

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top