0

pull info from one company or another

Hello, I have an issue here.
I am looking to pull information, but it could reside in one of two companies.
Here is what I have done.

This will Filter the Document No. from each company.
In Cell C31 =NL("Filter","Cust. Ledger Entry","Document No.","Document No.","MT*|AT*","Global Dimension 2 Code",$E$3,"+Posting Date",$T$4,"Company=","Company #1")
In Cell C32 =NL("Filter","Cust. Ledger Entry","Document No.","Document No.","MT*|AT*","Global Dimension 2 Code",$E$3,"+Posting Date",$T$4,"Company=","Company #2")

The function below will bring back Document No.'s from each company.
In Cell C33 =NL("rows",NP("Union",$C$31,$D$31))

I now have the document no.'s, but now I need the posting date and amount.
I tried this, but it doesn't seem to work.
=IF(NL(,"Cust. Ledger Entry","Posting Date","Document No.",$C33,"Company=","Company #1"),NL(,"Cust. Ledger Entry","Posting Date","Document No.",$J31,"Company=","Company #2"))

Can someone help me? Thanks.

7 comments

Please sign in to leave a comment.