S
serviceenvoy
I have expense fields classified as "parts" or "labor". I need to
create a formula to look at ExpenseType fields 1-10, determine if they
are labor, and then calculate the Total fields sum of the labor field
expenses into a field called TotalLaborCost. Then I need to do the
same process to calculate the sum of expenses classified as Parts in
the TotalPartsCost field.
Fields in the form:
"ExpenseType1" "ExpenseType2"..... (type of expense: labor or parts)
"Quantity1", "Quantity2"..... (how many of each item or how many
hours)
"Cost1" ....(what is the per unit cost)
"Total1"....(the extended price)
"TotalLaborCost" (for the sum of all the labor "Totalx" fields
"TotalPartsCost" (for the sum of all the parts "Totalx" fields
create a formula to look at ExpenseType fields 1-10, determine if they
are labor, and then calculate the Total fields sum of the labor field
expenses into a field called TotalLaborCost. Then I need to do the
same process to calculate the sum of expenses classified as Parts in
the TotalPartsCost field.
Fields in the form:
"ExpenseType1" "ExpenseType2"..... (type of expense: labor or parts)
"Quantity1", "Quantity2"..... (how many of each item or how many
hours)
"Cost1" ....(what is the per unit cost)
"Total1"....(the extended price)
"TotalLaborCost" (for the sum of all the labor "Totalx" fields
"TotalPartsCost" (for the sum of all the parts "Totalx" fields