Formula help!!

CLARE83

New Member
Joined
Jun 11, 2014
Messages
28
Hi,

I have a spreadsheet (see image) in which i want to record attendance %. I want a figure for Tuesday P6 Wednesday P6 and Thursday P6. I need a formula to count how many "/" and "x" (attended) and then one for other codes (not attended,

I just cant seem to work it out - brain block!!!

Thanks in advance
 

Attachments

  • Capture.PNG
    Capture.PNG
    7.8 KB · Views: 11

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi
How do you want to display these. Do you want a cell showing how many for / and another for x?

simple countif is

=COUNTIF(select range here,"/")

Rory
 
Upvote 0
Tried countif it brings a error message saying I've entered too many arguments for this function. I only want it to count every 6th cell not all of the cells. I know its simple but i just cant seem to get the basic formula to work!!
 
Upvote 0
The answer is probably quite simple but the lack of accuracy and clarity in your question is making it anything but that.

Best guess without a clearer example would be something like
Excel Formula:
=SUMPRODUCT((LEFT($A$1:$Z$1,3)="Wed")*($A$2:$Z$2="P")*($A$3:$Z$99="/"))

If you click the XL2BB link in my signature block below, it will take you to a guide showing you how to post a clear example.
 
Upvote 0

Forum statistics

Threads
1,215,433
Messages
6,124,861
Members
449,195
Latest member
MoonDancer

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