1 value to be picked out of 3 cells

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
3 cells generates 1 or 0; 3 or 4; 5 or 6.
Answer required in 4th cell based on the 3 cell values ...please bear with me.

Ex:
U8=1/0 ; Y8=3/4; Z8=5/6
Answer (in cell AA8)= 1 (if U8 has generated 1)
AA8=0 (if U8 has generated 0)
AA8=3 (if Y8 has generated 3)
AA8=4 (if Y8 has generated 4)
AA8=5 (if Z8 has generated 5)
AA8=6 (if Z8 has generated 6)

What formula needs to be filled in AA8?
Thanx in adv.
 
=IFERROR(MATCH(U8&Y8&Z8,{"145","036","236","245"},0),0)

Can I also get answer=1 for U8 V8 Z8 being 146
Can I also get answer=2 for U8 V8 Z8 being 046. This is in addition to above.[/QUOTE]

Try...

=IFERROR(VLOOKUP(U8&Y8&Z8,{"145",1;"146",1;"036",2;"046",2;"236",3;"245",4},2,0),0)
 
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"

Forum statistics

Threads
1,223,264
Messages
6,171,085
Members
452,378
Latest member
Hoodzy01

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