RAJESH1960
Banned for repeated rules violations
- Joined
- Mar 26, 2020
- Messages
- 2,313
- Office Version
- 2019
- Platform
- Windows
Hello everyone,
I have created this application with the help of formulas and VBA code. There are 6 code buttons to get the result which have to be pressed in the same order mentioned in column A. When I press all the buttons one by one, I am getting the result. I am facing 2 problems here and both are connected to the 2A Extract sheet.
In the column D of the 2A Extract sheet, this formula has to get the invoice numbers from B2B sheet of rows containing "-Total" after removing "-"Total" from the invoice number. But I am getting a few invoice number twice. That is one of the problems.
Again, in the 2A Extract sheet invoice value column the problem is it is not getting the invoice value in some rows. Rows 73 & 74.
I need your help to solve these 2 issues.
PS: Run the code buttons one by one to get the data displayed.
Errors pending to correct.xlsm
I have created this application with the help of formulas and VBA code. There are 6 code buttons to get the result which have to be pressed in the same order mentioned in column A. When I press all the buttons one by one, I am getting the result. I am facing 2 problems here and both are connected to the 2A Extract sheet.
In the column D of the 2A Extract sheet, this formula has to get the invoice numbers from B2B sheet of rows containing "-Total" after removing "-"Total" from the invoice number. But I am getting a few invoice number twice. That is one of the problems.
Rich (BB code):
=IFERROR(IFERROR(VALUE(SUBSTITUTE(INDEX('2A'!$C$7:$C$10000,AGGREGATE(15,6,ROW($A$1:$A$9935)/(RIGHT('2A'!$C$7:$C$10000,5)="Total"),ROWS($1:1))),"-Total","")),SUBSTITUTE(INDEX(B2B!$C$7:$C$5963,AGGREGATE(15,6,ROW($A$1:$A$5927)/(RIGHT(B2B!$C$7:$C$5963,5)="Total"),ROWS($1:1))),"-Total","")),"")
I need your help to solve these 2 issues.
PS: Run the code buttons one by one to get the data displayed.
Errors pending to correct.xlsm