Fortune Telling Collection - Zodiac Analysis - Design a table, enter the ID number in one cell, and immediately display the ID owner's constellation in another cell.

Design a table, enter the ID number in one cell, and immediately display the ID owner's constellation in another cell.

Build a query table:

Use the query function to query the above table to obtain constellation information, and the formula is as follows:

= iforror(VLOOKUP(VALUE(MID(D2,7,8)," 0000-00-00 "))-DATE(YEAR(VALUE(TEXT(MID(D2,7,8)," 0000-00-00 ")), 1, 1),A:B,2),"")