• 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

Complex if query|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Complex if query|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…Complex if query
sp_PrintTopic sp_TopicIcon
Complex if query
Avatar
dileep av

New Member
Members
Level 0
Forum Posts: 1
Member Since:
September 4, 2018
sp_UserOfflineSmall Offline
1
September 4, 2018 - 12:28 am
sp_Permalink sp_Print

I have a table of 3 columns A B C.

A has finish position.

B has turn position

C has Fixed Multiplier.

I need to use value in C depending on input of A and B in a formula. So if A is 1 and B is 2 then it should pull up 264 as shown in TABle below.

Finish Position Turn Position Fixed Multiplier
1 1 265
1 2 264
1 3 263
1 4 262
1 5 261
1 6 260
1 7 259
1 8 258
1 9 257
1 10 256
1 11 255
1 12 254
1 13 253
1 14 252
1 15 251
2 1 266
2 2 267
2 3 266
2 4 265
2 5 264
2 6 263
2 7 262
2 8 261
2 9 260
2 10 259
2 11 258
2 12 257
2 13 256
2 14 255
2 15 254
3 1 267
3 2 268
3 3 269
3 4 268
3 5 267
3 6 266
3 7 265
3 8 264
3 9 263
3 10 262
3 11 261
3 12 260
3 13 259
3 14 258
3 15 257
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 870
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
September 5, 2018 - 1:58 am
sp_Permalink sp_Print

Hello,

Now I don't know how your real scenario / file is, but based on the provided table and question I would say you should use DGET or an array formula of INDEX and MATCH. See attached file for examples.

Br,
Anders

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
3
September 6, 2018 - 3:51 am
sp_Permalink sp_Print

Well, for the finish position 1 I get it and then something like IF(A2=1,267-B2) and so downwards. Combining with A being 2 seems more difficult because first you have 2 with turn position 1 which gives apparently 266 and with turn position 2 267 and then going downwards. So you have to make different IF's for that two. The same with Finish position 3 with the first 3 turn positions.

This can be done, but I don't know how many Finish positions you want and what you want to do with it?

Frans

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
September 6, 2018 - 9:03 am
sp_Permalink sp_Print

A simple SUMIFS should do the trick

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online:
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:
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Ray-Yu Yang
George Shihadeh
Naomi Rumble
Uwe von Gostomski
Jonathan Jones
drsven
Forum Stats:
Groups: 3
Forums: 24
Topics: 6212
Posts: 27236

 

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