google-sheetsgoogle-sheets-formulainventory-management

Google Sheets: Index and Match - Find the dated column greater than today that has a value for a specific row


Given the set below:

enter image description here

I need:

Samples:

I tried using INDEX and MATCH but I can't get the "Greater than today" part for match.

Thanks in advance.


Solution

  • I managed to get what I needed by combining CHOOSEROWS, TOCOL, and FILTER from this answer and harun24hr's answer.

    Here it is in action: =CHOOSEROWS(TOCOL(FILTER(D4:4,D$2:$2>A$2),1),-1)

    enter image description here