Vlookup function
Hello all,
I am looking for a formula that see's the week number, and therefore populates the period in the box above it
Everything is listed on this sheet below, each week has a corresponding period, all the way to the end of 2022
I tried using,
=VLOOKUP($[2]$3, {IN. Data Control (Dates) 2019-22 Range 2}, 4, false)
But it comes up no match
Suggestions?
Best Answer
-
I would use an INDEX(COLLECT formula instead!
First you list the column with the information you want to bring back, then you list each column and criteria after it as a sort of filter.
Try something like this:
=INDEX(COLLECT({Period Column}, {Week Column}, $[2]$3, {Year Column}, $[2]$1), 1)
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Answers
-
Exactly which column are you matching on and which column are you pulling from?
-
Based on the Week and year In "Four week running" I need it to fill the period field, based on the matching data in "IN. Data control"
So, currently there's year 2021, and week 33, I need it to match with criteria in the control data sheet to fill the period field
-
I would use an INDEX(COLLECT formula instead!
First you list the column with the information you want to bring back, then you list each column and criteria after it as a sort of filter.
Try something like this:
=INDEX(COLLECT({Period Column}, {Week Column}, $[2]$3, {Year Column}, $[2]$1), 1)
Cheers,
Genevieve
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
-
@Jessica Howell My apologies. I missed the notification that you had responded. Does Genevieve's solution work for you?
@Genevieve P. Thanks again.
-
It worked, thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.1K Get Help
- 430 Global Discussions
- 149 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!