Dec 23 2021 08:04 AM
Hi,
I am trying to figure out why this formula is not working as intended.
=IF(A2="Note",(RIGHT(A2,(LEN(A2)-42))),(RIGHT(A2,(LEN(A2)-49))))
If the cell contains the word "Note" then I want it to remove the first 42 characters and if the cell does not contain the word "Note" then I want it to remove the first 49. However the formula is removing the first 49 whether the word Note is there or not.
Dec 23 2021 08:11 AM
SolutionDec 27 2021 06:23 AM
Thanks that did the trick in recognizing both conditions. My final formula is =IF(ISNUMBER(SEARCH("Note",A4)),(RIGHT(A4,(LEN(A4)-42))),IF(ISNUMBER(SEARCH("Deed",A4)), (RIGHT(A4,(LEN(A4)-47)))))
Dec 27 2021 11:02 AM
Dec 23 2021 08:11 AM
Solution