Finding changing text in Excel or Google Spreadsheet - excel

hope you can help with an Excel or Google Spreadsheet question.
In one column I have different words, which I would like to search for in a certain area in the spreadshet. Fx. is B3 present from B50:B678 is B4 present from B50:B678 and so on. The text is not an exact match. That means that sometimes the searchwords is placed in the whole sentes. See this data for an excample: https://docs.google.com/spreadsheets/d/1MX8WsnwcxEety-sv2ttEcUqgAgEUbpUd_xD18cG20lk/edit#gid=574850130
Hope you can help. With no succes I have tried these formulas:
=ifError(filter($B$775:$B$7887,ifError(search(B4,$B$775:$B$7887),false)))
=IFERROR(IF(UNIQUE(FILTER(B776:B7888,B776:B7888=B3))="text","Found","Not Found"),"Not Found")
=search(B3,J3:J98)
But the formulas don´t work if there is no excact match...Hope you can help
Best regards
Kåre Kildall Rysgaard
Datajournalist, Analystik.dk

In Google Spreadsheet count the number of occurrences of your search string within the test range by embedding the test string within wildcard characters:
=if(countif(A$15:A$2100,ʺ*ʺ&A4&ʺ*ʺ)>0,ʺFoundʺ,ʺNot Foundʺ)
The answer in Excel is similar but note that double quotes in Excel use a different character to that in Google Spreadsheet:
=IF(COUNTIF(A$15:A$2100,"*"&A4&"*")>0,"Found","Not Found")
It appears that Google Spreadsheet uses ANSI 63 for double quotes while Excel uses ANSI 34.

Related

Using a split formula in Excel with inconsistent data, as we do in Google sheets

We want to migrate some spreadsheets from Google sheets to Excel. We figured out how to manage all the needed formulas, except one: SPLIT.
Here is a public view link to a sample file, which shows you how we currently do this in Google sheets:
https://docs.google.com/spreadsheets/d/1D1ceuF28CqMtr0tEPdAQNLSvvuFMFAQE54fopS2wvAo/edit?usp=sharing
Column B contains, for each record, a list of the record's favorite charitable causes, such as Animal welfare, Cancer, Digital divide, Environment, Human Rights, Hunger, Medical research, etc. A cell in that column might contain no content, one cause, or as many as 16 causes, each on a separate line within that cell. The Google delimiter for those line breaks within a cell is "char(10)." (I do not know if Excel uses the same for a line break).
In Google sheets, our formula in column C is
=if(len(B2)=0,"",split(B2,char(10))). The first part just makes sure that we do not get a #VALUE error if the cell is empty.
We are familiar with the 'Text to Columns' menu options, but we need a formula in column C such that everything gets updated automatically whenever the content of column B is changed; we cannot do it manually each time.
Please note that the number of entries in column B is inconsistent, as is the length of each element.
How can we do this?
Excel
=TRIM(MID(SUBSTITUTE($B2,UNICHAR(10),REPT(" ",LEN($B2))),(C$1-1)*LEN($B2)+1,LEN($B2)))
B2 is the cell with your array.
UNICHAR(10) is newline.
C1 is the index.
The formula splits up the array by newline character, just like in your google sheet which uses CHAR(10). Then, it uses C1, to identify which item in the array.
In Office 365 =TEXTSPLIT(B2,CHAR(10))

Excel: compare two cells containing strings and return TRUE if multiple words match

I am trying to compare two cells containing strings. I can't use VBA for restrictive reasons on my computer so it's just formulas for me. This is what I have:
One cell is there to enter lots of text to explain a problem statement. Another cell is nearby containing a handful of keywords - may or may not be separated by commas (depending on what works!). So an example...
The product keyword cell might have: Camera, torch, messenger, internet
In the problem description cell I might write: "I am after a phone that can take good pictures with a 50mp camera and I can use the internet to look at the news"
The solution I'm after...In another cell I want to return the value of TRUE, if even one or more than one word matches - I don't need to know how many matches there were, just if there was a match somewhere and return TRUE.
You're asking essentially for an OR condition. From there just a couple lookup functions. Find will search case sensative, while Search will not.
Depending on your version of excel, you could use this for a dynamic solution with B2 being your sentance and B3 being your list of words separated by a comma (make sure spaces arent an issue).
=OR(ISNUMBER(SEARCH(TEXTSPLIT(B3,","),B2)))
Or a more hard-coded solution for older versions... of excel that just puts the words in the formula
=OR(ISNUMBER(SEARCH("Camera",B2)),ISNUMBER(SEARCH("torch",B2)),
ISNUMBER(SEARCH("messenger",B2)),ISNUMBER(SEARCH("internet",B2)))

