Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 days ago.
Improve this question
I am in need of a code to run in excel to work with Outlook to delete duplicate subject appointments.
My subjects consist of 5 numbers, and if there is any duplicate anywhere in the calendar I need it to be deleted.
i.e Subject: 12345 on February 28th, 2023 & Subject: 12345 on March 3rd, 2023
Not sure where to even start with this
Not sure where to start
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 11 months ago.
Improve this question
Need help to extract alphanumeric string from a cell IN EXCEL 2013/2016
Example cells:
Tom Jomes 10102230SP01001 Payment
Jonas Haul 550R202202230016 Car
Holland motors 10102230C002001
Jeevan 0073669900002 cc
Need below result in new cell against the above:
10102230SP01001
550R202202230016
10102230C002001
0073669900002
Thanks in advance
From your current sample you may utilize FILTERXML() function.
=FILTERXML("<t><s>"&SUBSTITUTE(A1," ","</s><s>")&"</s></t>","//s[translate(.,'1234567890','')!=.]")
Details here from JvdV
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am creating a spreadsheet where the user can enter different numbers and have a different result be returned.
For example if they were to enter a number that started 07, it would show 1, 070 it would show 2, 0345 3 and so on.
I have tried the IF and LEFT formulas but I am struggling!
Any ideas are greatly appreciated!
EDIT: Sorry I was trying not to write war and peace but have missed out too much.
The users will write in phone area codes, e.g. 0345 or 0714 or 0701 and the sheet will return the price.
The price can be different depending on the first 4 digits. To keep it simple for this purpose I want it to be able to detect if the area code starts with 07 to show a "price" of 1, 070 price of 2 and 0345 a price of 3.
I have 10 different area codes but just added the 3 above for examples.
I hope this is clearer.
To get the length of a string with the leading zeros removed use the array function
=LEN(MID(A2,MATCH(TRUE,(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)<>"0"),0),LEN(A2)))
Replace A2 with the cell that the users will change and hit [Ctrl Shift Enter] on the cell with the formula to activate the array function.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
How do I extract the top five values in an excel column? This is what I have so far:
=INDEX($E$3:$E$143,MATCH(1,INDEX(($AH$3:$AH$143=LARGE($AH$3:$AH$143,ROWS(AJ$28:AJ28)))*(COUNTIF(AJ$28:AJ28,$E$3:$E$143)=0),),0))
table
Customer name Contract Date Contract age Oldest Cotracts
Bill 8/1/18 5 bill
John 8/2/18 4 john
David 8/3/18 3 David
The formula i have above is in the cell to the right where bill's name is. But it is not taking into consideration ties and is populating "N/A'
You will need to add a column that retreives the top five contract age using LARGE:
=LARGE(C:C,ROW(1:1))
Then refering to that you would use:
=INDEX(A:A,AGGREGATE(15,6,ROW($C$2:$C$19)/($C$2:$C$19=E2),COUNTIF($E$2:E2,E2)))
with older version of Excel use this array formula:
=INDEX(A:A,SMALL(IF($C$2:$C$19=E2,ROW($C$2:$C$19)),COUNTIF($E$2:E2,E2)))
Being an array formula it needs to be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I have a formula that is calculating if a certain cell is greater than 0 then multiplying 2 cells together. I only want to show the result though within one cell and then after that time the following cells are to be nought. At the moment I have cells with the same amount in e.g. Jan = £7, Feb = £7 but I need Feb to be 0 as Jan already has a sum in it.
=IF(M1>0,$F$1*$F$9,0)
Try using the AND and OR commands...
=IF(AND(M1>0, OR(ISBLANK(janCell),janCell=0)),$F$1*$F$9, 0)
Note that you haven't provided a great deal of useful information there. We know nothing about the structure of your work sheet, where the month results are stored etc. You should think about your question more before writing it up.
Hope the formula above helps.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
i want to create a formula like this,
=DATE(YEAR(any)),MONTH((any)),14)
i don't care about year or month only the day.
apparently excel doesn't let me add "any" as a fuction. can someone please help me?
Consider:
=DATE(RANDBETWEEN(1,9999),RANDBETWEEN(1,12),14)
To use the current year and month, use this formula:
=DATE(YEAR(NOW()), MONTH(NOW()), 14)
However, the month does matter if you wanted to put 31 for the day (or 29/30 if the month happens to be February), so you might want to just always use a specific year and month that will allow for maximum flexibility, such as:
=DATE(2000,1,14)
One thing I would suggest is to ask yourself why you are storing this as a date in the first place if you only care about the day of the month. You could just store 14 and label the column "Day of Month". To better answer your question, it would be helpful to know what are you actually doing with these dates.