Using IF Statements to calculate availability

ireid3176

New Member
Joined
Jun 27, 2018
Messages
2
Hi All,

I'm looking to make a simple calculator to help determine when holidays are booked what skills we will lose as a consequence. Simple table below. In my simple thinking, i thought for totals an IF statement would be something as follows:

If (B2=1, COUNT C2),If (B3=1, COUNT C3),If (B4=1, COUNT C4),If (B5=1, COUNT C5)

A B C D E
Name Working? Skill1 Skill2 Skill3
Bob 1 1 0 0
Terry 0 1 1 1
Jim 1 1 0 1
Lee 0 0 0 1

Totals 2 0 1

My formula give me an error and i know i'm using incorrect syntax. Can anyone suggest an alternative?

Regards
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
NameWorkingSkill 1Skill 2Skill 3
Bon1100
Terry0111
Jim1101
Lee0001
Total201


The 2 is in C7 and formula is
Code:
=SUMIF($B2:$B5,1,C2:C5)

<tbody> </tbody>
You can drag it for skill 2 & 3
 
Last edited:
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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