I hope you find the solution for your query, If yes Make my post mark as solution to close the loop. Else post your queries here happy to help… @Anbumani
Thanks for your response. Apologies for delay response.
Also kindly find our exact requirement example.
Input:-
CODE DESCRIPTION AMOUNT
}}}} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
A INVESTMENT INTEREST EXPENSE 1,234.
B * DEDUCTIONS - ROYALTY INCOME STMT 10
C * SECTION 12(E)(3) EXPENDITURES STMT 20
D * DEDUCTIONS - PORTFOLIO (OTHER) 56.
E SECTION 123(B) NEGATIVE ADJUSTMENTS 45.
F * OTHER DEDUCTIONS STMT 60
Here the line which starts with “E” has entire description and that needs to be included with the “E SECTION 123(B) NEGATIVE ADJUSTMENTS” of full description to get the value at last. Even if there is any star(*) included should also be considered in the description.
Expected output:-
For C row I’m need an output is 20.
For E row I’m need an output is 45.