Formula help: Index and Match with Or

gd6noob

Board Regular
Joined
Oct 20, 2017
Messages
170
Office Version
  1. 2016
Platform
  1. Windows
Hi guys,

I have a formula that requires an OR function but I cant get it to work.
PL_WIP v4.0 (Make Copy).xlsb
CLR
1LoginType of leavePL/FRL
2adilraufProvincial Leave4
3adilraufFamily Responsibility4
WIP
Cell Formulas
RangeFormula
R2:R3R2=IFERROR(INDEX('PL Balances Converted'!$B$2:$G$10000,MATCH(C2,'PL Balances Converted'!$A$2:$A$10000,0),MATCH(Setup!$Q$8,'PL Balances Converted'!$B$1:$G$1,0)),"Not Used")


the Setup tab contains these at Q8 and Q9. The use would depend on the region.
West coast used Family Responsibility.
East coast uses Provincial Leave.

Thanks in advanced.
 
Last edited:

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Maybe
Excel Formula:
=IFERROR(INDEX('PL Balances Converted'!$B$2:$G$10000,MATCH(C2,'PL Balances Converted'!$A$2:$A$10000,0),IFERROR(MATCH(Setup!$Q$8,'PL Balances Converted'!$B$1:$G$1,0),MATCH(Setup!$Q$9,'PL Balances Converted'!$B$1:$G$1,0))),"Not Used")
 
Upvote 0
Solution
This is the Balances tab.

Column D header can either be Family Responsibility or Provincial Leave.
PL_WIP v4.0 (Make Copy).xlsb
ABCD
1Row LabelsBereavementMedical WaiverFamily Responsibility
2rbmurrNot UsedNot Used4
3FranclavNot UsedNot Used4.5
PL Balances Converted



I didnt want to hardcode the columns in case there are additional columns that could added in error and would mess up the balance.
 
Upvote 0
Did you try the formula that I suggested?
Did it work?
If not, what did it do wrong? What is in Q8? What is in Q9?
 
Upvote 0
Hi @jasonb75, sorry we must of posted at the same time and I missed it..

I tried your formula and it worked.. awesome thanks.
 
Upvote 0

Forum statistics

Threads
1,214,891
Messages
6,122,105
Members
449,066
Latest member
Andyg666

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