Peter Davison
Active Member
- Joined
- Jun 4, 2020
- Messages
- 451
- Office Version
- 365
- Platform
- Windows
I have the following folder structure in Cell S2 -
I want to be able to put a formula in Cell S3 that returns me "Breakfast Cereals"
I have tried to build the formula from google help (below), but I can't work out what is wrong. I'm also not sure what the CHAR(1) is doing?
This is my formula, which has an error
=MID(S2,FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),4))+1,FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),5)) – FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),4))-1)
Any help or guidance would be great.
Thanks
C:\Cluster Insight\Micro Development\Raw Data\Breakfast Cereals\ImportFile.xlsx |
I have tried to build the formula from google help (below), but I can't work out what is wrong. I'm also not sure what the CHAR(1) is doing?
This is my formula, which has an error
=MID(S2,FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),4))+1,FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),5)) – FIND(CHAR(1),SUBSTITUTE(S2,”\”,CHAR(1),4))-1)
Any help or guidance would be great.
Thanks