questforexcel
Board Regular
- Joined
- Jan 18, 2019
- Messages
- 128
- Office Version
- 2013
- Platform
- Windows
Hello,
Could you please help me with 2 sets of formula:
1) A formula to place the "ID#" into the left column labelled "Ledger No" such that if there is a number, the formula should type that number if its a text then to leave it blank.
However, I would like the formula to keep repeating the numbers until a new set of "ID#" is found.
So for eg: Continue showing the value "1-1111" until "1-1112" appears.
2) This should be relatively less complex. I would like my formula to show the "Src" text in "Accout Name" tab until another unique "Src" text is visible.
Would appreciate your utmost assistance on these. Thank you
[TABLE="width: 506"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Ledger No[/TD]
[TD]ID#[/TD]
[TD]Src[/TD]
[TD]Account Name[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]1-1110[/TD]
[TD]A Bank [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1110[/TD]
[TD]Beginning Balance:[/TD]
[TD]$0.00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1-1111[/TD]
[TD]B Bank[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]Beginning Balance:[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]5069[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1111[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]5070[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1-1112[/TD]
[TD]C Bank[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1112[/TD]
[TD]Beginning Balance:[/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1112[/TD]
[TD]5069[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1112[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]1-1112[/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]dm[/TD]
[TD]CD[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
Could you please help me with 2 sets of formula:
1) A formula to place the "ID#" into the left column labelled "Ledger No" such that if there is a number, the formula should type that number if its a text then to leave it blank.
However, I would like the formula to keep repeating the numbers until a new set of "ID#" is found.
So for eg: Continue showing the value "1-1111" until "1-1112" appears.
2) This should be relatively less complex. I would like my formula to show the "Src" text in "Accout Name" tab until another unique "Src" text is visible.
Would appreciate your utmost assistance on these. Thank you
[TABLE="width: 506"]
<colgroup><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Ledger No[/TD]
[TD]ID#[/TD]
[TD]Src[/TD]
[TD]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