Multiple combinations of numbers

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
D3=either of 1 or 0
D5=either of 100 or 200 or 0

Final D8 (formula required for this) as

IF D3=1 AND D5=100 then D8=888
IF D3=1 AND D5=200 then D8=999
IF D3=0 AND D5=0 then D8=0
IF D3=0 AND D5=100 then D8=0
IF D3=0 AND D5=200 then D8=0
IF D3=0 AND D5=0 then D8=0

How to accomplish?
Thanks in advance.
Book2.xlsx
DEFGHI
3111000
4
510020001002000
6
7
88889990000
Sheet5
 
In D8 enter
Excel Formula:
=IF(OR(D3=0,D5=0),0,IF(AND(D3=1,D5=100),888,IF(AND(D3=1,D5=200),999,"")))
and pull right
 
Upvote 0
How about
Excel Formula:
=IF(OR(D3=0,D5=0),0,IF(D5=100,888,999))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

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