Nested IF

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,213
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
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Hi,

Does this

=INDEX({"A","B","C","D"},1+BIN2DEC(A1&B1))

or this

=INDEX({"A","B","C","D"},MATCH(VALUE(A1&B1),{0,1,10,11},0))

work for you?

You could use

=COUNTIF(C:C,"A")

to return the number of "A" generated.
 
Upvote 0
INDEX({"A","B","C","D"},MATCH(VALUE(A1&B1),{0,1,10,11},0))

& even choose(2*a1+b1+1,"a","b","c","d") WORKS.

Which one would be "more comfortable"?
 
Upvote 0
In
INDEX({"A","B","C","D"},MATCH(VALUE(A1&B1),{0,1,10,11},0))
instead of A, B, C & D, I want to get the numerical value lying in F1, G1, H1 & I1. How to accomplish it?
 
Upvote 0
Index(f1:i1,match(value(a1&b1),{0,1,10,11},0))

I got the the numerical value lying in F1, G1, H1 & I1.
I got these values in column C.
Now, how to check the "COUNT" of values in column C are less than the numerical value lying in X1, Y1 & Z1?
 
Upvote 0

Forum statistics

Threads
1,214,416
Messages
6,119,386
Members
448,891
Latest member
tpierce

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