Inquiry How to vlookup
Hi Community,
Hope all are doing well,
I need to make Sheet 3 dynamic, i.e., if I add any data to Sheet 1 and Sheet 2, it should be merged using the same ticket number in One Raw.”
Desire Result:
Column: Ticket Number | Created Date | Assing By | Assing To | Assigned Date | Approver
DATA : CH000000001 | MM-DD-YYYY | JUAN CARL | JEAN CARL | MM-DD-YYYY | JUAN FLOW
I m attaching 2 screenshots please suggest how to achieve this.🤗
Answers
-
Hi @Lil Na$is
You must use two different ranges to VLOOKUP from two sheets.
Ticket Number =IFERROR(INDEX({assigned_ticket Range Ticket Number}, No@row), "")
Created Date =IFERROR(VLOOKUP([Ticket Number]@row, {ticket_system_form Range Ticket Number: Issue}, 2), "")
Re Assign By =IFERROR(VLOOKUP([Ticket Number]@row, {assigned_ticket Range Ticket Number: Approver}, 2), "")
Assign To =IFERROR(VLOOKUP([Ticket Number]@row, {assigned_ticket Range Ticket Number: Approver}, 3), "")
Assign Date =IFERROR(VLOOKUP([Ticket Number]@row, {assigned_ticket Range Ticket Number: Approver}, 4), "")
Approver =IFERROR(VLOOKUP([Ticket Number]@row, {assigned_ticket Range Ticket Number: Approver}, 5), "")The [Ticket Number] column automatically gets the number as the values get added in the Assigned Ticket sheet using the [No] column's value as the row index of the INDEX function.
(I usually use the INDEX & MATCH functions as they cope with column position change. However, I found using the VLOOKUP function saves time as I do not have to create multiple cross-sheet reference ranges. Thanks for bringing this to my attention. Below is an example when I use INDEX & MATCH )
=IFERROR(INDEX({assigned_ticket Range Re Assign By}, MATCH([Ticket Number]@row, {assigned_ticket Range Ticket Number})), "")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!