I have a list of data that contains an area description within the cells text string
E.g. the text string is as follows 'Project Name - Area Rate - Name'
From the above text string I am using an array formula to return a rate based on the part of the text that is 'Area Rate'
=IF(E282="","",INDEX(D_PayRatesAreas,SUMPRODUCT(ISNUMBER(SEARCH(D_PayRatesAreas,E282))*(ROW(D_PayRatesAreas)-3))))
E282 is the cell containing the text string 'Project Name - Area Rate - Name'
D_PayRatesAreas is a list of areas with the associated pay rates
This has been working until one of the pay rates needs to be in the list twice as a specific manager needs to be associated with this pay rate and there are two managers associated with this one pay rate.
Is it possible to adapt this formula to deal with the 'Area Name' pay rate being in the lookup list twice?
TIA
E.g. the text string is as follows 'Project Name - Area Rate - Name'
From the above text string I am using an array formula to return a rate based on the part of the text that is 'Area Rate'
=IF(E282="","",INDEX(D_PayRatesAreas,SUMPRODUCT(ISNUMBER(SEARCH(D_PayRatesAreas,E282))*(ROW(D_PayRatesAreas)-3))))
E282 is the cell containing the text string 'Project Name - Area Rate - Name'
D_PayRatesAreas is a list of areas with the associated pay rates
This has been working until one of the pay rates needs to be in the list twice as a specific manager needs to be associated with this pay rate and there are two managers associated with this one pay rate.
Is it possible to adapt this formula to deal with the 'Area Name' pay rate being in the lookup list twice?
TIA