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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!