nlitedesign
New Member
- Joined
- Jun 17, 2018
- Messages
- 8
Hi All,
I am trying to solve a problem, please help if you can. I bet it is a simple solution. I have current found the value of the last cell but obviously that updates.
I have a List of all my purchases sorted by date order in Column C2:C10, in Column B2:B10 I have cells for Purchase order (PO) numbers starting from 001.
The problem is however, that not all purchases have PO numbers, and I do not want to miss numbers out of the sequence...
Column A2:A10 is a Y/N and what I would like to happen is as below:
IF A2 equals Y, add 1 to the last PO number found above current row in column B, regardless of blank cells in between.
Please see table below.
Thank You in Advance
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Y
[/TD]
[TD]001
[/TD]
[TD]Item A
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Y
[/TD]
[TD]002
[/TD]
[TD]Item B
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item C
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Y
[/TD]
[TD]003
[/TD]
[TD]Item D
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item E
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item F
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Y
[/TD]
[TD]004
[/TD]
[TD]Item G
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I am trying to solve a problem, please help if you can. I bet it is a simple solution. I have current found the value of the last cell but obviously that updates.
I have a List of all my purchases sorted by date order in Column C2:C10, in Column B2:B10 I have cells for Purchase order (PO) numbers starting from 001.
The problem is however, that not all purchases have PO numbers, and I do not want to miss numbers out of the sequence...
Column A2:A10 is a Y/N and what I would like to happen is as below:
IF A2 equals Y, add 1 to the last PO number found above current row in column B, regardless of blank cells in between.
Please see table below.
Thank You in Advance
[TABLE="width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Y
[/TD]
[TD]001
[/TD]
[TD]Item A
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]Y
[/TD]
[TD]002
[/TD]
[TD]Item B
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item C
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]Y
[/TD]
[TD]003
[/TD]
[TD]Item D
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item E
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]N
[/TD]
[TD][/TD]
[TD]Item F
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Y
[/TD]
[TD]004
[/TD]
[TD]Item G
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]