Adding countif and number in the same cell

Jason1973

New Member
Joined
May 8, 2021
Messages
7
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
  2. Mobile
  3. Web
I have a question.
I have one column that adds count if function. That part is fine, but now I have to include an additional ‘WTE column’ where previously only 1.00 (meaning one job advertised for that team), now i need to count 2.00, which means the countif function for that department needs to have the number value included in the count.
e.g team Jason (count if) job: admin and number of jobs: 2.00. I want this to link to the team aggregate for that week to 2 jobs.
I hope someone can help
thanks
 
Hello this is my answer below, I am very grateful for your time.

1. The sample data you posted, what sheet is that from? that is from a tab marked 14th May

2. What is the EXACT range that the sample data you posted above exists in (your example does not show row or column headers)?
So, what cell address does the word "Band" appear in? cell B18 but I only want to add the 'I' column' that is numerical and add to the overall tracker.
And what column letter in "WTE" located in? 'I' column, dates where jobs are advertised are broken down into tab and linked to the overall tracker, where initially the department was counted through a 'countif' function'

3. The formula you posted, is that formula what is currently in your "WTE" column? no, I want to include that in the 'countif' formula too to the overall tracker for that team that have advertised jobs.

4. Your formula mentions BOTH sheets "14th May 2021" and "Data & Links". You have posted a sample of one of those sheets. Can you post a sample of the other one? sure. but I am wanting to add the i column to tally with the 14th May data. if that makes

Vacancies - Finance Directorate .xlsx
ABCDEFGHIJKLMNOPQRSTU
1TrackerVACANCIESData and Links Tab (Click here)Key:Topic:
2Team replied
3YesWeek Focusing on.
4Issue Number W/cEmails Prepared? (Y/N)Current WeekTotalCapital CashCCG MergersCDAO *Formerly PATCFO Private OfficeCommercial Medicines Devices/UnitFinance, Planning & DeliveryFinancial ControlGovernance and LegalLTP ImplementationOperations, Planning and PerformanceOversight and AssessmentPlanningPricing and Costing Specialised CommissioningStrategic Planning Finance
171214/05/2021YesYes190.000.004.000.001.003.000.000.000.000.000.000.003.007.001.00
Tracker
Cell Formulas
RangeFormula
F17F17=SUM(G17:U17)
G17G17=COUNTIF('14th May 2021'!E$5:E$34,'Data & Links'!C$1)
H17H17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$2)
I17I17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$3)
J17J17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$4)
K17K17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$5)
L17L17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$6)
M17M17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$7)
N17N17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$8)
O17O17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$9)
P17P17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$10)
Q17Q17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$11)
R17R17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$12)
S17S17=SUM(COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$13))+1
T17T17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$14)
U17U17=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$15)
B17B17=+B16+1
C17C17=+C16+7
Named Ranges
NameRefers ToCells
Teams='Data & Links'!$C$1:$C$15G17
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D6:D32Cell Valuecontains "Yes"textNO
T17Cell Valuebetween 1 and 5textNO
T17Cell Value>">1.00"textNO
T17Cell Value>1.5textNO
T17Cell Value>1textNO
E6:E32Cell Valuecontains "Yes"textNO
 
Upvote 0

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.
I still don't see the relevant information from your "Data & Links" tab.

Both your formula attempts include references to them:
=COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$1)
=SUM(COUNTIF('14th May 2021'!E$5:E$24,'Data & Links'!C$13))+1


It is important for us to see all the data involved so that we can see what is going on.

I think we may have hit an impasse here, as we seem to have a failure to communicate. I am not sure how else to ask you for what we need in a way that you understand and provide it to us.
Your best bet may be to upload your workbook to a file sharing site (first removing any sensitive data), and provide a link to it so that people here can download it, and see all the sheets, data, and formulas. And also "hard-code" in some examples of your expected results on that uploaded workbook, so people can see EXACTLY what you are after (and where you want it).

Unfortunately, I do not have the ability to download files from my work computer, so I probably won't be able to help you (at least not until much later tonight when I have access to another computer). But another user may be able to.
 
Upvote 0
thank you anyway. It would be best to see the file so you can understand where I am coming from. you have tried your best to help me and for that I am grateful. I am sure I will be able sort out the solution.

I just want to tab(s) where the WTE 'I' column to link to the overall tracker for that week and that attached to that team (which is counted as a countif). basically I just want to add to the formula (=COUNTIF('14th May 2021'!E$5:E$34,'Data & Links'!C$1) and look how to capture the WTC from the tab titled '14th May 2021' if you can't help that is fine. thanks for perceiving though. god bless
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,575
Members
449,089
Latest member
Motoracer88

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