Search and handle multiple matches in Excel document

I would like to search for a string with multiple matches in my Excel document, basically its a summary of inventory transactions, so in my case I'm looking for string "Summa" (EN: sum) in cells E2:E3000, there are one sum for each article, so it will be about 500 matches. For every match I would like to paste a formula and a conditional format into the cell next to the sum. Is there someone who can help me with this? Thanks in advance.
Use the Search & Replace feature from excel (open it via ctrl+f). Here you have to press on "options"; with this you can search for strings inside formulas.
For example search for =sum and replace with =sum'#yourString'.
You can also add conditional format to all replaced values. For this and the other above mentioned steps see the yellow highlights on the picture below.
Find & Replace Example

Locate number string in Excel array?

I have an array of numbers in Excel beginning in B2 as follows:
CA.CAD.CP.0.0.0.0.1.CY
CA.CAD.CP.0.0.0.0.2.CY
CA.CAD.CP.0.0.0.1.0.CY
CA.CAD.CP.0.0.0.2.0.CY
CA.CAD.CP.0.0.3.0.0.CY
CA.CAD.CP.0.0.0.6.0.CY
CA.CAD.OIS.0.0.0.1.0.CY
CA.CAD.OIS.0.0.0.2.0.CY
CA.CAD.OIS.0.0.0.3.0.CY
CA.CAD.OIS.0.0.6.0.0.CY
CA.CAD.OIS.0.0.0.9.0.CY
CA.CAD.OIS.1.0.0.0.0.CY
CA.CAD.ONT.0.0.0.1.0.CY
CA.CAD.ONT.0.0.0.2.0.CY
CA.CAD.ONT.0.0.0.3.0.CY
CA.CAD.ONT.0.0.6.0.0.CY
CA.CAD.ONT.1.0.0.0.0.CY
for several thousand rows. All of them follow this exact format. The numbers represent a date format; D.W.F.M.Y. So 0.0.0.5.0 means 5 months, for example.
I want to find all instances where the date value is "F", meaning all instances of "xx.xxx.xxx.0.0.x.0.0".
What is the best way to do this? I have tried using the FIND function but I think there might be a better way to search for this string.
This will return True/False based on whether the middle, or "F" position is anything but 0 or not:
=--MID(SUBSTITUTE(B2,".",REPT(" ",99)),5*99,99)<>0
With data starting in A2, in B2 enter:
=TRIM(MID(SUBSTITUTE($A2,".",REPT(" ",999)),COLUMNS($A:A)*999-998,999))
and copy across and then down:
Then set an AutoFilter on column G to display non-zero values.
Have you thought to use Word's Find feature? I understand it's in excel - but copy and paste data into Word - it's Find capabilities allow you to search for variables even formatting and special characters including tabs, and punctuation - you can use the Find/Replace feature to have it perform some special maneuvers to mark your text before simply copy/paste special back into excel when finished with Word's special unique features - it's find/replace capabilities are stronger than any other Office program

In Microsoft Excel how are single quotes applied to the sheet name in a formula?

