madhuchelliah
Board Regular
- Joined
- Nov 22, 2017
- Messages
- 226
- Office Version
- 2019
- Platform
- Windows
Hi Folks, i need your help to solve my requirement. I want to fill the blank cells between two cells having specific value.
For example in A column i am having letters of N and Y repeatedly. Now i want to fill the blank cells between N and Y with Y letter. Blank cells between Y and N should remain blank. This N and Y combination could be more in the column. So the range should be up to last N and Y combination of the column.
[TABLE="class: grid, width: 100, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]N
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Y
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]N[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Y[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
For example in A column i am having letters of N and Y repeatedly. Now i want to fill the blank cells between N and Y with Y letter. Blank cells between Y and N should remain blank. This N and Y combination could be more in the column. So the range should be up to last N and Y combination of the column.
[TABLE="class: grid, width: 100, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]N
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Y
[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]N[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]Y[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]