• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Need some help with using Vlookup or a combination of Index and Match |VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Need some help with using Vlookup or a combination of Index and Match |VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosNeed some help with using Vlookup o…
sp_PrintTopic sp_TopicIcon
Need some help with using Vlookup or a combination of Index and Match
Avatar
Dayanand Kudari

New Member
Members
Level 0
Forum Posts: 1
Member Since:
September 19, 2019
sp_UserOfflineSmall Offline
1
September 19, 2019 - 10:28 am
sp_Permalink sp_Print

I have 4 filled big columns (2000 rows each) filled like below:

Column A Column B Column C Column D
3024 1 2 0
3001 1 2 0
3020 1 1 0
3002 1 1 0
3021 1 1 0
3020 1 1 0
3020 1 1 0
3020 1 1 0

And I have the same 4 big columns (2000 rows each) in a different sheet. 1st sheet is fully filled (all 2000 rows). This second sheet has only 1st column filled, and rest 3 empty. I was looking for a formula that would filled the blank cells based on the corresponding value in Column A (matched with First table)? Like for Column A value 3002, what would be the value in column B, c and d?

Column A Column B Column C Column D
3002 ? ? ?
3003      
3098      
3009      
3010      
3334      
3233      
3023      

Urgent help would be appreciated as I am stuck in office and its already 8.28 pm. Thanks. God bless.

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1514
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
2
September 19, 2019 - 12:13 pm
sp_Permalink sp_Print sp_EditHistory

Hi,

If your data starts in A1 on both sheets then you can make use of implicit intersection and the formula

   =INDEX(Source[[Column2]:[Column4]],MATCH($A1,Source[Column1],0),0)

where Source is a table on Sheet1 containing your source data.  I'm using Structured References to refer to the data.

If you have Dynamic Arrays (available in Office 365) then you only need to enter this formula into the first column of each row on Sheet 2 i.e. B1, B2 etc

If you don't have dynamic arrays then you'll need to enter it into each cell you want to populate on each row i.e. B1, C1, D2 and then B2, C2, D2 etc

If you look at the attached workbook you'll see that I have included an example of each on Sheet 2.  Row 1 has the formula in B1, C1 and C2.

But on row 2 I've only entered it in B2.

Note : You have multiple rows on the first sheet that have the same value in ColA e.g. 3020.  The above formula matches the first occurrence of a number in ColA

Regards

Phil

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Aislinn Mellamphy, Lynnette Altomari, Roy Lutke, Dieneba NDIAYE, Tucker Oakley
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Sopi Yuniarti
sandra parker
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27243

 

Member Stats:
Guest Posters: 49
Members: 31894
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.