VLOOKUP formula to copy values from one sheet to another
Hey Guys,
I Have a sheet name "Holiday", and I want to copy the cols "Country", "Start Date" and "End Date" from this sheet to another (empty) sheet called "Holidays Israel", BUT only the rows that thier country is Israel. I tried VLOOKUP (this is the formula I used: =VLOOKUP("Israel", {Holidays Range 3}, 5) but when I drag the formula to the rows below it copies the same one date.
How can I copy all the different dates which belong to Israel?
Attaching screenshots
This is the "Holidays" sheet
this is the sheet I want to copy the dates to:
Thank you!
Answers
-
I would use the Copy Row automation. If you set it for something like "When rows are added or changed" and when Country = Israel, then it should move any new holidays over to your new sheet.
In order to get it to take your existing rows, you could go and rename your country from Israel to "I" and click save, then go back and change them back to "Israel" and click save 1 last time. That should move all of your rows to your new sheet.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 405 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!