79727102

Date: 2025-08-06 09:44:20
Score: 0.5
Natty:
Report link

In column A, I have a list of sheet names in YYMM format

YYMM
2506
2507
2508

In column B, I want a lookup against those sheets to find the string Total days and take the value. The full formula is

= iferror(
  byrow(
    A2:A,
    LAMBDA(
      YYMM,
      VLOOKUP("Total days", INDIRECT(YYMM&"!A:D"), 4, 0)
    )
  ),
""
)

Inspired by Saturnine comment but a slight variant

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NickM