Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2024, 10:43 AM
Alaska1 Alaska1 is offline Countif Windows 7 64bit Countif Office 2007
Competent Performer
Countif
 
Join Date: Nov 2011
Posts: 110
Alaska1 is on a distinguished road
Default Countif

I am using Excel 2021. In the attached workbook, I want to count in column A (Product) Savings Account and Guardian account in one total under Savings Account on the Total Worksheet column B. I tried combining using a countif statement between the two, but I could not get it to work.



Then in column C (Risk) on the total worksheet, I need it to count for Savings account and guardian account the total count of cells that has data in it.
Attached Files
File Type: xlsx test data.xlsx (9.5 KB, 6 views)
Reply With Quote
  #2  
Old 05-23-2024, 01:32 PM
p45cal's Avatar
p45cal p45cal is offline Countif Windows 10 Countif Office 2021
Expert
 
Join Date: Apr 2014
Posts: 947
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

In B3 you could try:
Code:
=SUM(COUNTIF('April Raw Data'!A2:A8,{"Savings Accounts","Guardian Account"}))
and in C3:
Code:
=SUM(COUNTIFS('April Raw Data'!A2:A8,{"Savings Accounts","Guardian Account"},'April Raw Data'!B2:B8,"<>"))
Reply With Quote
  #3  
Old 05-23-2024, 02:24 PM
Alaska1 Alaska1 is offline Countif Windows 7 64bit Countif Office 2007
Competent Performer
Countif
 
Join Date: Nov 2011
Posts: 110
Alaska1 is on a distinguished road
Default

Thank you! It worked. I appreciate your quick response.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
CountIF Loopylee2020 Excel 2 08-23-2022 11:15 PM
If / countif Kiwi971 Excel 1 06-03-2021 04:30 AM
Countif COUNTIF - A vs. AA??? SoMany Excel 4 01-01-2021 12:50 AM
Help with COUNTIF MaineLady Excel 1 05-24-2019 02:53 PM
Countif hockeytown Excel 3 01-05-2013 08:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:31 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft