ncapanzana
New Member
- Joined
- Mar 13, 2013
- Messages
- 13
Hello,
I need your expertise on excel pls.
I want to populate the column A based on the data available in B, C and D. how can I achieve this? I have to do it
Rules:
1. If the values in column B start with MP or MB, put 'METRO' in the same row in column A
2. If the values in column C start with OM, put 'OTHERS' in the same row in column A
3. If column B and column C are NULL/Blank and the value in column D is <8 , put 'CASH' in the same row in column A
4. If column B and column C are NULL/Blank and the value in column D is >=8, put 'DOOR' in the same row in column A
Notes: if there is a value in column B, column C is always NULL
If there is a value in column C, column B is always NULL
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MB9874[/TD]
[TD][/TD]
[TD]41[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MP97124[/TD]
[TD][/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]OM[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]OM[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3.9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
Nino
I need your expertise on excel pls.
I want to populate the column A based on the data available in B, C and D. how can I achieve this? I have to do it
Rules:
1. If the values in column B start with MP or MB, put 'METRO' in the same row in column A
2. If the values in column C start with OM, put 'OTHERS' in the same row in column A
3. If column B and column C are NULL/Blank and the value in column D is <8 , put 'CASH' in the same row in column A
4. If column B and column C are NULL/Blank and the value in column D is >=8, put 'DOOR' in the same row in column A
Notes: if there is a value in column B, column C is always NULL
If there is a value in column C, column B is always NULL
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MB9874[/TD]
[TD][/TD]
[TD]41[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]MP97124[/TD]
[TD][/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]OM[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]OM[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]3.9[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]8.5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
Thanks
Nino