Yecart77
New Member
- Joined
- Nov 8, 2022
- Messages
- 20
- Office Version
- 365
- 2021
- 2019
- 2016
- Platform
- Windows
Hi All,
There is a DropBox link below containing my sample Excel file, please let me know if it doesn't work.
DropBox Link
This is the formula I am working on, I am going cross eyed trying to finish it off.
=IF(ISERROR(MATCH(F1079,'Forms Sum'!D:D,0))=FALSE,IF(LEFT(OFFSET('Forms Sum'!$H$1,MATCH(F1079,'Forms Sum'!D:D,0)-1,0),2)<>"No",IF(OFFSET('Forms Sum'!$H$1,MATCH(F1079,'Forms Sum'!D:D,0)-1,0)=IF(LEFT(R1079,3)="WBS",MID(R1079,5,LEN(R1079)-4),IF(LEFT(S1079,3)="WBS",MID(S1079,5,LEN(S1079)-4),"")),"",IF(OR(LEFT(R1079,3)="WBS",LEFT(S1079,3)="WBS"),"INCORRECT WBS","NEEDS WBS")),IF(OR(LEFT(R1079,1)="W",LEFT(S1079,1)="W"),"REMOVE WBS","")),"")
The conditions are as follows:
1.If the value of R1079 or S1079 match exactly to Column H of 'Forms Sum' sheet, return empty cell.
2.If there is a value in R1079 or S1079 that does not match Column H of 'Forms Sum' sheet, return text string ''Incorrect WBS".
3.If there is a value in R1079 or S1079 and the Column H of 'Forms Sum' sheet is empty, return text string "Remove WBS".
4.If there is no value in R1079 or S1079 and there is a value in Column H of 'Forms Sum' sheet, return text string "Needs WBS".
Conditions 1, 2 and 4 and returning the correct responses but Condition 3 is returning "Incorrect WBS" where I want it to return "Remove WBS".
Thank you in advance to anyone who can help me out.
Cheers,
Tracey
There is a DropBox link below containing my sample Excel file, please let me know if it doesn't work.
DropBox Link
This is the formula I am working on, I am going cross eyed trying to finish it off.
=IF(ISERROR(MATCH(F1079,'Forms Sum'!D:D,0))=FALSE,IF(LEFT(OFFSET('Forms Sum'!$H$1,MATCH(F1079,'Forms Sum'!D:D,0)-1,0),2)<>"No",IF(OFFSET('Forms Sum'!$H$1,MATCH(F1079,'Forms Sum'!D:D,0)-1,0)=IF(LEFT(R1079,3)="WBS",MID(R1079,5,LEN(R1079)-4),IF(LEFT(S1079,3)="WBS",MID(S1079,5,LEN(S1079)-4),"")),"",IF(OR(LEFT(R1079,3)="WBS",LEFT(S1079,3)="WBS"),"INCORRECT WBS","NEEDS WBS")),IF(OR(LEFT(R1079,1)="W",LEFT(S1079,1)="W"),"REMOVE WBS","")),"")
The conditions are as follows:
1.If the value of R1079 or S1079 match exactly to Column H of 'Forms Sum' sheet, return empty cell.
2.If there is a value in R1079 or S1079 that does not match Column H of 'Forms Sum' sheet, return text string ''Incorrect WBS".
3.If there is a value in R1079 or S1079 and the Column H of 'Forms Sum' sheet is empty, return text string "Remove WBS".
4.If there is no value in R1079 or S1079 and there is a value in Column H of 'Forms Sum' sheet, return text string "Needs WBS".
Conditions 1, 2 and 4 and returning the correct responses but Condition 3 is returning "Incorrect WBS" where I want it to return "Remove WBS".
Thank you in advance to anyone who can help me out.
Cheers,
Tracey