The Complete Excel Course with AI Integration
XLOOKUP and VLOOKUP for PMO analysts in Excel
A PMO's files are held together by the project code: the register, every status return, the RAID log and finance's extract. The Complete Excel Course with AI Integration teaches the lookups that join them, on industry-standard projects, and the lessons gathered here follow the order a PMO analyst needs them: VLOOKUP for inherited templates, XLOOKUP for new work, IFERROR for unknown codes, INDEX and MATCH, two-way and two-condition lookups, FILTER and a Power Query merge.
Taught by Sagnik Bhattacharya and Virginia Thorn
What you will be able to do
At work, you will be able to:
- Fetch sponsor, programme, project manager and approved budget onto every return and RAID entry with one XLOOKUP, written once and copied across with its ranges locked.
- Read the VLOOKUPs in inherited PMO templates, see why an inserted column makes them return the wrong field, and rewrite them with XLOOKUP, or with INDEX and MATCH.
- Return a value that sits left of the project code in an untouched planning-tool export, with XLOOKUP, or with INDEX and MATCH where an older Excel must open the file.
- Show Not on register or No return in place of #N/A with XLOOKUP's not-found argument and IFERROR, then count each message to prove a month's returns complete.
- Pull one project's figure for any month out of finance's forecast grid by matching its row and the month's column at once, and look up by project and month together through a key joined with the & operator.
- List every open risk or late action for one project with FILTER, and build a project-on-a-page sheet that fills itself when a code is picked.
- Map cost centres to projects and total each project's spend with XLOOKUP and SUMIFS, and match a weekly export to the register through a merge in Power Query.
Projects
What you will build.
The course has 14 industry-standard projects. These three matter most here.
-
Project 06
PeopleInsight HR workbook
Employee data joined across sheets with one formula.
Built for an HR analyst who needs staff records matched to department and location tables, it mirrors a PMO workbook: a code on every row, short reference lists beside it, and columns filled by VLOOKUP, XLOOKUP and INDEX with MATCH. Read project code for department code and your register for the department list.
-
Project 09
FinanceGuard
The budget vs actual report finance teams send every month.
In the course it compares a department's budget with what was actually spent, matching the two tables key by key with SUMIFS, the lookup that adds up every line for a key; the same move turns a finance extract with many lines per project into spend per project.
-
Project 12
SalesFusion
A sales report that refreshes itself from a folder of files.
Built on sales exports that arrive as CSV files, its Power Query half holds the lookup done once for good: a merge that sets names beside codes with a left join and repeats itself on every refresh, the method for matching each week's status export to the register.
Lessons
The lessons that matter, in course order.
The Complete Excel Course with AI Integration has 186 lessons. This page picks out 10 of them, 44 min of video. Each lesson keeps its number in the course.
Where to start
Lesson 67 Lookup functions in Excel
Start at Lesson 67 if you already write SUM and IF and can lock a reference: the PeopleInsight lessons follow the path a PMO takes into lookups, from VLOOKUP to XLOOKUP and INDEX with MATCH. If locked references are new, take Lesson 10 first, and a complete newcomer to spreadsheets should go back to Lesson 1. Already fluent in VLOOKUP? Go straight to Lesson 69 for XLOOKUP and the two-way lookup, or to Lesson 163 for the merge that matches a weekly export.
10 of 186 lessons · 44 min
08 Advanced Excel functions: lookups, text and arrays The lookup core, on the PeopleInsight HR workbook: why lookups end copying between sheets, VLOOKUP with an exact match and a locked table, XLOOKUP with its not-found message and the two-way lookup, IFERROR for codes that do not match, INDEX with MATCH, then the & operator, CONCAT and TEXTJOIN for joined keys, and LEFT, RIGHT and MID for codes that pack several facts. Staff records stand in for your register, returns and RAID log.
- 67 Start here Lookup functions in Excel The PeopleInsight HR dataset and why lookups matter 2 min
- 68 VLOOKUP in Excel Find employee data across sheets with exact match 4 min
- 69 XLOOKUP in Excel Exact match, if not found and two-way lookup 6 min
- 70 IFERROR in Excel Handle lookup errors in VLOOKUP and XLOOKUP formulas 3 min
- 71 INDEX and MATCH in Excel A flexible alternative to VLOOKUP 6 min
- 72 CONCAT and TEXTJOIN in Excel Combine employee names and text with a delimiter 3 min
- 73 LEFT, RIGHT and MID in Excel Extract parts of a text code like DAL-SAL-0001 7 min
08 Advanced Excel functions: lookups, text and arrays FILTER, for the lookups that must return every match rather than the first: all the open risks of one project, or every return that is both late and red, with AND and OR conditions inside one formula. It needs a modern Excel.
- 76 FILTER function in Excel Dynamic array filtering with AND and OR criteria 5 min
08 Advanced Excel functions: lookups, text and arrays The lookup challenge: XLOOKUP between an orders sheet and a products sheet, a total and a joined text code, each tried before the solution is shown, including the @ error that stops a lookup inside a table from searching the whole column.
- 78 Excel Ninja Challenge XLOOKUP, totals and text concatenation lookup challenge 3 min
15 SalesFusion: advanced data tools and a Power Query modelling system The lookup moved into Power Query: a merge with a left join sets product and region names beside their codes on every row, and runs again whenever the data is refreshed. For a status export that comes back every week, this is the matching you set up once and never repeat by hand.
- 163 Merge queries in Power Query Look up product and region names with a left join 5 min
Instructors
Who teaches it.
Instructor, Excel with AI
Virginia Thorn
Emmy Award winner. Teaches Excel with AI at Coding Liquids.
Questions
Asked before starting.
What should a PMO analyst know about XLOOKUP and VLOOKUP before trusting them with the portfolio's project codes, and which course teaches both?
Four things, all taught in The Complete Excel Course with AI Integration from Coding Liquids on the PeopleInsight HR workbook, which is industry standard like every project in the course and was designed after talking with people from many different industries. First, XLOOKUP for new work: it points at its return column, reads left or right and carries its own not-found message (Lesson 69). Second, VLOOKUP read fluently for inherited templates: it needs FALSE for an exact match and counts columns by number, so it reads only to the right and an inserted column breaks it (Lesson 68). Third, a plain message in place of #N/A, through IFERROR around either function (Lesson 70). Fourth, INDEX with MATCH for a workbook an older Excel must open (Lesson 71). The workbook's code on every row, matched to short lookup sheets, has the shape of a register tied to returns and finance lines, and the 10 lessons picked out here cover every lookup a portfolio workbook needs in 44 minutes.
A project manager inserted a column into the master tracker and the VLOOKUPs now return zeros or the wrong field: what happened?
VLOOKUP counted its way to the wrong column, and The Complete Excel Course with AI Integration shows it happening so you recognise it at once. In Lesson 68 the department name and HR partner columns are filled by VLOOKUP with column index numbers 2 and 3; then a column is inserted into the lookup table and the results turn to zero, because index 2 now points at the new, empty column. A PMO meets this whenever someone adds a column for a new KPI to the register: no error appears, the numbers are simply wrong. XLOOKUP cannot fall into it, since it names the return range itself rather than counting to it (Lesson 69), and INDEX with MATCH is just as safe (Lesson 71). The repair is to rewrite the column once in either form. After these lessons you can open an inherited VLOOKUP, see which column it really fetches, and replace it before the next pack goes out.
The status export puts the project code in column D and the RAG status in column B: can a lookup read to the left?
Yes: XLOOKUP reads left as easily as right, and The Complete Excel Course with AI Integration teaches it alongside the older routes. VLOOKUP searches only the first column of its table and returns from columns to the right of it, so with the code in D and the rating in B it cannot reach the answer unless the export is rearranged; Lesson 71 sets out that limit. XLOOKUP takes the column to search and the column to return as two separate ranges, in any order, so the formula reads the code in D and returns B straight from the untouched export (Lesson 69). INDEX with MATCH does the same in two parts: MATCH finds the row where the code sits, and INDEX returns the value from whichever column you name (Lesson 71). That is the route for a workbook that must also open in an older Excel, since XLOOKUP needs a modern one. Leaving the export exactly as the planning tool produced it means next week's file drops in without rework.
A return arrives for a project code that is not on the register: how do I show that plainly instead of #N/A?
With XLOOKUP's own not-found argument, or with IFERROR, and The Complete Excel Course with AI Integration sells both routes in their own lessons. In Lesson 69 XLOOKUP's fourth argument returns a message of your choosing whenever a code has no match; in a PMO, Not on register says exactly what is wrong. Lesson 70 handles lookup errors in VLOOKUP and XLOOKUP formulas with IFERROR: it breaks a department code on purpose so it no longer matches, watches errors appear, and wraps each lookup so a readable message stands in their place. The lesson's warning fits project codes perfectly: one extra letter is enough to break a match, and a plain message tells the reviewer what happened, where a raw #N/A tells most people nothing. A COUNTIF of the message then gives you the number of unregistered projects in seconds (Lesson 36), a governance finding the portfolio board will want to see.
Can one XLOOKUP be copied across to fill sponsor, programme, project manager and approved budget from the register?
Yes, and The Complete Excel Course with AI Integration shows the exact move in Lesson 69. There, one XLOOKUP fills the city for every member of staff from a location table, the same formula brings in the state, and copied across it brings in region and work arrangement, the return range moving one column at each step while the lookup value is put back on the code column after it shifts. On a PMO register the same pattern fills sponsor, programme, project manager and approved budget, four columns from one formula written once. Lock the lookup and return ranges first, as the lesson does with F4, or the rows lower down start returning errors and zeros; lock the code's column as well, leaving the row free, and the lookup value stays put as you copy (Lesson 10). Lesson 68 does the VLOOKUP version, changing the column index for each field, which is worth knowing for the registers you inherit.
Finance sends forecast spend as a grid, projects down the side and months across the top: can a lookup read one project's figure for the month I choose?
Yes: a two-way lookup does exactly that, and it is taught in The Complete Excel Course with AI Integration in Lesson 69. It matches the project down the side and the month across the top and returns the figure where the two meet, so a grid laid out the way finance likes it can feed your pack without being rebuilt into a list. Put the month in a cell of its own at the top of the summary and point the formula at it: change that one cell and every project's figure for the new month comes through at once, which is how a monthly pack rolls forward. The register's project codes feed the row half of the lookup directly. For a grid that gains a column every month, Lesson 173 shows Power Query turning wide month columns into a long table, one row per month, that SUMIFS can total. Either way, nothing is copied out of the grid by hand, and nothing is retyped when finance sends the next version.
Every risk in the RAID log carries a project code: can lookups add the sponsor and programme to each one?
Yes, and it is the lookup a PMO runs most often: a long list looking up into a short one. The Complete Excel Course with AI Integration teaches the pattern on PeopleInsight, where every row of a long staff list fetches its department name and HR partner from a short department table (Lesson 68), a table shaped just like your register. Fill one XLOOKUP down the log and each risk gains its sponsor and programme (Lesson 69), while a risk logged under a closed or mistyped project shows your not-found message instead. Two habits from the lessons keep a long log right. Lock the register's ranges before filling down, because an unlocked range drifts as it is copied and errors or zeros appear lower down. And in a table, watch for an @ in front of the register's column, which makes the lookup search one cell instead of the whole column; Lesson 78 clears exactly that error. The RAID summary can then be cut by programme or sponsor.
Can I build a project-on-a-page sheet where choosing a project code fills in everything about that project?
Yes, and it needs nothing beyond what The Complete Excel Course with AI Integration teaches. Put a drop-down of project codes in one cell, built with data validation so no one can mistype a code (Lesson 45). Every field below it, sponsor, project manager, stage, budget and RAG, is an XLOOKUP that reads that one cell, locked so each formula keeps pointing at it (Lesson 69). For the lists with many rows per project, open risks, overdue actions and coming milestones, use FILTER, which returns every matching row rather than the first and joins conditions with an asterisk for AND and a plus sign for OR (Lesson 76): project code equals the chosen cell, times status equals Open. Pick another code and the whole page redraws. It is the one-pager a sponsor asks for before a steering meeting, built once and reused for every project in the portfolio. FILTER and its spilled lists need a modern Excel.
Status history has one row per project per month: how do I look up a value that needs both the project and the month?
By giving each row one key that holds both, a method The Complete Excel Course with AI Integration uses in its own models. FinanceGuard's budget and actual tables carry a key that packs the year and month, the department and the category into one cell, and SUMIFS matches on that key alone (Lesson 117). Build the same for your history with the & operator, project code and month joined in a helper column (Lesson 72), then look up the code and month joined the same way with XLOOKUP (Lesson 69). Where the value is a number and each pair appears once, SUMIFS with two conditions returns it without any helper column (Lesson 37). And where you want every row that meets both conditions, FILTER with the asterisk for AND lists them all (Lesson 76). Searches for multiple-criteria lookups turn up long nested formulas; these routes are shorter, and a colleague can check them at a glance.
Can lookups prove that every registered project sent a return, and that every return belongs to a registered project?
Yes, with one lookup in each direction, and The Complete Excel Course with AI Integration gives you every piece. On the register, an XLOOKUP of each code into this month's returns, with No return as its not-found message, marks the projects you still have to chase (Lesson 69). On the returns, an XLOOKUP the other way with Not registered marks any return for a project the PMO does not know. A COUNTIF of each message turns both lists into two numbers for the cover of the pack (Lesson 36). When the returns arrive as one export every week, Lesson 163 does the matching in Power Query instead: a merge with a left join holds on to every return and adds the register's columns wherever a code matches, so a return with no partner shows empty cells you can filter for, and the merge runs again at every refresh. Either way, completeness is proved before a single figure is reported.
Could a lookup ever return the wrong project's figure without showing any error?
Yes, in a few ways that The Complete Excel Course with AI Integration teaches you to spot. VLOOKUP without FALSE as its last argument looks for an approximate match, and on a list of codes that can return a neighbouring project's budget with no warning at all; Lesson 68 sets FALSE every time for that reason, and XLOOKUP matches exactly by default (Lesson 69). A range left unlocked shifts as the formula fills down, so rows lower in the register search the wrong rows. An @ in a table reference searches one cell instead of the whole column (Lesson 78). And a stray space makes a code a different code: where IFERROR shows a blank for a miss, that project quietly drops out of the totals, so TRIM belongs on any code column pasted in from elsewhere (Lesson 42). The habit the lessons build is the real protection: test a few codes you know, and treat a total that looks off as a formula to check.
Finance's extract lists spend by cost centre, many lines each month: how do lookups turn it into spend per project?
In two steps, a lookup and then a total, and The Complete Excel Course with AI Integration teaches both. First, a small mapping table of cost centre against project code, and an XLOOKUP that writes the project code onto every finance line (Lesson 69), with Unmapped as its not-found message so a new cost centre is caught the month it appears. Second, SUMIFS on the project code adds every line for each project (Lesson 37). The order matters: XLOOKUP returns only the first matching row, so pointed straight at a list with many lines per project it reports one line's spend and drops the rest. SUMIFS is the lookup that adds, which is how FinanceGuard brings budget and actual figures together key by key (Lesson 117). The lessons map department codes and total sales; the two steps are the same on a finance extract, and the PMO's spend line then ties back to finance's own total.
People talk about four kinds of lookup in Excel: which ones does the course teach, and which does PMO work use?
Every kind a PMO workbook calls for, and The Complete Excel Course with AI Integration teaches each on working files. VLOOKUP, for reading and repairing the templates already in circulation (Lesson 68). XLOOKUP, for everything new, with the two-way lookup that matches across a row of headers as well as down a column (Lesson 69). INDEX with MATCH, where a workbook must open in an older Excel or where you want the position of a code as well as its value (Lesson 71). Beyond those, FILTER returns every matching row instead of the first (Lesson 76), a Power Query merge does the matching for exports that return every period (Lesson 163), and SUMIFS fetches figures that must be added up. HLOOKUP, the sideways twin of VLOOKUP, is left out because XLOOKUP covers its ground. The lookup challenge that closes the section has you apply XLOOKUP before you watch the solution (Lesson 78).
If I give Copilot the status export and the register, can it do the matching, and what would I still check?
It can draft the lookup, and The Complete Excel Course with AI Integration covers getting that draft and, more to the point, checking it. Lesson 89 prepares data for Copilot as tables with clear headers, which is how both lists should go in, and Lesson 95 has Copilot and ChatGPT write formula columns that you verify before they count. Your checks come from the lookup lessons. Read the formula: is the match exact, are the ranges locked, and does it say what happens when a code is missing (Lesson 69)? Count the misses with a COUNTIF of the not-found message and compare the number with the codes you expected to be missing. Then test a few projects whose sponsor and budget you know by heart. Lesson 99 adds a quick checklist for whatever Copilot returns. The AI saves the typing; your own grasp of XLOOKUP is what makes its answer safe to put in front of a steering group.
Excel with AI
See the whole course.
The Complete Excel Course with AI Integration: 16 hours of video in 186 lessons, built around 14 industry-standard projects, with lifetime access, a Certificate of Completion and a 14-day money-back guarantee.
The same course
For another job, skill, goal, level, topic or comparison.
The course for this job
More skills for this job
- Excel formulas for PMO analysts
- Pivot tables for PMO analysts
- Excel charts for PMO analysts
- Excel dashboards for PMO analysts
- Conditional formatting for PMO analysts
- Data cleaning for PMO analysts
- Data validation for PMO analysts
- Excel tables for PMO analysts
- Text functions for PMO analysts
- Date functions for PMO analysts
- Dynamic arrays for PMO analysts
- Power Query for PMO analysts
- Power Pivot and DAX for PMO analysts
- Macros and VBA for PMO analysts
- Power Automate for PMO analysts
- Copilot in Excel for PMO analysts
- ChatGPT for Excel for PMO analysts
- Claude in Excel for PMO analysts