Mgarcia8878
New Member
- Joined
- Oct 27, 2022
- Messages
- 7
- Office Version
- 365
- Platform
- Windows
Sorry if this question has been asked before. I apologize as I am new to this community. I'm trying to create a workbook where I can grab the row of ranges that are specific to a member's calc. This would be similar to a vlookup of the Member's ID. In the example below, member XYZ has its own start and end ranges as well as it own rates. I'm currently using a SUMPRODUCT formula, however it is tied specifically to the row for that member. Is there a way to have the range driven by the Member's ID?
xyz's formula = SUMPRODUCT((B2<='Rate Tab'!F2:I2)* (B2>'Rate Tab'!B2:E2)* (B2- 'Rate Tab'!B2:E2)* 'Rate Tab'!J2:M2)+ SUMPRODUCT(((B2>'Rate Tab'!F2:I2)* ('Rate Tab'!F2:I2-'Rate Tab'!B2:E2))* 'Rate Tab'!J2:M2)
abc's formula = SUMPRODUCT((B3<='Rate Tab'!F3:I3)* (B3>'Rate Tab'!B3:E3)* (B3- 'Rate Tab'!B3:E3)* 'Rate Tab'!J3:M3)+ SUMPRODUCT(((B3>'Rate Tab'!F3:I3)* ('Rate Tab'!F3:I3-'Rate Tab'!B3:E3))* 'Rate Tab'!J3:M3)
Calc Sheet:
Rate Tab:
xyz's formula = SUMPRODUCT((B2<='Rate Tab'!F2:I2)* (B2>'Rate Tab'!B2:E2)* (B2- 'Rate Tab'!B2:E2)* 'Rate Tab'!J2:M2)+ SUMPRODUCT(((B2>'Rate Tab'!F2:I2)* ('Rate Tab'!F2:I2-'Rate Tab'!B2:E2))* 'Rate Tab'!J2:M2)
abc's formula = SUMPRODUCT((B3<='Rate Tab'!F3:I3)* (B3>'Rate Tab'!B3:E3)* (B3- 'Rate Tab'!B3:E3)* 'Rate Tab'!J3:M3)+ SUMPRODUCT(((B3>'Rate Tab'!F3:I3)* ('Rate Tab'!F3:I3-'Rate Tab'!B3:E3))* 'Rate Tab'!J3:M3)
Calc Sheet:
Rate Tab: