PeakyBlinder
New Member
- Joined
- Jan 22, 2020
- Messages
- 2
- Office Version
- 2013
- Platform
- Windows
Afternoon
I have a vlookup formula in which I am getting a REF! error. I have probably over complicated the formula but are struggling to rectify the error. The lookup data field could be either a number of a text field so I have tried to build the it and to complicate things if the lookup is false I want it to try a 2nd lookup using only the text or number before the character -
There is also a calculation using the vlookup
This is the formula:
any assistance would be most appreciated
I have a vlookup formula in which I am getting a REF! error. I have probably over complicated the formula but are struggling to rectify the error. The lookup data field could be either a number of a text field so I have tried to build the it and to complicate things if the lookup is false I want it to try a 2nd lookup using only the text or number before the character -
There is also a calculation using the vlookup
This is the formula:
Excel Formula:
=SUM(IF(ISERROR(+VLOOKUP(TEXT($A4,"@"),vMC_PARKERS_OP_TIMES!$A:$E,5,0)),+IF(ISERROR(VLOOKUP(LEFT($A4,(FIND("-",$A4,1)-1)),vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],5,0)),VLOOKUP($A4,vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],5,0),VLOOKUP(LEFT($A4,(FIND("-",$A4,1)-1)),vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],5,0)),+VLOOKUP(TEXT($A4,"@"),vMC_PARKERS_OP_TIMES!$A:$E,5,0)))*Qty!C4+SUM(IF(ISERROR(+VLOOKUP(TEXT($A4,"@"),vMC_PARKERS_OP_TIMES!$A:$E,4,0)),+IF(ISERROR(VLOOKUP(LEFT($A4,(FIND("-",$A4,1)-1)),vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],4,0)),VLOOKUP($A4,vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],4,0),VLOOKUP(LEFT($A4,(FIND("-",$A4,1)-1)),vMC_PARKERS_OP_TIMES[[PartNumber]:[ResourceCode]],4,0)),+VLOOKUP(TEXT($A4,"@"),vMC_PARKERS_OP_TIMES!$A:$E,4,0)))
any assistance would be most appreciated