r_simpson42
New Member
- Joined
- Sep 25, 2013
- Messages
- 8
[TABLE="width: 495"]
<TBODY>[TR]
[TD]Account</SPAN>
[/TD]
[TD]DocumentNo</SPAN>
[/TD]
[TD]Type</SPAN>
[/TD]
[TD]Text</SPAN>
[/TD]
[TD]Amount in doc. curr.</SPAN>
[/TD]
[/TR]
[TR]
[TD]504520</SPAN>
[/TD]
[TD]1</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description1</SPAN>
[/TD]
[TD]-55.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504530</SPAN>
[/TD]
[TD]2</SPAN>
[/TD]
[TD]</SPAN>XX
[/TD]
[TD]description2</SPAN>
[/TD]
[TD]86.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504540</SPAN>
[/TD]
[TD]3</SPAN>
[/TD]
[TD]</SPAN>XX
[/TD]
[TD]description3</SPAN>
[/TD]
[TD]9,000.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504520</SPAN>
[/TD]
[TD]4</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description4</SPAN>
[/TD]
[TD]100,000.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504580</SPAN>
[/TD]
[TD]5</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description5</SPAN>
[/TD]
[TD]-8,500.00</SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The system that generates the above table does not always deliver the columns in the same order. I need to sumif based on the following criteria:
Find column "Account"
Find column "Type"
Find column "Amount in doc. curr."
Sum amounts in column "Amount in doc. curr." If "Account" = 504520 and "Type" = AD (Should equal 99,945)
<TBODY>[TR]
[TD]Account</SPAN>
[/TD]
[TD]DocumentNo</SPAN>
[/TD]
[TD]Type</SPAN>
[/TD]
[TD]Text</SPAN>
[/TD]
[TD]Amount in doc. curr.</SPAN>
[/TD]
[/TR]
[TR]
[TD]504520</SPAN>
[/TD]
[TD]1</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description1</SPAN>
[/TD]
[TD]-55.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504530</SPAN>
[/TD]
[TD]2</SPAN>
[/TD]
[TD]</SPAN>XX
[/TD]
[TD]description2</SPAN>
[/TD]
[TD]86.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504540</SPAN>
[/TD]
[TD]3</SPAN>
[/TD]
[TD]</SPAN>XX
[/TD]
[TD]description3</SPAN>
[/TD]
[TD]9,000.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504520</SPAN>
[/TD]
[TD]4</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description4</SPAN>
[/TD]
[TD]100,000.00</SPAN>
[/TD]
[/TR]
[TR]
[TD]504580</SPAN>
[/TD]
[TD]5</SPAN>
[/TD]
[TD]AD</SPAN>
[/TD]
[TD]description5</SPAN>
[/TD]
[TD]-8,500.00</SPAN>
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</TBODY>[/TABLE]
The system that generates the above table does not always deliver the columns in the same order. I need to sumif based on the following criteria:
Find column "Account"
Find column "Type"
Find column "Amount in doc. curr."
Sum amounts in column "Amount in doc. curr." If "Account" = 504520 and "Type" = AD (Should equal 99,945)