Nested IF

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,215
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
In 2 col, I m having either 0 or 1. In 3rd column i want to do the check (permutations & combinations).
It is like:
0 0 A
0 1 B
1 0 C
1 1 D
How to do it?
Also, how to count nos. of A, B, C & D generated?
Thanx in adv
 
hurgadion,
Could not get? Pls refer my 1st & 5th post in this thread.
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
If I understand good Yor problem now try the formula for E1:
Code:
=COUNTIF(C:C, "<"&X1)
Best regards.
 
Upvote 0
If I understand good Yor problem now try the formula for E1:
Code:
=COUNTIF(C:C, "<"&X1)
Best regards.
I want to COUNT the number of occurences in column C by using criteria if the values are less than X1, Y1 Z1.
X1, Y1 & Z1 are numerical values.
Pls how to accomplish it?
 
Upvote 0
<min(x1,y1,z1),1,0))<min(x1, Y1,="" Z1),1,0))
<X1)*(C1:c1000<y1)*(c1:c1000<z1),1,0)<min(x1,y1,z1),1,0)<x1,1,0)<min(x1,y1,z1),1,0)<min(x1,y1,z1);1;0)
Try the table formula:
Code:
=SUM(IF(MIN(X1,Y1,Z1)>=C:C,1,0))<min(x1,y1,z1),1,0))

Best regarda<min(x1,y1,z1);1;0)

</min(x1,y1,z1);1;0)
</min(x1,y1,z1),1,0))
</X1)*(C1:c1000<y1)*(c1:c1000<z1),1,0)<min(x1,y1,z1),1,0)<x1,1,0)<min(x1,y1,z1),1,0)<min(x1,y1,z1);1;0)
</min(x1,y1,z1),1,0))<min(x1,>
 
Last edited:
Upvote 0
Better try the table formula:
Code:
=SUM(IF((MIN(X1;Y1;Z1)>=C:C)*(C:C<>"");1;0))
The above formula has small mistake (counts empty Cells too),

best regards.
 
Upvote 0
Sir it is like:

A1=5000 B1=0
A2=10000 B2=175
A3=15000 B3=200

Formula in column D, D1:D999, should get either B1 or B2 or B3 PROVIDED column C has numerical values <=A1, <=A2 or > A3 respectively.
Also COUNT of the different values generated in column C is required in 3 new cells i.e. E1, F1 & G1.

I hope I am more clear now. Please help.
 
Upvote 0
A B C D
5000</SPAN>0</SPAN>4500</SPAN>0</SPAN>
10000</SPAN>175</SPAN>9999</SPAN>175</SPAN>
15000</SPAN>200</SPAN>10000</SPAN>175</SPAN>
5200</SPAN>175</SPAN>
15001</SPAN>200</SPAN>
15000</SPAN>No Answer</SPAN>
10001</SPAN>No Answer</SPAN>
99999</SPAN>200</SPAN>
12</SPAN>0</SPAN>

<TBODY>
</TBODY><COLGROUP><COL span=3><COL></COLGROUP>
 
Upvote 0

Forum statistics

Threads
1,216,004
Messages
6,128,218
Members
449,435
Latest member
Jahmia0616

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top