[Solved] Count if multiple Conditions met in Multiple ranges
-
- Posts: 5
- Joined: Mon Feb 04, 2013 10:47 am
[Solved] Count if multiple Conditions met in Multiple ranges
Hi, I am a sales specialist working leads received by phone as well as internet leads. When I sell someone, I record Phone lead(ph) or Internet lead(int). In column A range a10:a65 I I record the customers name in each Cell. Range b10:65 is Ph or int. Range D10:D65 I Record "Yes" or "No" in the sold section.
I'd like to be able to record in Cell h2 the number of leads that have "Ph" in range B10:B65 AND "Yes" in Range D10:65.
In cell I2 I'd like to record the Numer of leads that have "Int" in range B10:B65 AND "Yes" in Range D10:D65.
I have tried =SUM((B10:B65="ph")*(D10:D65="yes")) but it will only work in h2, I cannot duplicate it into I2 and simply Change "ph" to "int" in the formula.
I am lost.. Please help.
I'd like to be able to record in Cell h2 the number of leads that have "Ph" in range B10:B65 AND "Yes" in Range D10:65.
In cell I2 I'd like to record the Numer of leads that have "Int" in range B10:B65 AND "Yes" in Range D10:D65.
I have tried =SUM((B10:B65="ph")*(D10:D65="yes")) but it will only work in h2, I cannot duplicate it into I2 and simply Change "ph" to "int" in the formula.
I am lost.. Please help.
Last edited by Hagar Delest on Mon Feb 04, 2013 10:15 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OpenOffice 3.4.1 on windows 8
Re: Counting if multiple Conditions met in Multiple ranges
Hallo
use
Karolus
use
Code: Select all
=SUMPRODUCT($B$10:$B$65="ph";$D$10:$D$65="yes")
Libreoffice 25.2… on Debian 13 (trixie) (on RaspberryPI5)
Libreoffice 25.8… flatpak on Debian 13 (Bookworm) (on RaspberryPI5)
Libreoffice 25.8… flatpak on Debian 13 (Bookworm) (on RaspberryPI5)
-
- Posts: 5
- Joined: Mon Feb 04, 2013 10:47 am
Re: Counting if multiple Conditions met in Multiple ranges
Karolus thank you for your reply, I tried that, tried with and without the $ sign. Didn't work.
OpenOffice 3.4.1 on windows 8
Re: Counting if multiple Conditions met in Multiple ranges
Did you try whatever variation of "ph" "PH" etc you used on the main form?
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
-
- Posts: 5
- Joined: Mon Feb 04, 2013 10:47 am
Re: Counting if multiple Conditions met in Multiple ranges
Yes. I used lower case everything to initially write the formula set, but I cant seem to figure out this multi Condition thing.
OpenOffice 3.4.1 on windows 8
-
- Posts: 5
- Joined: Mon Feb 04, 2013 10:47 am
Re: Counting if multiple Conditions met in Multiple ranges
I've used =COUNTIF(D10:D65;"=Ph") for a running phone tally. Now If I could figure out how to add another condition to that I'd have exactly what I need
OpenOffice 3.4.1 on windows 8
Re: Counting if multiple Conditions met in Multiple ranges
SUMPRODUCT works for everyone but you.
SUMIF/COUNTIF works with one criterion only.
SUMIF/COUNTIF works with one criterion only.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: Counting if multiple Conditions met in Multiple ranges
Attached is an example using your data scheme.
thinman3
thinman3
3.4.1 & 4.1.5 on MS Windows 7 Pro x64
-
- Posts: 5
- Joined: Mon Feb 04, 2013 10:47 am
Re: Counting if multiple Conditions met in Multiple ranges
Thinman3,
That worked perfectly. Thank you very much.
That worked perfectly. Thank you very much.
OpenOffice 3.4.1 on windows 8