Formula Help

graham1996

New Member
Joined
Jul 6, 2009
Messages
2
I am at a loss for a formula. Here is a mock up of my worksheet

Key: PA= Previous Authorized
ATP=Amount This Period
P=Pending


Code____CO#______Authorized______Amount_______Completed
___________________Amount_____This Period____ Previous Period
-----------------------------------------------------------------
PA_______1_________50,000_______25,000___________10,000

PA_______2_________25,000________5,000___________15,000

ATP______3__________1,000______________________________

PA_______4__________2,500______________________________

ATP______5___________800_______________________________

What I am trying to do is calculate: a) the previous authorized changes and b) the current or this period authorized changes by using the key (PA, ATP & P) as the deciding factor of whether or not that amount is calculated into the total.


For example:

Change orders 1 & 2 should be calculated in the total for the Previous Authorized changes.


Change orders 3 & 5 should be calculated in the total for the this period authorized changes.


Change order 4 should not be in the total for either.


Now let's say, next month we are billing: well change orders 3 & 5 should now be apart of the total for the Previous Authorized changes. And let's say that change order #4 is now ATP, so it should be calculated in the total for the this period authorized changes. And now we have change orders 6-8 that need to be sorted depending on their key (or code).



I appreciate any help you can give me.
 
Last edited:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
I think using a Pivot Table is your easieast answer. I would put for example "Code" as a row field, and "Authorized Amount" as a Data field.

You could also use SUMIF, something like

=SUMIF(A2:A100, "PA", C2:C100)

to sum all "PA" charges.
 
Upvote 0

Forum statistics

Threads
1,215,470
Messages
6,124,995
Members
449,201
Latest member
Lunzwe73

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