You canāt call H5 from another sheet just using H5. Your sheet already has a H5.
You need to call the sheet you want and then the H5.
=SheetName!H5
You canāt call H5 from another sheet just using H5. Your sheet already has a H5.
You need to call the sheet you want and then the H5.
=SheetName!H5
@Horsebox, the link there probably explains it, but with Excel you can usually click on the cell on the other sheet you want to reference and it will auto-populate the sheet & cell-reference for you, rather than having to type it out.
Yeah I was clicking on H5 on the other sheet. That link isnāt the answer for me. I want to strike through and give a red fill to cells C10 to C20 on sheet 2 if the cell H5 on sheet 1 contains the word No.
Whatās the formula looking like? If you have an IF statement in there remove it, literally try = Sheet1!$H$5="Noā
That worked. Thank you very much, kind sir.
Donāt you have some minion to do things like that for you?
Iām creating something amazing here. I want to be at the coal face.
I have a csv report.
Itās a list of folders along with their sub folders and files.
Iām looking to filter it so I only have the top level folders. Any ideas.
Current Format example
All Files/John/
All Files/John/January
All Files/John/March
All Files/John/March/report34034.xls
All Files/Mary/
All Files/Mary/Accounts
All Files/Mary/Reports
etc etc etc
Iād like to be able to filter that to just
All Files/John/
All Files/Mary/
Add a column and do a TEXT("current column, x number of characters if John and Mary are the same number of characters and filter by that new column. If not use a wildcard for All Files/John* and All Files/Mary* and do the same.
Or apply a text filter using āContainsā
Thereās about 200 different top level folders of varying length file names and formats
There is probably a neater way but you can do a formula to extract all characters before the nth specific character. The specific character in this case the second forward slash. Probably makes more sense in VBA
Ok, thereās a marker I can use, because each top level folder will be followed by /
so hereās my pseudo code:
if no character after 4th / delete row
Somebody do stuff with curly brackets, colons and semi colons to make the above work
I think I have it, stand by
Think you can also delete the characters in the string after the fourth forward slash to get the same output
I really should have put the solution somewhere
Iād say you need to use CHARINDEX (or whatever the Excel version of that is) to break up the string by the ā/ā s
Edit - FIND seems to be the one.
sed -n ās:^(/[^/]{1,}/[^/]{1,}).*:\1:pā
sort -u myfile.csv -o myfile.csv
This was it:
=LEFT(A3,FIND("#",SUBSTITUTE(A3,"/","#",4))-1)
That deletes everything after the 4th instance of /
Then I had to run a delete duplicates to tidy it up.
Why the fourth instance of / - you wanted only the top 2 levels?
That was just an example. Exact requirements differed across reports.