min and if statement again

R

RichardO

Hello all: I posted something similar, but I think I didn't explain th
problem clearly.
I have the following data, say column A, B & C

pay 260000 2
250000 3
pay 120000 4
130000 5

How do I find the min value in a column with 2 if conditions.

Someone helped with the following formula: have the followin
formula: =MIN(IF((B1:B4<250000)*(A1:A4<>"pay"),C1:C4)). The correc
answer in column C should be 2, but I am getting 5.

Basically, I want excel to ignore rows with "pay" that also have a
less than 250000. So, in this case, excel will ignore row 3 and the
the answer in column C should be 2.

Thanks very much for helping out.


RichardO
 
R

RichardO

Hello Frank,

Thanks much. I think I am getting the correct answer. Could yo
please explain the formula to me?

If I were to count the number of items in column C with entries of 5 o
less, using the same conditions, would I use the following as an arra
formula:

=count(IF((B1:B4>=250000)+(A1:A4<>"pay"),C1:C4<=5)) but I am gettin
"0", the answer should be 3 in the sample data I provided earlier.

Thanks for your patience.


RichardO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

min and if statement 7
array formulas using MIN MAX 3
min and if again 6
MIN from another worksheet 5
min if horizontal 0
If Statement 2
Count entries in the column translating to minutes. 5
Lookup Formula 4

Top