Forum Discussion
Calculated Field in Pivot
DexterG_III I am provided with a file from HR/Payroll. Apparently this is my only option. I had to join the two tables myself. I just figured out that I can use VLOOKUP and add the total for each line item to the spreadsheet I was given. I now have a total per work order per entry, but cannot get a total per work order overall. I'm not sure a pivot table is gonna work for me.
sheridan60 While Vlookup will pull a value from a single cell (the first match in the lookup table - a single workorder entry), using sumif will pull values from several cells. Using sumif should allow you to pull the total by workorder rather than workorder entry.
- sheridan60Sep 12, 2022Copper ContributorCan I use sumif/sumifs if I have 3000 different identifiers, without entering detail for each one?
- DexterG_IIISep 12, 2022Iron Contributor
sheridan60 As long as you have the common keys in both tables, yes. For example, this formula uses both username and Workorder Number. It's just one formula which, if entered in a table object, will spill to all rows in that table.
=SUMIFS(Table3[Hours],Table3[Workorder],[@Workorder],Table3[Username],[@Username])
- sheridan60Sep 12, 2022Copper ContributorThanks. I'll work on that.