• 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

Index & match Formula Error|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Index & match Formula Error|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
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…Index & match Formula Error
sp_PrintTopic sp_TopicIcon
Index & match Formula Error
Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
1
May 24, 2018 - 8:48 pm
sp_Permalink sp_Print

Hi There,

I need to find a value that is looking up 3 values., Value 1 is the Group, i.e. Hilton, Value 2 is the week i.e W1, value 3 is the Occupancy %

I have tried creating a VLookup,Index,Match formular but both the Week & Occupancy ref are in the same column

Week is in cell AC7

Occupancy is in cell AC8

I believe the index formular looks up row then column, but need to look up column then column again

=VLOOKUP($BA$2,'REV OCC'!E8:AKF322,(INDEX('REV OCC'!E8:AKF322,MATCH(BA4,'REV OCC'!E8:AKF8,0),MATCH(A3,'REV OCC'!N7:AKF7,0))),0)

Any help would be greatly appreciated

Paul

sp_AnswersTopicSeeAnswer See Answer
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
May 25, 2018 - 12:12 am
sp_Permalink sp_Print

Hi Paul

If your data is consistent, you can use INDEX/MATCH.

To get the 2nd row (Occupancy%), just add 1 to the MATCH value.

Please refer to the attachment.

Hope this helps.

Sunny

Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
3
May 28, 2018 - 1:03 am
sp_Permalink sp_Print

Hi Sunny,

Thanks for the reply, however unable to make the formula work due to how the info is laid out, have attached a 'clean' version of the report so you have a better idea what I require.

FYI the reason I'm doing this is because I need to add columns into the 'Rev-Occ' data tab which means I would have to update every VLookup column index

Thanks

Paul

Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
4
May 28, 2018 - 1:14 am
sp_Permalink sp_Print

sorry forgot to attach file

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
5
May 28, 2018 - 2:48 am
sp_Permalink sp_Print

Hi Paul

Take a look at the attachment.

The final formula may look complicated but the logic is easy to understand.

Hope this helps.

Sunny

Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
6
May 28, 2018 - 10:21 pm
sp_Permalink sp_Print

Thanks Sunny,

You are a star!!!

 

Regards

Paul

Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
7
May 29, 2018 - 2:20 am
sp_Permalink sp_Print

Hi Sunny,

Really sorry but have found an issue, when I updated the other columns to have W1, W2, W3 etc the formula does not work as it does not refer to the header in E4 'Occupancy' which is in row 8 on the 'Rev'Occ'?, I tried adding another MATCH formula but it did not work.

Any thoughts?

Thanks

Paul

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
8
May 30, 2018 - 10:53 am
sp_Permalink sp_Print sp_EditHistory

Hi Paul

The data that you gave us earlier is very different from the one you gave us now. The suggested solution is based on what you gave us earlier.

The header is a critical component for the lookup and should have been given to us in full and not amended later that ruined the solution.

If you need to have W1, W2 etc in multiple columns as a header, I suggest you insert them in row 8. 

Leave row 7 as it is with only a single W1, W2 etc but hide the entire row 7.

Sunny

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
9
May 30, 2018 - 6:30 pm
sp_Permalink sp_Print

Hi Paul

My 2nd attempt

I created a helper row 7 that concatenated rows 8 and 9 to create a unique value.

I then use the same technique as my previous suggestion to get the row and column.

You can hide row 7.

Hope this helps.

Sunny

sp_AnswersTopicAnswer
Answers Post
Avatar
Paul Benjamin
Member
Members
Level 0
Forum Posts: 84
Member Since:
July 11, 2017
sp_UserOfflineSmall Offline
10
May 30, 2018 - 9:30 pm
sp_Permalink sp_Print

Thanks Sunny

Issue solved, fantastic help

Regards

Paul

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 215
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Ngoc Qui Nguyen
Clement Mansfield
Rose .
Bindu Menon
Baruch Zemer
Forum Stats:
Groups: 3
Forums: 24
Topics: 6352
Posts: 27779

 

Member Stats:
Guest Posters: 49
Members: 32319
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.