IF/COUNTIF function help

queens123

New Member
Joined
Jul 26, 2011
Messages
5
Would anybody know how to go about solving this problem involving multiple variables and a countif function?

Heres my spreadsheet: -

---------A--------B---------C--------D--------E
1 ------Site -----MON -----TUE -----WED ---THU

2------ GCI -------x-------------------x

3-------TGI--------x------------------x--------x

4-------GCI------------------x-----------------x

I basically have a calendar that shows weekly bookings. Can anybody suggest a formula that I could use to count the Number of Days a week that somebody from GCI is booked?
Thanks
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
That would give me the total count of all the sites no (GCI and TGI)? I just want to have a count for those at GCI
 
Upvote 0
Would anybody know how to go about solving this problem involving multiple variables and a countif function?

Heres my spreadsheet: -

---------A--------B---------C--------D--------E
1 ------Site -----MON -----TUE -----WED ---THU

2------ GCI -------x-------------------x

3-------TGI--------x------------------x--------x

4-------GCI------------------x-----------------x

I basically have a calendar that shows weekly bookings. Can anybody suggest a formula that I could use to count the Number of Days a week that somebody from GCI is booked?
Thanks
Try this...

A10 = GCI

=SUMPRODUCT((A2:A5=A10)*(B2:E5="x"))
 
Upvote 0
try this ,
=IF(A2="GCI",COUNTIF(B2:E4,"X")," ")
<table border="0" cellpadding="0" cellspacing="0" width="64"><col width="64"><tr height="20"> <td style="height: 15pt; width: 48pt;" height="20" width="64"> </td> </tr></table><table border="0" cellpadding="0" cellspacing="0" width="64"><col width="64"><tr height="20"> <td style="height: 15pt; width: 48pt;" height="20" width="64"> </td> </tr></table>
 
Upvote 0
Hi friend:)

Hope I can add some help:)
Excel Workbook
ABCDEFGH
1SiteMONTUEWEDTHUSiteCount
2GCIxxGCI4
3TGIxxxTGI3
4GCIxx
Sheet2
Excel 2010
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.

Hope your feedback:)
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,703
Members
452,938
Latest member
babeneker

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