So I was trying out the =CONCATENATE() fn in Excel 2013, because apparently it doesn't yet support the =CONCAT() fn yet. When I put a "," between the 2 cells, it ran just fine. But when I tried to input it as a range (=CONCATENATE(A1:B1)), it gave the #VALUE error. Any ideas as to how I can tackle this issue?
You could always use the following:
=A1&","&B1
TEXTJOIN would also be helpful, but unfortuantely not available in 2013.
Related
As i failed to convert my excel formula to a vba compatible one, i decided to simply insert the value as follows:
Range("AB3").Formula = "=MID($AA3;FIND(CHAR(134);SUBSTITUTE($AA3;AB$2;CHAR(134);1))+22;FIND(CHAR(134);SUBSTITUTE($AA3;AC$2;CHAR(134);1))-FIND(CHAR(134);SUBSTITUTE($AA3;AB$2;CHAR(134);1))-25)"
Unfortunately it gives me a run-time error 1004, which is weird since if i try remove the first "=" and then adding it manually, the formula works in excel...
Would any of you know what the issue is ?
Thanks in advance
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 am just trying to merge two Excels using VLOOKUP function as it is explained on Microsoft Office documentation.
Using Microsoft Excel 2019, after typing = I can't see the function, and even I introduce the formula manually, I get an error that is not ok. I am just using:
=VLOOKUP(A2,list,5,FALSE)
Where the variable list is just the selection on the second sheet where it has to find for the data. Already checked this solution with no result. Any advice?
After hours of testing, I found out that UBound behaves differently in Excel 2013 and Excel 2010 when the array is empty: in Excel 2010, Ubound(EmptyArray) results in 0, whereas in Excel 2013 I get a "Subscript out of Range" Error (which actually is what I would expect).
Can anyone confirm this change in behaviour?
Thank you,
Best regards,
Alexander
I can confirm that UBound raises the runtime error 9 "Subscript out of Range" on an empty array in all Excel versions from 95 to 2016.
If it doesn't for you, it's either not the UBound function you're calling (is it blue in the source code?) or the array is not empty.
There is a slim chance that an Office VBA bug was introduced at some point in v2010 and was promptly fixed, but I am not aware of it.
Ok, I am so sorry.... I should have made a break before I posted the question... I found out that the array was not empty. It's not an excuse that this was well hidden, still I wanted to mention...
Sorry again!
Here is my excel formula:
=IF(ISNA,"0",(VLOOKUP(A2,Account_TS!A1:D312,4,FALSE)))
Note: I looked up the issue and it suggests that I have a keyword wrong, but I don't see what that might be.
ISNA is actually a function, so you need to pass it a value in order for it to work.
=IF(ISNA(A1), "Error", "No Error")
My guess is that you were trying to say the following:
=IF(ISNA(VLOOKUP(A2,Account_TS!A1:D312,4,FALSE)),"0",(VLOOKUP(A2,Account_TS!A1:D312,4,FALSE)))
And, if you're using Excel 2007 onwards, you can wirte it as follows:
=IFERROR(VLOOKUP(A2,Account_TS!A1:D312,4,FALSE),"0")
Hope this helps