Count IF

judas

Board Regular
Joined
Mar 19, 2005
Messages
60
Hi there, I need some help here, thanks in advance if you can help me!

I have a little Database that's layed out like this:

Date; Name; Proc1; Proc2; Proc3

Every day someone will fill in the different fields for each patient, so some would have 3 procedures made, some only 1, etc. The Procedures can be any of ariound 30 procedures, so in Proc1 there can be ine of 30 procedures.

I need to create a table to summarize this data, i.e. count how many ablations were performed every day...I find this can be made by creating a countif function, but i have read that slows things down.

How would you do it? Thank You!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
The word is Pivot Table, but you need to correct you data layout.
You only need 1 column for procedures.



lenze
 
Upvote 0
Yes, i had thought of a pivot table but found the problem you mention. How can I handle the case were a single patient has multiple procedures without entering several lines?
 
Upvote 0
I'm guessing, so I don't know. But you only need 1 column for procedures. I assume each patient has a unique ID. There is reason Excel has more rows than columns
HTH

lenze
 
Upvote 0
That is right, every patient has a unique ID. The only problem would be entering the data, as if a patient had 6 procedures performed, you would have to enter some of the fields 6 times (I Know a copy and paste would work, but I'm trying to make the entering of data as straight forward and error free as possible).

I actually do like your approach better, ¿how would you change the typing of data?

Thanks for your replies!
 
Upvote 0

Forum statistics

Threads
1,216,100
Messages
6,128,825
Members
449,470
Latest member
Subhash Chand

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