excel
44850 TopicsXlookup with nested IF
Thank you in advance for your help. What I am trying to do is return a value (using Xlookup) but only if another value matches. Maybe I need to use Index/Match, but here's my example: Col A Col B Col C Col D Yes John Smith 1.50 No John Smith 1.25 So, I'm trying to enter an Xlookup that will search for "Smith" in column C and return Col D, but only if Col A is also "Yes". I tried =XLOOKUP("Smith",$C:$C,IF($A3="yes",$D:$D,"-"),"-") but I get a "#Value" error. For real life application, I would be replacing "Smith" with a cell reference and "yes" with another cell reference. But for the example, if A=yes, then return D if Col C=Smith. I just need to figure out in which order xlookup (or index/match) would look for those. Any help is appreciated.5.9KViews0likes6Comments"Clear Filter From" Option is Never Available
Once a column is filtered, the option to remove that filter just from that column is always greyed out in my Excel (Microsoft 365, v2604, Build 19929.20090). I have seen multiple references advising to remove protection, check for hidden columns, or ungroup workbooks. None of these apply, since I have also tested this with a new worksheet containing a single column, with nothing possibly hidden, and with no shared access. Here is a screen shot of what I see: Thanks to anyone who may have some advice on how to re-enable this feature.20Views0likes1CommentSpreadsheet corrupts upon saving it
After reaching out to MS Support regarding this, they suggested I post my issue over here. Starting this week, a spreadsheet that I've been using for years is no longer working. When I launched it yesterday, it opened without issue as it usually would, I was able to make some edits and save. But after opening it up again, it came up with the prompt: "We found a problem with some content. Do you want us to try to recover as much as we can?". After clicking on Yes, comes up with "Excel was able to open the file by repairing or removing the unreadable content. Removed Part: /xl/drawings/drawing1.xml part. (Drawing shape)". At this point, I restored a saved copy from backup (from around five days prior). Once again, file opened and was working fine, but only after saving it would it corrupt upon reopening. To make the issue even more strange, this same behavior is now retroactively occurring if I try to open a template version of this spreadsheet I had saved from 2024, or even as far as 2020. It's almost like an update was pushed which made objects used in this spreadsheet retroactively no longer viable and corrupted. This behavior is not occurring on new spreadsheets I create, nor other ones I tested that are completely different to this specific spreadsheet I'm referencing above; though I haven't tested every single spreadsheet on my system. I've tried repairing MS Office, I've tried saving as different extensions (i.e. from xlsm to xlsx), but no matter what I try, this spreadsheet and any version of it historically saved (and I have years worth of copies) are now all exhibiting this error if I open and save them. Thoughts?36Views0likes1CommentCross Referencing Data in Excel
Hello, I have a spreadsheet that lists document numbers that are stored in a document management system. I have to cross reference the documents in that management system, which means I have to go into each individual document in the management system and add in all the documents where that individual document is referenced. The attached spreadsheet lists all the documents in our system (column B) and each document where they are referenced (columns C-AP). Is there a way to have Excel search columns C-AP, find a specific value, and provide me with a list from column B where that value is found in columns C-AP?716Views0likes9CommentsWhat is this Madness? Weird Average and Sum results
What is this devil math? What am I missing? The darker green value and blue value should match. I checked for truncated decimal values, even rebuilt the sample to ensure nothing was weird about the original cells. This is not an insignificant difference for what I'm doing, and I don't understand why these aren't lining up. I'm sorry if I'm missing something simple, but please, help!76Views0likes2CommentsSpreadsheet Corrupts Upon Saving
Starting this week, a specific spreadsheet I've been using for years is now corrupting when I save it. First it'll prompt "We found a problem with some content. Do you want us to try to recover as much as we can?", and after clicking on Yes it'll come up with "Excel was able to open the file by repairing or removing the unreadable content. Removed Part: /xl/drawings/drawing1.xml part. (Drawing shape)". I restored the spreadsheet from backup (saved and working fine 5 days ago) and I'm able to open... until I save it. Once it's saved, it'll corrupt it with the prompts mentioned above. For a test, I even opened a 2024 and a 2020 template version of this spreadsheet and I get the same issue now. I suspect an update was pushed and now somehow is corrupting some of this spreadsheet's objects. Other spreadsheets seem to be ok, only this one is impacted; though I haven't opened all my spreadsheets to test yet. Thoughts?11Views0likes0CommentsMargin calculator for media budget
Hi, I need help formulating a calculator where the 'Fixed Margin' is separated out from the total budget. My calculation needs to add a buffer to the margin as the platform where this is inserted will reduce the nominal margin when you also include a flat cpm fee as it increases the total amount billed. For example, if margin was 20% of $10,000 then the remaining budget left should be $8,000. However, when you add a rate card on top and deliver x amount of media impressions, the effective margin as a percent of total cost is always going to be less than the nominal margin percentage. Example: Total cost: $10,000 Margin fee: 20% Flat CPM rate: $1.50 Impressions: 2,000,000 then this would lead to this: Media Cost $5,600 Margin Fee $1,400 Flat CPM rate ($1.5) $3,000 Total $10,000 Ideally, I would like to ensure the margin is kept at $2,000 (20%) so need help creating a formula that will raise the margin to a % that keeps your nominal margin rate whilst factoring the flat cpm fee and the impressions served.95Views0likes4CommentsMacros en excel xlsm que están guardados en onedrive
Buenas tardes, tengo un problema con archivos xlsm que están guardados en carpetas compartidas de onedrive, si lo guardo en una carpeta compartida por mí no hay problema me sale un mensaje amarillo que dice: ADVERTENCIA DE SEGURIDAD Las macros se han deshabilitado y en ese mensaje puedo darle a habilitar contenido y funciona la macro sin problema. el problema lo tengo si ese mismo archivo está guardado en una carpeta compartida que ha creado otra persona, en ese caso me aparece un mensaje en rojo que dice: RIESGO DE SEGURIDAD Microsoft ha bloqueado la ejecución de macros porque el origen de este archivo no es de confianza y sólo aparece obtener mas información pero no puedo habilitarlo. a ver si me puede ayudar alguien y poder utilizar las macros con normalidad. he probado a añadir la carpeta a carpetas de confianza (no funciona) también intento en propiedades darle a autorizar (no aparece entonces no puedo hacerlo) también con soporte microsoft he probado a crear un archivo en editor de registro (tampoco ha funcionado) agradezco vuestra ayuda. Muchas gracias Fco javierSolved42Views0likes2Comments