Numbers Formula Help – Extract Bed Numbers for Various work in Each Week
I am working on a crop planning sheet in Numbers and need help writing a formula.
I have two tables:
- Plot_1 (Left Table) – This shows which beds are being used for direct sowing ("◉ D. Sow") or transplanting ("△ Transplant")on different weeks.
- Table 1 (Right Table) – This is my summary table, where I want to automatically list the bed numbers for each work type (Direct Sowing / Transplanting) based on the selected week.
What I Need the Formula to Do:
- In the "Beds" column of Table 1, I want to list all bed numbers where "◉ D. Sow" appears for that specific week(e.g., 25032 or 25033).
- If no beds have "D. Sow" for that week, it should return blank or "0".
- The same logic should apply for "Transplanting" ("△ Transplant").
Example Expected Output:
For week 25032:
- "Direct Sowing" should return "28" (since bed 28 has "◉ D. Sow").
- "Transplanting" should return "0" (since no beds have "△ Transplant").
For week 25033:
- "Direct Sowing" should return "20, 19, 18, 17, 16, 15, 7".
- "Transplanting" should return "4, 3, 2, 1".
Formula Attempts & Issues:
- I tried using VLOOKUP, COUNTIF, and TEXTJOIN, but they either return all beds or don't filter correctly.
- I also tried COUNTIFS + REGEX, but it still didn't list only the correct beds.
Does anyone know the best way to extract the correct bed numbers dynamically when "D. Sow" or "Transplanting" is found in the corresponding week?
Any help would be greatly appreciated! 🙏
MacBook Air 13″, macOS 15.2