I am trying to write a excel forumla that takes the following:
http://www.saga.co.uk/money/taxandbenefits/carersallowance.asp
http://www.saga.co.uk/money/taxandbenefits/index.asp
and from these 2 examples would output:
carersallowance
index
Anyone know how this could be done ? Help would be most appreciated.
If you example was in A1 try
=SUBSTITUTE(REPLACE(A1,1,LOOKUP(2^15,FIND("/",A1,ROW(INDIRECT("1:"&LEN(A1))))),""),".asp","")
Another way;
=RIGHT(A1,LEN(A1)-FIND("::",SUBSTITUTE(A1,"/","::",LEN(A1)-LEN(SUBSTITUTE(A1,"/","")))))
Related
I have mentioned in the image what i need. Please help me.
Thanks.
Got it . Thanks
Got the solution using UNIQUE() function and then use SUMIF(). Closed.
From a formula I got a result {9,16;4,4;1,1}(this is after selecting and pressing F9). Now I need to get the sum but in the following form {25;8;2}. Using sum gives just one number 35. Can this be done and if yes then how?
I know this can be done using VBA, but I need to implement in base excel.
Any help is useful, and thanks in advance.
Would this work:
=MMULT(<YourArray>,{1;1}))
I'm using following formula to extract the records from the database in excel.
{=IFERROR(INDEX(A$2:A$11,SMALL(IF($A$2:$A$11=$C$1,ROW($A$2:$A$11)-ROW($A$2)+1),ROWS(E$2:E2))),"")}
I got this formula idea from the following YouTube tutorial,
https://www.youtube.com/watch?v=6jcqN3swdW8
Now my question is I want to understand the part of the Formula.
here is that,
"IF($A$2:$A$11=$C$1"
How did the above part work with excel formula? I have tried to use this part individually to return the boolean value from the table but it gives the wrong result every time.
anyone can clear my concept?
this is turned out to be a very easy concept. Thank you to #TomJohnRiddle for his comment.
I have started learning Advance Excel from VBA. I used to apply VBA literally for every little data processing. Maybe that's why I have never interacted with Excel's Array Formulas. but it's all cleared now
here is the link as Tom has suggested.
https://support.office.com/en-us/article/guidelines-and-examples-of-array-formulas-7d94a64e-3ff3-4686-9372-ecfd5caa57c7
Thank you.
I am trying to apply following command:
=IF(ISNUMBER(MATCH(A2,$D$2:$D$564880,0)),A2,"Z"&A2)
but, Excel said that is something wrong and marked A2,$D$2 part.
What is wrong?
Thnx in advance.
By popular demand ;)
Your formula should be:
=IF(ISNUMBER(MATCH(A2;$D$2:$D$564880;0));A2;"Z"&A2)
I need to extract data from excel cell. The data is locked between two brackets.
For example: if I have DYT[[AU7]]YHU in a cell, I need to extract AU7.
Edit:
I'm having this formula: MID(A2,FIND("[",A2)+1,FIND("]",A2)-FIND("[",A2)-1)
but I'm getting [AU7 instead AU7
Can someone told me where's my mistake?
Thank you in advance
Ok.. I found an answer:
MID(A2,FIND("[",A2)+2,FIND("]",A2)-FIND("[",A2)-2)
Thanks for those who tried to help!