IFS INDEX and MATCH based on Dropdown List

SRJRTL

New Member
Joined
Jul 16, 2024
Messages
3
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
Hi Experts!


I am working on a pricing tool and have the majority of the tool working.

I have tables called "Dayspd1" 2, 3...etc... created in different named Sheets based on the product (Pd) type.

I have the formula working to select the number of days in one cell (C8), then the number of units in the next cell (C10), to produce the price output automatically. ((C4="Product1"),INDEX(Dayspd1,MATCH(Tool!$C8,INDEX(Days,,1),0),MATCH(Tool!C$10,INDEX(Days,1,),0)))

This all works, however I need to make the formula adapt so if I select "Product2" from the dropdown in C4, It will then use ((C4="Product2"),INDEX(Dayspd2,MATCH(Tool!$C8,INDEX(Dayspd2,,1),0),MATCH(Tool!C$10,INDEX(Dayspd2,1,),0)))

And of course products 3,4,5 onward

I have tried IFS and IF in combination with the above and keep erroring out.

Any help would be amazing, Im no expert but usually work it out in the end, but this has me stumped!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
You need to "calculate" the table name in a cell somewhere (for example using VLOOKUP or something), then use the result with INDIRECT function e.g. INDEX(INDIRECT(C5), ....
 
Upvote 1
Solution
You need to "calculate" the table name in a cell somewhere (for example using VLOOKUP or something), then use the result with INDIRECT function e.g. INDEX(INDIRECT(C5), ....
Thank you for your help. I have to say I dont quite follow your example, sorry!
 
Upvote 0
You need to "calculate" the table name in a cell somewhere (for example using VLOOKUP or something), then use the result with INDIRECT function e.g. INDEX(INDIRECT(C5), ....
Got it! Thank you so much!
 
Upvote 0
Sorry if I have not explained too well.
Glad you worked it out.
 
Upvote 0

Forum statistics

Threads
1,224,856
Messages
6,181,427
Members
453,040
Latest member
Santero

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top