UndwaterExcelWeaver
New Member
- Joined
- Mar 2, 2019
- Messages
- 38
- Office Version
- 365
- Platform
- Windows
In the table below I am trying to extract data based on the date and supplier. My destination sheet has a date that must match the date in column B in order for the data to be brought in. (date is Cell D1 in the destination sheet) I need to bring in the total lbs for each date in column J, and the average results for fat, protein and solids for each date. The kicker is that those results are dependent on the supplier. If the supplier is IMP, then the average results should come from columns P:R. If the supplier is not IMP, the results should come from columns M:O. I'm not sure if I need to use lookup, vlookup, or just a sumif/averageif set of formulas to make this happen. Currently I do not have more than one set of results per day, but this is set to change next week, so I need to be able to calculate and extract totals and averages, opposed to just the first set of results found for the inquired date. Please let me know what details I may be missing for you.
UF retentate received 2024.xlsx | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | J | M | N | O | P | Q | R | ||||||||||||||
1 | SKIM UF RETENTATE CHEMISTRY ANALYSIS | |||||||||||||||||||||
2 | From Composite Bottle | |||||||||||||||||||||
3 | Load information for traceability | Supplier results | Nampa Lab FT | |||||||||||||||||||
4 | Receiving date | Supplier | Weight | Solids | Fat | True Protein (TP) | Solids | Fat | True Protein (TP) | |||||||||||||
5 | Lb. | % | % | % | % | % | % | |||||||||||||||
6 | 1/27/2024 | IMP | 49,160 | 16.12 | 0.39 | 14.28 | 17.32 | 0.37 | 14.29 | |||||||||||||
7 | 1/28/2024 | CDI | 48,380 | 18.41 | 0.19 | 14.66 | 18.55 | 0.35 | 14.79 | |||||||||||||
8 | 1/29/2024 | IMP | 48,180 | 15.05 | 0.36 | 13.39 | 16.30 | 0.35 | 13.36 | |||||||||||||
9 | 1/30/2024 | IMP | 47,960 | 15.80 | 0.37 | 14.09 | 17.03 | 0.36 | 14.07 | |||||||||||||
10 | 1/31/2024 | IMP | 48,660 | 15.73 | 0.42 | 13.50 | 17.00 | 0.34 | 13.75 | |||||||||||||
11 | 2/1/2024 | CDI | 47,740 | 17.94 | 0.20 | 14.12 | 18.01 | 0.34 | 14.15 | |||||||||||||
12 | 2/2/2024 | IMP | 47,360 | 16.17 | 0.07 | 13.66 | 17.28 | 0.34 | 14.02 | |||||||||||||
13 | 2/3/2024 | IMP | 48,520 | 16.44 | 0.12 | 13.93 | 17.39 | 0.35 | 14.11 | |||||||||||||
14 | 2/4/2024 | IMP | 49,240 | 16.48 | 0.12 | 14.12 | 17.55 | 0.36 | 14.37 | |||||||||||||
15 | 2/5/2024 | IMP | 49,100 | 16.07 | 0.07 | 13.62 | 17.34 | 0.35 | 14.07 | |||||||||||||
16 | 2/6/2024 | IMP | 48,460 | 16.34 | 0.06 | 13.80 | 17.14 | 0.27 | 13.95 | |||||||||||||
17 | 2/10/2024 | IMP | 50,100 | 16.37 | 9.00 | 13.87 | 17.44 | 0.35 | 14.18 | |||||||||||||
18 | 2/11/2024 | IMP | 48,140 | 16.36 | 0.07 | 14.29 | 17.42 | 0.37 | 14.51 | |||||||||||||
19 | 2/12/2024 | IMP | 48,540 | 15.90 | 0.10 | 13.88 | ||||||||||||||||
20 | ||||||||||||||||||||||
21 | ||||||||||||||||||||||
22 | ||||||||||||||||||||||
23 | ||||||||||||||||||||||
24 | ||||||||||||||||||||||
25 | ||||||||||||||||||||||
MAIN |