I'm trying to use structured references with Excel tables https://support.microsoft.com/en-us/office/using-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e.
If I copy-paste the formula like =DeptSales[[Sales Person]:[Region]] in a cell, Excel returns an "There's a problem with this formula..." error.
One solution is to choose the Sales Person that the intellisense proposes:
I don't understand why hard-coded Sales Person is not accepted. Could anyone help?
PS: the version of my Excel for Windows:
Why dont you type = in the cell where you are putting the formula, then select the target cells with your mouse? Then it should work correctly.
I dont see the calculations that you want to do? Is it count or sum or something?
Please see my example below. It works fine.
Related
I've exported an excel file that have some column whit date in it.
when I want to work whit that column's cells(for example different between two date) excel shows me an error. but when I double click on a cell, it work properly.
you can see below that first two cells have correct value after I double clicked on them. But next three cells still don't work properly.
I will be thankful if anyone helps me.
Cells example
Based on Harun24HR's comment, you could think of a macro to deal with the situation (if the situation repeats itself over and over -> would something like this be working?
Worksheets("Sheet1").Activate Application.DoubleClick)
or manually add a neighbour column with formula in the cell such as =DATEVALUE(ThatNeighbourCell)
Also the formatting style of the cell might be relevant.
macro is such as this:
Sub doubleClickIt()
Worksheets("Sheet1").Select 'adapt name
Range("A1:A400").Activate
Application.doubleClick
End Sub
But I'm not sure it will do the trick, double clicking as a user seems to trigger different results than double clicking from the macro..
Please have a look at this question which seems very relevant to your issue, if you intend to go for a macro.
I have tried to find this scenario somewhere but haven't been able to find any useful resources.
Essentially, I have performed some work in Excel and upon returning to the file the row sizes were so large the file could not used properly, and the cells were blank. The row sizes was an easy fix, however the blank cells are strange because they still contain text/formulae.
Has anyone seen this issue before, and know how to fix it?
Thanks!!!!
In this image, you can see that the selected sell contains some text
Here, if I double click to edit the cell contents, there seems to be some kind of disconnect between the location of the cell, and where Excel is allowing me to edit the text
I think you should start working with "formulatext()" Excel function: if you have a formula, this returns a full string
I've seen issues like this in the past and have always first tried the "Text to Columns" Data Tool on the Data Menu. I have used this when cells are unexpectedly blank, or when my dates are registering as dates or formulas are registering as formulas. It might help.
Excel 2016
I can't use IF statements when using Excel. If I try, no matter how simple the statement, I get "There is something wrong with this formula". I can set values from other cells, I can do SUM etc but not an IF.
These work
=1+2 (shows FALSE)
=SUM(A1:A6)
This doesn't work
=IF(1+2,3,4) (get error)
I don't have this problem at all when using Excel 2007 (yes it's old) and it shows the value of 4 in the cell no problem. I tried four different data types in the cell (general, number, text and custom) with no luck. I performed a quick repair and an online repair which seemed to download the entire office application and reinstall it also with no luck. If anyone has a clue I'd be most grateful. Thank you!
I have a sheet that concatenates various cell values (from general, text, currency and cell formats) and hard-coded strings to create an email with the mailto, subject and body pre-filled based on cell values. I have had this working but something has now broken but I still don't think there is very much wrong with what I have done.
The error I was getting was #value (error related to data being of the wrong type) but now after some edit that I must have done it now throws #name instead. The data is pulled from a row in a table that has been created from Power Query but I have pasted the code here as A1C1 references so that someone could more easily replicate it on their own version. I will plod away trying to see what I have done to break the formula. I have focused mostly on where quotation marks are but will try solving it in a blank sheet also. It may be that the cell formats are the issue but have been trying to solve this for hours!
Any help greatly appreciated!!
My formula is:
=IF(ISBLANK(U5),"",HYPERLINK("mailto:"&AB5&"?Subject=Approval requested for project file "&LEFT(R5,LEN(R5)-5)&" - "&C5 "&body="Hi " &LEFT(H5,(FIND(" ",H5,1)-1))&", %0d%0a%0d%0aApproval of €"&U5& " for "&LEFT(R5,LEN(R5)-5)&" - "&C5&" has been granted.%0d%0a%0d%0a PO#" &T5& "%0d%0a%0d%0a Kind regards,%0d%0aSiobhán"))
Peter
P.S. I have run this though the 'evaluate formula' wizard and the result just before it fails is below:
Hyperlink formula just before fail
I am having issues with extracting pivot table from another worksheet. I believe my syntax is wrong, but after trying several different renditions, nothing is correct.
here is what I have
=Getpivotdata('Other WorkSheet'!$A$1 "Count of SOMETHING", $A$1)
I think my issue is with the absolute cell reference in the direction to the other sheet. However my search for answers has turned up nothing.
What's wrong exactly? You don't need to type in the function, simply click the cell you want and Excel will create the function for you.
I ended up going back to the drawing board as I felt that I wasn't entering the formula in correctly. I should've posted this yesterday but I got tied down into something. The problem was how I was directing the formula to find the pivot table in question. The reference to the other worksheet should have been in the part of the formula that tells excel where the pivot table is. Here is the correct syntax:
=getpivotdata("Count of SOMETHING", 'Other Worksheet'!$A$1)
Basically I had it backwards.