Whilst working with Microsoft Excel, I created a very big formula which has many symbols, and its total string length is about 8047 in Excel 2007. When I researched I saw that the maximum number of characters allowed for a formula is 8129.
I extracted the Excel file and I could see that the Microsoft Excel is applying single quotes ('') before the sheet name, and it varies: for some sheet names there are single quotes but for others, there are no quotes.
Can anyone explain why this is?
I have given below the formula that was represented in the Excel spreadsheet.
SUM(╟!$C$34+╟!$G$26:$K$29+╚!$B$40+╚!$G$33:$K$38+╔!$D$38+╔!$F$35:$I$37+╩!$C$39+╩!$D$36:$F$40+╦!$E$36+╦!$D$37:$F$39+╠!$E$38+╠!$K$24:$M$35+═!$E$40+═!$H$35:$J$39+╬!$I$33+╬!$L$23:$N$33+╧!$F$40+╧!$K$25:$L$35+╨!$G$39+╨!$L$23:$M$34+╤!$G$40+╤!$K$27:$M$38+╥!$G$39+╥!$J$31:$L$37+╙!$H$39+╙!$J$28:$L$39+╘!$H$39+╘!$J$28:$M$34+╒!$I$38+╒!$K$27:$M$38+╓!$H$40+╓!$J$24:$M$34+╫!$H$36+╫!$J$25:$L$38+╪!$I$35+╪!$K$24:$L$34+┘!$I$38+┘!$L$23:$M$34+┌!$I$37+┌!$K$24:$M$34+█!$I$39+█!$K$23:$M$35+▄!$J$38+▄!$K$27:$M$35+▌!$J$38+▌!$L$24:$N$34+'▐'!$J$41+'▐'!$J$30:$L$37+'▀'!$J$37+'▀'!$K$27:$M$38+ї!$G$39+ї!$K$28:$M$34+Ў!$G$41+Ў!$I$33:$J$39+°!$H$39+°!$K$27:$L$35+'∙'!$J$37+'∙'!$J$32:$K$37+·!$H$40+·!$I$29:$K$35+√!$I$39+√!$J$31:$K$38+¤!$I$38+¤!$I$31:$J$36+■!$I$39+■!$J$29:$K$36+' '!$J$34+' '!$J$26:$K$35,Cells!$A$1+Cells!$J$12:$L$15+'Merged Cells'!$A$1:$G$9+'Merged Cells'!$K$24+Styles!$A$1+Styles!$M$10:$M$21+'Row Column'!$A$1+'Row Column'!$L$7:$N$25+'#'!$A$2+'#'!$L$19:$M$31+'!'!$C$2+'!'!$M$10:$M$26+'~'!$H$37+'~'!$M$16:$P$30+'#'!$G$37+'#'!$L$17:$N$33+'$'!$F$35+'$'!$L$17:$M$30+'%'!$G$35+'%'!$L$16:$N$31+'^'!$G$37+'^'!$K$19:$N$32+'&'!$H$38+'&'!$L$17:$N$33+'()'!$H$37+'()'!$L$20:$N$36+'-'!$H$38+'-'!$L$18:$O$34+_!$G$37+_!$L$25:$N$34+'='!$H$36+'='!$K$29:$N$36+'+'!$I$34+'+'!$K$27:$M$35+'|'!$H$35+'|'!$I$32:$L$36+'{}'!$H$36+'{}'!$I$35:$L$38+'`'!$H$37+'`'!$J$33:$M$39+№!$I$36+№!$J$35:$M$39+';'!$G$38+';'!$H$37:$I$39+ё!$G$41+ё!$G$40:$L$44+'"'!$C$30+'"'!$C$30:$D$35+','!$G$39+','!$G$38:$J$39+'.'!$G$37+'.'!$H$35:$H$38+'<>'!$I$35+'<>'!$I$35:$K$36+'1'!$H$37+'1'!$H$36:$J$39+▲!$I$37+▲!$K$30:$L$39+'☺'!$H$36+'☺'!$I$34:$K$37+'☻'!$J$38+'☻'!$L$28:$M$34+♥!$I$37+♥!$K$27:$M$36+'♦'!$I$36+'♦'!$K$30:$M$35+♣!$I$37+♣!$K$34:$L$39+♠!$J$31+♠!$L$31:$N$39+'•'!$H$34+'•'!$I$30:$L$37+'◘'!$K$32+'◘'!$M$19:$O$29+○!$J$35+○!$K$29:$M$35+'◙'!$I$36+'◙'!$L$27:$N$34+♂!$K$32+♂!$M$26:$N$34+♪!$I$35+♪!$M$25:$O$35+♀!$K$34+♀!$L$28:$N$36+'♫'!$I$34+'♫'!$L$30:$M$36+'☼'!$J$37+'☼'!$K$29:$L$36+'►'!$J$39+'►'!$K$33:$M$38+'◄'!$J$38+'◄'!$L$27:$N$35+↕!$L$32+↕!$L$30:$N$36+'‼'!$J$38+'‼'!$K$31:$M$38+¶!$J$33+¶!$L$25:$N$33+§!$K$33+§!$L$25:$N$33+'▬'!$J$39+'▬'!$K$33:$M$38+'↨'!$J$34+'↨'!$L$29:$N$38+↑!$K$35+↑!$M$28:$N$36+↓!$K$37+↓!$L$25:$N$32+→!$L$32+→!$M$16:$P$28+←!$J$39+←!$K$30:$N$38+∟!$J$36+∟!$L$30:$M$36+∟!$J$39+∟!$L$29:$N$37+↔!$I$35+↔!$L$25:$N$30+▼!$J$31+▼!$L$27:$M$34+' '!$K$34+' '!$M$23:$O$33+'0'!$L$33+'0'!$L$31:$O$35+'░'!$J$36+'░'!$M$29:$N$38+▒!$J$39+▒!$K$30:$N$35+▓!$J$35+▓!$K$28:$N$35+│!$K$35+│!$M$29:$O$37+┤!$J$38+┤!$L$31:$N$37+╡!$J$38+╡!$L$31:$M$37+╢!$J$40+╢!$K$34:$M$37+╖!$J$38+╖!$K$33:$L$36+╕!$J$38+╕!$L$32:$M$38+╣!$J$38+╣!$K$24:$N$33+║!$J$38+║!$M$25:$O$36+╗!$J$39+╗!$L$27:$N$37+╝!$J$39+╝!$L$27:$N$38+╜!$J$38+╜!$M$30:$N$38+╛!$J$39+╛!$L$26:$O$37,╟!$C$34+╟!$G$26:$K$29+╚!$B$40+╚!$G$33:$K$38+╔!$D$38+╔!$F$35:$I$37+╩!$C$39+╩!$D$36:$F$40+╦!$E$36+╦!$D$37:$F$39+╠!$E$38+╠!$K$24:$M$35+═!$E$40+═!$H$35:$J$39+╬!$I$33+╬!$L$23:$N$33+╧!$F$40+╧!$K$25:$L$35+╨!$G$39+╨!$L$23:$M$34+╤!$G$40+╤!$K$27:$M$38+╥!$G$39+╥!$J$31:$L$37+╙!$H$39+╙!$J$28:$L$39+╘!$H$39+╘!$J$28:$M$34+╒!$I$38+╒!$K$27:$M$38+╓!$H$40+╓!$J$24:$M$34+╫!$H$36+╫!$J$25:$L$38+╪!$I$35+╪!$K$24:$L$34+┘!$I$38+┘!$L$23:$M$34+┌!$I$37+┌!$K$24:$M$34+█!$I$39+█!$K$23:$M$35+▄!$J$38+▄!$K$27:$M$35+▌!$J$38+▌!$L$24:$N$34+'▐'!$J$41+'▐'!$J$30:$L$37+'▀'!$J$37+'▀'!$K$27:$M$38+ї!$G$39+ї!$K$28:$M$34+Ў!$G$41+Ў!$I$33:$J$39+°!$H$39+°!$K$27:$L$35+'∙'!$J$37+'∙'!$J$32:$K$37+·!$H$40+·!$I$29:$K$35+√!$I$39+√!$J$31:$K$38+¤!$I$38+¤!$I$31:$J$36+■!$I$39+■!$J$29:$K$36+' '!$J$34+' '!$J$26:$K$35,Cells!$A$1+Cells!$J$12:$L$15+'Merged Cells'!$A$1:$G$9+'Merged Cells'!$K$24+Styles!$A$1+Styles!$M$10:$M$21+'Row Column'!$A$1+'Row Column'!$L$7:$N$25+'#'!$A$2+'#'!$L$19:$M$31+'!'!$C$2+'!'!$M$10:$M$26+'~'!$H$37+'~'!$M$16:$P$30+'#'!$G$37+'#'!$L$17:$N$33+'$'!$F$35+'$'!$L$17:$M$30+'%'!$G$35+'%'!$L$16:$N$31+'^'!$G$37+'^'!$K$19:$N$32+'&'!$H$38+'&'!$L$17:$N$33+'()'!$H$37+'()'!$L$20:$N$36+'-'!$H$38+'-'!$L$18:$O$34+_!$G$37+_!$L$25:$N$34+'='!$H$36+'='!$K$29:$N$36+'+'!$I$34+'+'!$K$27:$M$35+'|'!$H$35+'|'!$I$32:$L$36+'{}'!$H$36+'{}'!$I$35:$L$38+'`'!$H$37+'`'!$J$33:$M$39+№!$I$36+№!$J$35:$M$39+';'!$G$38+';'!$H$37:$I$39+ё!$G$41+ё!$G$40:$L$44+'"'!$C$30+'"'!$C$30:$D$35+','!$G$39+','!$G$38:$J$39+'.'!$G$37+'.'!$H$35:$H$38+'<>'!$I$35+'<>'!$I$35:$K$36+'1'!$H$37+'1'!$H$36:$J$39+▲!$I$37+▲!$K$30:$L$39+'☺'!$H$36+'☺'!$I$34:$K$37+'☻'!$J$38+'☻'!$L$28:$M$34+♥!$I$37+♥!$K$27:$M$36+'♦'!$I$36+'♦'!$K$30:$M$35+♣!$I$37+♣!$K$34:$L$39+♠!$J$31+♠!$L$31:$N$39+'•'!$H$34+'•'!$I$30:$L$37+'◘'!$K$32+'◘'!$M$19:$O$29+○!$J$35+○!$K$29:$M$35+'◙'!$I$36+'◙'!$L$27:$N$34+♂!$K$32+♂!$M$26:$N$34+♪!$I$35+♪!$M$25:$O$35+♀!$K$34+♀!$L$28:$N$36+'♫'!$I$34+'♫'!$L$30:$M$36+'☼'!$J$37+'☼'!$K$29:$L$36+'►'!$J$39+'►'!$K$33:$M$38+'◄'!$J$38+'◄'!$L$27:$N$35+↕!$L$32+↕!$L$30:$N$36+'‼'!$J$38+'‼'!$K$31:$M$38+¶!$J$33+¶!$L$25:$N$33+§!$K$33+§!$L$25:$N$33+'▬'!$J$39+'▬'!$K$33:$M$38+'↨'!$J$34+'↨'!$L$29:$N$38+↑!$K$35+↑!$M$28:$N$36+↓!$K$37+↓!$L$25:$N$32+→!$L$32+→!$M$16:$P$28+←!$J$39+←!$K$30:$N$38+∟!$J$36+∟!$L$30:$M$36+∟!$J$39+∟!$L$29:$N$37+↔!$I$35+↔!$L$25:$N$30+▼!$J$31+▼!$L$27:$M$34+' '!$K$34+' '!$M$23:$O$33+'0'!$L$33+'0'!$L$31:$O$35+'░'!$J$36+'░'!$M$29:$N$38+▒!$J$39+▒!$K$30:$N$35+▓!$J$35+▓!$K$28:$N$35+│!$K$35+│!$M$29:$O$37+┤!$J$38+┤!$L$31:$N$37+╡!$J$38+╡!$L$31:$M$37+╢!$J$40+╢!$K$34:$M$37+╖!$J$38+╖!$K$33:$L$36+╕!$J$38+╕!$L$32:$M$38+╣!$J$38+╣!$K$24:$N$33+║!$J$38+║!$M$25:$O$36+╗!$J$39+╗!$L$27:$N$37+╝!$J$39+╝!$L$27:$N$38+╜!$J$38+╜!$M$30:$N$38+╛!$J$39+╛!$L$26:$O$37,╟!$C$34+╟!$G$26:$K$29+╚!$B$40+╚!$G$33:$K$38+╔!$D$38+╔!$F$35:$I$37+╩!$C$39+╩!$D$36:$F$40+╦!$E$36+╦!$D$37:$F$39+╠!$E$38+╠!$K$24:$M$35+═!$E$40+═!$H$35:$J$39+╬!$I$33+╬!$L$23:$N$33+╧!$F$40+╧!$K$25:$L$35+╨!$G$39+╨!$L$23:$M$34+╤!$G$40+╤!$K$27:$M$38+╥!$G$39+╥!$J$31:$L$37+╙!$H$39+╙!$J$28:$L$39+╘!$H$39+╘!$J$28:$M$34+╒!$I$38+╒!$K$27:$M$38+╓!$H$40+╓!$J$24:$M$34+╫!$H$36+╫!$J$25:$L$38+╪!$I$35+╪!$K$24:$L$34+┘!$I$38+┘!$L$23:$M$34+┌!$I$37+┌!$K$24:$M$34+█!$I$39+█!$K$23:$M$35+▄!$J$38+▄!$K$27:$M$35+▌!$J$38+▌!$L$24:$N$34+'▐'!$J$41+'▐'!$J$30:$L$37+'▀'!$J$37+'▀'!$K$27:$M$38+ї!$G$39+ї!$K$28:$M$34+Ў!$G$41+Ў!$I$33:$J$39+°!$H$39+°!$K$27:$L$35+'∙'!$J$37+'∙'!$J$32:$K$37+·!$H$40+·!$I$29:$K$35+√!$I$39+√!$J$31:$K$38+¤!$I$38+¤!$I$31:$J$36+■!$I$39+■!$J$29:$K$36+' '!$J$34+' '!$J$26:$K$35,Cells!$A$1+Cells!$J$12:$L$15+'Merged Cells'!$A$1:$G$9+'Merged Cells'!$K$24+Styles!$A$1+Styles!$M$10:$M$21+'Row Column'!$A$1+'Row Column'!$L$7:$N$25+'#'!$A$2+'#'!$L$19:$M$31+'!'!$C$2+'!'!$M$10:$M$26+'~'!$H$37+'~'!$M$16:$P$30+'#'!$G$37+'#'!$L$17:$N$33+'$'!$F$35+'$'!$L$17:$M$30+'%'!$G$35+'%'!$L$16:$N$31+'^'!$G$37+'^'!$K$19:$N$32+'&'!$H$38+'&'!$L$17:$N$33+'()'!$H$37+'()'!$L$20:$N$36+'-'!$H$38+'-'!$L$18:$O$34+_!$G$37+_!$L$25:$N$34+'='!$H$36+'='!$K$29:$N$36+'+'!$I$34+'+'!$K$27:$M$35+'|'!$H$35+'|'!$I$32:$L$36+'{}'!$H$36+'{}'!$I$35:$L$38+'`'!$H$37+'`'!$J$33:$M$39+№!$I$36+№!$J$35:$M$39+';'!$G$38+';'!$H$37:$I$39+ё!$G$41+ё!$G$40:$L$44+'"'!$C$30+'"'!$C$30:$D$35+','!$G$39+','!$G$38:$J$39+'.'!$G$37+'.'!$H$35:$H$38+'<>'!$I$35+'<>'!$I$35:$K$36+'1'!$H$37+'1'!$H$36:$J$39+▲!$I$37+▲!$K$30:$L$39+'☺'!$H$36+'☺'!$I$34:$K$37+'☻'!$J$38+'☻'!$L$28:$M$34+♥!$I$37+♥!$K$27:$M$36+'♦'!$I$36+'♦'!$K$30:$M$35+♣!$I$37+♣!$K$34:$L$39+♠!$J$31+♠!$L$31:$N$39+'•'!$H$34+'•'!$I$30:$L$37+'◘'!$K$32+'◘'!$M$19:$O$29+○!$J$35+○!$K$29:$M$35+'◙'!$I$36+'◙'!$L$27:$N$34+♂!$K$32+♂!$M$26:$N$34+♪!$I$35+♪!$M$25:$O$35+♀!$K$34+♀!$L$28:$N$36+'♫'!$I$34+'♫'!$L$30:$M$36+'☼'!$J$37+'☼'!$K$29:$L$36+'►'!$J$39+'►'!$K$33:$M$38+'◄'!$J$38+'◄'!$L$27:$N$35+↕!$L$32+↕!$L$30:$N$36+'‼'!$J$38+'‼'!$K$31:$M$38+¶!$J$33+¶!$L$25:$N$33+§!$K$33+§!$L$25:$N$33+'▬'!$J$39+'▬'!$K$33:$M$38+'↨'!$J$34+'↨'!$L$29:$N$38+↑!$K$35+↑!$M$28:$N$36+↓!$K$37+↓!$L$25:$N$32+→!$L$32+→!$M$16:$P$28+←!$J$39+←!$K$30:$N$38+∟!$J$36+∟!$L$30:$M$36+∟!$J$39+∟!$L$29:$N$37+↔!$I$35+↔!$L$25:$N$30+▼!$J$31+▼!$L$27:$M$34+' '!$K$34+' '!$M$23:$O$33+'0'!$L$33+'0'!$L$31:$O$35+'░'!$J$36+'░'!$M$29:$N$38+▒!$J$39+▒!$K$30:$N$35+▓!$J$35+▓!$K$28:$N$35+│!$K$35+│!$M$29:$O$37+┤!$J$38+┤!$L$31:$N$37+╡!$J$38+╡!$L$31:$M$37+╢!$J$40+╢!$K$34:$M$37+╖!$J$38+╖!$K$33:$L$36+╕!$J$38+╕!$L$32:$M$38+╣!$J$38+╣!$K$24:$N$33+║!$J$38+║!$M$25:$O$36+╗!$J$39+╗!$L$27:$N$37+╝!$J$39+╝!$L$27:$N$38+╜!$J$38+╜!$M$30:$N$38+╛!$J$39+╛!$L$26:$O$37)/╫!K6
I think the formula limit applies to the R1C1 version of the formula, which is usually longer than the A1 version you are showing, so you are probably over the limit anyway.
Sheet names are surrounded by single quotes when they contain a space (and possibly other strange characters).
But anyway my advice would be to break this monster formula up into a large number of smaller ones in separate cells. Megaformulae like this are very hard to understand, test and debug.
Charles
As Charles Williams suggests it is the space in the Sheet name.
If you explained what you are trying to do in this formula, it most likely could be simplified.

Resources