Formula help

Hi, I am trying to extend a formula to look at a second Criterion in a spreadsheet. the current formula is
="NSW (" + COUNTIF(CHILDREN(State6:State61), "NSW") + "), QLD (" + COUNTIF(CHILDREN(State6:State61), "QLD") + "), NT (" + COUNTIF(CHILDREN(State6:State61), "NT") + "), WA (" + COUNTIF(CHILDREN(State6:State61), "WA") + "), SA (" + COUNTIF(CHILDREN(State6:State61), "SA") + "), VIC (" + COUNTIF(CHILDREN(State6:State61), "VIC") + "), TAS (" + COUNTIF(CHILDREN(State7:State61), "TAS") + "), NSO (" + COUNTIF(CHILDREN(State6:State61), "NSO") + ")"
Now I know I will need to go COUNTIFS to pick up the second criterion, but it does not seem to work
I have put a few screen shots in. the first one shows the results of all projects that =NSW, but I want it to only show the results if it = NSW and the Project stage is Project WIP as shown in the second snap shot
Hope someone can help me.
Thanks
Comments
-
When using the COUNTIFS for this case, you will want to use an @cell reference. See below:
COUNTIF(CHILDREN(State6:State61), "NSW", CHILDREN([Project Stage]6:[Project Stage]61), @cell = "Project WIP")
-
Thanks Paul, with a little bit of work the above worked out.
-
Happy to help. I just realized I forgot to make it COUNTIFS instead of COUNTIF. Glad you figured that out.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.3K Get Help
- 462 Global Discussions
- 156 Industry Talk
- 508 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 518 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!