darshanp306
New Member
- Joined
- Aug 8, 2018
- Messages
- 1
[TABLE="width: 1060"]
<tbody>[TR]
[TD]Sr No[/TD]
[TD]Level[/TD]
[TD]Item ID[/TD]
[TD]Revision[/TD]
[TD]Description[/TD]
[TD]Ext Qty[/TD]
[TD]UoM[/TD]
[TD]Cost[/TD]
[TD]Extended Cost[/TD]
[TD]Make/Buy[/TD]
[/TR]
</tbody>[/TABLE]
So I have these columns in my PBoM sheet. I want to write a code using if and loop statements. Criteria is that if there is a Make in Column (Make/Buy) then it should add all the extended costs under that make row until next make show in different row. But there is another condition that it should find "MAKE" from last row instead of starting it from second row.
<tbody>[TR]
[TD]Sr No[/TD]
[TD]Level[/TD]
[TD]Item ID[/TD]
[TD]Revision[/TD]
[TD]Description[/TD]
[TD]Ext Qty[/TD]
[TD]UoM[/TD]
[TD]Cost[/TD]
[TD]Extended Cost[/TD]
[TD]Make/Buy[/TD]
[/TR]
</tbody>[/TABLE]
So I have these columns in my PBoM sheet. I want to write a code using if and loop statements. Criteria is that if there is a Make in Column (Make/Buy) then it should add all the extended costs under that make row until next make show in different row. But there is another condition that it should find "MAKE" from last row instead of starting it from second row.