• 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
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Formula to match values in colums and return a third colum|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Formula to match values in colums and return a third colum|General Excel Questions & Answers|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 ForumGeneral Excel Questions & Answe…Formula to match values in colums a…
sp_PrintTopic sp_TopicIcon
Formula to match values in colums and return a third colum
Avatar
Rachel Waltz

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
July 31, 2015
sp_UserOfflineSmall Offline
1
September 30, 2017 - 6:35 am
sp_Permalink sp_Print

Hello all,

My brain hurts and has turned to mush. My VP has given me 2 spreadsheets of item numbers and projected volume through 2018. I have summarized 1 with a pivot table. My issue is she would like me to take my pivot table and bring in 2 columns from the un-summarized spreadsheet using item # as the reference. These do not need to be in the pivot table they can easily be next to it. So, I need to look at the item number in the pivot table and compare it to the item number in the second spreadsheet and return the value listed in the second spread sheet to the first. Clear as mud right???? I for the life of me can not get it to work. I wish I could upload it but its sensitive company info and they'd chuck me to the curb for it lol. I have tried a VLook up and reading that maybe I need to do and index. I'm just not sure the best course of action for this.

 

Please help or ask more questions if needed. Thank you!!!!!!

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
September 30, 2017 - 11:17 am
sp_Permalink sp_Print

Hi Rachel

Both VLOOKUP and INDEX/MATCH can be use depending on the setup of the data on your 2nd spreadsheet.

VLOOKUP can only find values to the right of the lookup value (in your case the ITEM #) while using INDEX/MATCH it can lookup any column.

My attachment contains sample using both VLOOKUP and INDEX/MATCH.

Hope this helps.

Sunny

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
3
October 3, 2017 - 5:53 am
sp_Permalink sp_Print

Nice one Sunny. I would have thought about adding an extra column to the data and from there show it in the Pivot Table.

But your solution sticks better to what is descriped in the question and I didn't know this works also. You maybe have a problem with more complex pivot tables where the first column repeats (without showing the value or item) because there are more items in the second and third column before you have a value in the value area. I think my 'solution' works there as well.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
October 3, 2017 - 10:22 am
sp_Permalink sp_Print

Hi Frans

Without seeing the data, I can only make a guess. There can be many ways to handle the situation and your's may also work.

Since she mentioned Item # as the reference, I can only assume it is in one column and no duplicates (especially if there are more columns after the item #).

Otherwise we may need to concatenate the required columns on both sheets for the VLOOKUP or INDEX/MATCH to work.

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Evan Sim, Kumud Patel
Guest(s) 6
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
Hans Hallebeek: 184
Newest Members:
Hilary Burchfield
Richie Wright
Adel Kock
Barbara Murray
Doug Milne
https://www.afabola.net/
Siobhan Stringer
Rob Rooth
Tom Lewis
Jennifer Rodriguez-Avila
Forum Stats:
Groups: 3
Forums: 24
Topics: 6542
Posts: 28630

 

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

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • 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

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

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

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.