• 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

getting match and index to work|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / getting match and index to work|General Excel Questions & Answers|Excel Forum|My Online Training Hub

vba course banner

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…getting match and index to work
sp_PrintTopic sp_TopicIcon
getting match and index to work
Avatar
py clen
Member
Members
Level 0
Forum Posts: 11
Member Since:
December 16, 2021
sp_UserOfflineSmall Offline
1
December 17, 2021 - 3:35 am
sp_Permalink sp_Print sp_EditHistory

Hi there,

I am not sure if this is the right forum however I am tasked w/building a cost sheet (I have attached a generic sample file) that will calculate the total cost for a specific test (I named them Test 1, 2, 3, etc.)

I can get most of it done however these tests can have a 'difficulty' which impacts how much time is needed to complete the test and ultimately how much a someone has to pay.
There are 2 difficulties, Avg and High, and I want to have the number of hours switched/flipped depending on whether it is Avg or High, I get it so far as that it works w/Avg but when I select High it won't work, I get an error message.

Any help on how to remedy this would be greatly appreciated or if someone has an alternate way of getting this accomplished I am all ears.

Thank you

sp_AnswersTopicSeeAnswer See Answer
Avatar
Michael Blivess

New Member
Members
Level 0
Forum Posts: 1
Member Since:
December 17, 2021
sp_UserOfflineSmall Offline
2
December 17, 2021 - 6:28 am
sp_Permalink sp_Print

I am a novice and don't understand your formula so can not suggest a correction.  But I would add the Test column in front of replicate (insert in Column E) and use index/match with two different arrays.  Also, I don't know why there is a third match in the formula. 

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 649
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
3
December 17, 2021 - 7:13 pm
sp_Permalink sp_Print

In f4:

=INDEX(Lists!$C$4:$D$18,MATCH($B4,Lists!$B$4:$B$18,0),MATCH($C4,Lists!$C$3:$D$3,0))

and copy down. In G4:

=INDEX(Lists!$E$4:$F$18,MATCH($B4,Lists!$B$4:$B$18,0),MATCH($C4,Lists!$E$3:$F$3,0))

and copy down.

sp_AnswersTopicAnswer
Answers Post
Avatar
py clen
Member
Members
Level 0
Forum Posts: 11
Member Since:
December 16, 2021
sp_UserOfflineSmall Offline
4
December 17, 2021 - 9:51 pm
sp_Permalink sp_Print

Thank you very much for the answer, and yes, that did the trick

Really appreciated

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Mohamed Jelle Hussein, Stanislas Louzier
Guest(s) 10
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: 218
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Aminu Sule
Samuel Ramirez
Abdifatah Osman
mohad borhom
Abayomi Adedeji
Ganesh MVS
Gilbert Lemek
Ashleigh Farquharson
Jayz Luu
Fred Smith
Forum Stats:
Groups: 3
Forums: 24
Topics: 6364
Posts: 27829

 

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