count formula for pivot table

faizee

Board Regular
Joined
Jan 28, 2009
Messages
214
Office Version
  1. 2016
Platform
  1. Windows
I need the calculate formula for pivot table


there are numbers and "Absent" in the fields,,. so i want to count "absent"

field name is "time-in"
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Card noDatetime inTime out
111-Feb-1211:2319:34
112-Feb-12absent
101-Feb-126:4420:33
115-Feb-129:0018:22
116-Feb-12absent
1017-Mar-128:3419:00
count "absent" in (time In)
in pivot table
Card no12-Feb12-Mar
1120
1000

<TBODY>
</TBODY><COLGROUP><COL><COL><COL span=2></COLGROUP>
 
Upvote 0
Card noDatetime inTime out
111-Feb-1211:2319:34
112-Feb-12absent
101-Feb-126:4420:33
115-Feb-129:0018:22
116-Feb-12absent
1017-Mar-128:3419:00
count "absent" in (time In)
in pivot table
Card no12-Feb12-Mar
1120
1000

Add another column which count the number of absent:
Excel Workbook
ABCDE
1Card noDatetime inTime outAbsent
21101-Feb-1211:2319:340
31102-Feb-12absent1
41001-Feb-1206:4420:330
51105-Feb-1209:0018:220
61106-Feb-12absent1
71017-Mar-1208:3419:000
8
9
10
11
12Sum of AbsentColumn Labels
13Row LabelsFebMar
14112
151000
Sheet3
 
Upvote 0
ooh thats a good idea,

thanks
i just to ask, cant we directly put count or vlookup formula in pivot table --> formula--> calcuated field
 
Upvote 0

Forum statistics

Threads
1,215,608
Messages
6,125,820
Members
449,265
Latest member
TomasTeix

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