#1
|
|||
|
|||
=COUNTIFS(Netc!C4:C1008,"open",Netcd!D4:D1008 ,"PC")
Hi All,
I need to add some extra conditions to the formula below, any ideas as to how this is done would be great. =COUNTIFS(Netc!C4:C1008,"open",Netc!D41008,"PC") This works ok for just one condition I need to add the following somehow... =COUNTIFS(Netc!C4:C1008,"open" or "Waiting Parts",Netc!D41008,"PC") or do I need to add separate countifs to do it? |
#3
|
|||
|
|||
Thanks but I had tried that already and it didn't work, it only found the first variable, I even swapped them to confirm this.
I think I'll go with using the above single variable and add extra countifs with a "+" in between to get the result I need. seems to work ok. =COUNTIFS(Netc!C4:C1008,"open",Netc!D41008 ,"PC") + COUNTIFS(Netc!C4:C1008,"waiting parts",Netc!D41008 ,"PC") |
#4
|
|||
|
|||
Well we tried. It works with the test file I have, but unfortunately I don't have what you are testing. If you want to post a sample where it doesn't work I would be happy to look at it.
|
#5
|
|||
|
|||
|
#6
|
|||
|
|||
Just an updated thought.
Can I use a list for this in some way? |
#7
|
|||
|
|||
Yes you can use a list, but to do that you will now need to wrap the Countifs in Sumproduct.
=SUMPRODUCT(COUNTIFS(Netcard!$C$4:$C$20,$F$1:$F$2, Netcard!$D$4:$D$20,"Kiosk Assembly")) F1:F2 = Waiting Parts and Open BTW: In the file you attached, you did not have the Countifs wrapped in Sum. It must be wrapped in order for the OR operation to take effect. |
#8
|
||||
|
||||
Post moved to non VBA section
@trevorc Please post in the correct forum - Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#9
|
|||
|
|||
thanks for that... works fine now.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Combine "sort within groups" and "identify duplicate/unique values" in two different variables. | civilcervant | Excel | 3 | 06-12-2017 07:27 AM |
"Open Recent" and "More..." in Excel and Word | BudVitoff | Office | 0 | 04-03-2015 09:17 PM |
Need help with conditional formatting & returning "Pass" / "Fail Results" in a Column N | mikey386 | Excel | 2 | 12-11-2014 01:14 PM |
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas | jocke321 | Word VBA | 2 | 12-10-2014 11:27 AM |
How to choose a "List" for certain "Heading" from "Modify" tool? | Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |