Help!! Looking for an if statement

MonsterCR7

New Member
Joined
Jun 27, 2013
Messages
29
Hi All,
I am looking for a formula to put into my access 2007 query screen to be able to recreate an aging report to show only open invoices.

EXAMPLE:
CUST # CUST NAME DOC TYPE APPLY TO NO TOTAL AMOUNT
1 JOHNNYS INVOICE 48015 $600.00
1 JOHNNYS PAYMENT 48015 -$600.00
31 PAULIES INVOICE 48056 $2750.00
31 PAULIES CREDIT MEMO 48056 -$1750.00
31 PAULIES PAYMENT 48056 $1000.00


SO ON AND SO FORTH....What im struggling to do is insert another column that will check the table for the same apply to no and if there are duplicates to then add the totals from both and if that is equal to or greater than 0 then the new column will insert text OPEN if not CLOSED or PAID

CANNOT base the report off customer number because a customer number can have upwards of over 100 invoices, so the formula would have to be based off the apply to number...

PLEASE HELP!!!!
THANKS
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Your welcome! Glad we got it all sorted out!
Does the whole process make sense (how its working)?
Feel free to ask any questions about how it works, if you have them.
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,005
Members
449,203
Latest member
Daymo66

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top