I have a work dilemma. I have some cells, too many to manual work, that have some combination of the below:
"grievance 01-11 filed 09/19/02"
I am hoping to get only the "01-11" or whatever combination of xx-xx from the cell. I have used =LEFT(R102,FIND("-",R102)-1), but it gives me everything before/after the dash.
Thank y'all for any assistance!
Use SEARCH:
=MID(R102,SEARCH("??-??",R102),5)
Related
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.
Good afternoon,
I am trying to use a VLOOKUP formula across different sheets, but so
far I am unsucessful.
The formula I am using is the one below:
VLOOKUP(R9;INDIRECT("'"&INDEX(ListaFolhas;MATCH(1;--(COUNTIF(INDIRECT("'"&ListaFolhas&"'!$C$4:$D$4");R9)>0);0))&"'!$C$4:$D$4");2;FALSE)
ListaFolhas is the name of the range of the names from the different
sheets.
Basically I need to insert the number associated with each person:
What can I be doing wrong? I used this formula from a page and adapted
to my own case...
EDIT:
After some research I figured out an answer. However, I am facing a new problem: The formula I found only considers one word, doesn't consider 2+ words. A screenshot of the situation:
In the image I have the formula I am using and the difference I get. Could anyone help me please? Thanks in advance!
=INDEX(range of cells with the numbers, MATCH(name you are looking for,ListaFolhas, 0))
I have a list of people whose names are in excel in the following format in a single cell: "Last, First Middle". I'm looking to only keep the first and last name in this format: "First Last". What would be the best way to accomplish this? I've tried text replace, a few random formulas I've googled but nothing works and am stuck. Thanks in advance.
I'm not super knowledgeable, but I believe you can select the second row (meaning the one with FIRST MIDDLE and use find/replace to delete anything after a space. Sorry I don't know that much but this link may help you: https://www.mrexcel.com/forum/excel-questions/527559-deleting-everything-after-first-space-cell.html
Also, searching "excel, remove after space" in Google may help too.
Hope everything works out well.
EDIT: Here's another link : https://www.extendoffice.com/documents/excel/1623-excel-extract-text-before-space.html
One more shorter formula for you to try,
=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",LEN(A1))),LEN(A1),LEN(A1))&" "&LEFT(A1,FIND(",",A1)-1))
Hope this helps
I have the following sheet structure:
What I need to find out is, whether code 8101-1101 contains any Matching Projects (in our case 9500-1100). I have tried VLOOKUP formula, however that only works if the matching project is set to the very first item. If matching project exists only somewhere in the middle, then the formula fails. I have also tried SUMIF yet with no luck.
What formula do I need to use, to check this particular example?
As we discussed in the comments, the easiest way to accomplish what you're looking to do would be using the COUNTIFS() function.
Given your example, your final formula would be as follows:
=COUNTIFS(B:B,B2,I:I,"<>")
Good luck and glad it ended up working for you!!
I have a SharePoint calculated column that is as follows:
=RIGHT(Hip,LEN(Hip)-INT(FIND("-",Hip)))
Basically what this does is return the last digits after the "-" in a string, but for strings that do not contain a "-" it returns #Name? into the column. Does anyone know of an easy way to change this formula to make it say what I want? Or is it just easier to re-think the formula all together. Thanks guys.
You need to use an =IF() statement around this if you're using hyphens that may or may not be there. IF(check for hyphen, hyphen formula, non-hyphen formula), The MSDN information is here for the full docs.
Thanks Graham, I appreciate your time. Your thoughts were definitely helpful! Here is the final solution -
=IF(ISNUMBER(FIND("-",Shipprod)),RIGHT(Shipprod,LEN(Shipprod)-INT(FIND("-",Shipprod))),"Not OK")