GirishDhruva
Active Member
- Joined
- Mar 26, 2019
- Messages
- 308
Hi everyone,
I had created same thread https://www.mrexcel.com/forum/excel-questions/1098491-if-values-column-d-matches-then.html but as i couldn't view that thread i have created this.
Here i am trying to check the values in column 'D' and if the values in column 'D' matches then in column B it should print the value '60' else it should print '10'.
Like
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10[/TD]
[TD]45132[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]10[/TD]
[TD]'4324[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]10[/TD]
[TD]1324[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]10[/TD]
[TD]5123[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]60[/TD]
[TD]'4359[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]10[/TD]
[TD]06471[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]10[/TD]
[TD]12345[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]60[/TD]
[TD]'4359[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]10[/TD]
[TD]53121[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]10[/TD]
[TD]'5123[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]10[/TD]
[TD]512323[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
</tbody>[/TABLE]
The values in column 'D' can also be text
Thanks in advance
I had created same thread https://www.mrexcel.com/forum/excel-questions/1098491-if-values-column-d-matches-then.html but as i couldn't view that thread i have created this.
Here i am trying to check the values in column 'D' and if the values in column 'D' matches then in column B it should print the value '60' else it should print '10'.
Like
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10[/TD]
[TD]45132[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]10[/TD]
[TD]'4324[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]10[/TD]
[TD]1324[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]10[/TD]
[TD]5123[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]60[/TD]
[TD]'4359[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]10[/TD]
[TD]06471[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]10[/TD]
[TD]12345[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]60[/TD]
[TD]'4359[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]10[/TD]
[TD]53121[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]10[/TD]
[TD]'5123[/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]10[/TD]
[TD]512323[/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]60[/TD]
[TD]4359[/TD]
[/TR]
</tbody>[/TABLE]
The values in column 'D' can also be text
Thanks in advance