formula
17 TopicsHelp with Text to Date Formula
Hello, I have been using many different methods for attempting to convert text and date - but failing miserably! Essentially, the way I can download data provides dates that appear like this: Jun 13th 2017 10:44 Oct 03rd 2017 16:18 Jul 03rd 2017 16:10 Dec 21st 2016 15:22 Jul 05th 2017 14:07 Does anyone know a formula and steps involved that I can please use to convert this to appear in dd/mm/yyyy format please? I can get rid of the time at the end, but every approach I've tried so far just throws up #VALUE error. I need to do this to show how much time has elapsed since each day until (TODAY). Any advice very welcome - thank you!1.9KViews0likes4CommentsPivot Table StDev calculates different value then the STDEV formula
Hi, I'm using Excel 2013 15.0.5153.1000 32-Bit and a pivot table to calculate StDev and compare quickly to the StDev calculated by the excel formulas. I noticed that sometimes the Pivot Table StDev function gives a different value compared to the StDev calculated by the excel formula. When i found this i compared the StDev of the pivot table with every existing stdev formula from excel to see if i can get a match with one of the 6 formulas. In the attached file you can see this comparison with both StdDev and StdDevp function of the pivot table. 12 times out of 50 the StDev doesn't match. The error is very small, only the last few decimals are different. Column J contains the values StdDev and StdDevp calculated by the pivot table, in columns K:P you can see the values calculated by the excel formulas. On rows 8, 10, 15, 16, 24 and 26 you can see that the StDev value from the pivot table doesn't match with any value calculated by the excel formulas. (Same thing for the StdDevp only the row numbers are different). I'm curious if anybody knows the reason for this. Did anybody met this issue before? I can't find anything on the internet regarding this.5.7KViews0likes5CommentsLeap year formula
Over the years I've run into several situations where we've needed to determine if the year is a leap year; most recently to determine the number of working days to calculate billable time - not the important part. I remember being taught as a kid the easy way to figure it out in your head but couldn't find a simple way to do in an Excel formula/cell. Figure out in your head: I'm realizing a lot of the tricks I was shown as a kid may not be making it into the school system or are just lost arts of thinking...so I will share and hopefully you will learn something new as well. Looking at positions 3 and 4 of the year is all you need to determine the leap year. Is position 3 odd or even? (in 2019 this is the "1") Odd: then only the last position of "2" or "6" are a leap year. So 2012 and 2016 were leap years. Even: then the last positions of "0", "4" or "8" are leap years. So 2002, 2004, 2008 were all leap years. Feel free to check me on any year....1944 - yep a leap year. 1972 - also a leap year. Knock yourself out. Excel formula So even with this knowledge it is not easy to turn this into usable information in Excel...until this formula. It is applying the same logic above, into a single field formula. It can be a little confusing so let's break it down. Here is the pseudo syntax to help it all make sense: If the 3 position of the year is evenly divisible by 2 then A (even), else B (odd). A (even): If the 4th/last position of the year is evenly divisible by 4 then it is a leap year, if not it isn't a leap year. B (odd): If the last position of the year is either a 2 or a 6 then it is a leap year, if not it isn't a leap year. Now that wasn't too hard...but it can be difficult and get lost in the formula. So breaking down the formula to align with this pseudo code can help. We have to explain some of the values in our formula - so let's start with the assumption that our date is in cell A3 (I also have the $ reference in front of A as this is the column for all of my dates, but I'm going to copy this to multiple rows). Let's also assume that we want to return the value of "Leap" for a leap year and "No" for any other year...we can then have other cells look for this reference without duplicating all of this logic through out your spreadsheet - one cell in each row for my situation. If the 3 position of the year is evenly divisible by 2 then A (even), else B (odd). =IF(MOD(MID(YEAR($A3),3,1),2)=0, {EVEN},{ODD}) Now the sub if statements A (even): If the 4th/last position of the year is evenly divisible by 4 then it is a leap year, if not it isn't a leap year. IF(MOD(MID(YEAR($A3),4,1),4)=0,"Leap","No" B (odd): If the last position of the year is either a 2 or a 6 then it is a leap year, if not it isn't a leap year. IF(OR(MID(YEAR($A3),4,1)="2",MID(YEAR($A3),4,1)="6"),"Leap","No" When you put it all together this is what it looks like. =IF(MOD(MID(YEAR($A3),3,1),2)=0,IF(MOD(MID(YEAR($A3),4,1),4)=0,"Leap","No"),IF(OR(MID(YEAR($A3),4,1)="2",MID(YEAR($A3),4,1)="6"),"Leap","No")) I hope this helps or gives you ideas for other problems you can solve.6KViews1like4Commentsformula for data calculation
* By using formula , if the value in column G is between -1 to -200 then put the value in column E and if the value is exact -600 in column G theN put it in column D , and if the value is exact -500 then put it in the column F AND if the value is 1 or more the 1 then put it in H. This is a sample data , i have a data in large number so i have a need to do this automatically. pls find the attached file.Solved2.4KViews0likes10CommentsNeed FORMULA help please!!
Hello, Please help with formula in Col D Table 1 to lookup values from Col H Table 2. Thank you in advance. 1 A B C D E F G H 2 Table 1 Table 2 3 PRODUCT ID COMMENT CODE COMMENT DATE Lookup Value From Table2 Column H PRODUCT ID COMMENT CODE COMMENT DATE 4 000101 ABC1 02/04/2016 07/07/2019 000099 ABC1 07/05/2019 5 000101 ABC2 02/06/2016 07/08/2019 000100 ABC2 07/06/2019 6 000103 ABC1 02/06/2016 07/11/2019 000101 ABC1 07/07/2019 7 000103 ABC2 02/07/2016 000101 ABC2 07/08/2019 8 000104 ABC3 02/08/2016 07/07/2019 000103 ABC1 07/11/2019 9 000103 ABC2 10 000104 ABC3 07/07/2019Solved1.7KViews0likes4CommentsFormula
Hi there Is there someone that can help me with a rota spreadsheet and calculating the number of hours a day (over a month) please? I have a formula =SUMPRODUCT(($B7:$B35=ShiftNames)*(Shifts!$D$3:$D$27)) but it's faulting somewhere in the formula, I can't figure it out I can send a screenshot of what the rota looks like or if easier I can send over a copy of the rota??? Thanks in advance Natasha1KViews0likes2CommentsExcel Forumla to exclude empty cells.
All, I am using the following formula on my excel worksheet and it is including blank cells. I was wondering if anyone could assist on helping me modify it to ignore/disregard the blank cells. ="# of Other Tech Tickets:"&COUNTIF(A5:A279, "<>Tech Name") In the above formula, I'm getting the following result. I wish I was efficient as the number below.. In actually I only worked 27 total, 14 of my own an 13 of other techs (different names), so I'm trying to exclude my name (which I had accomplish, I believe) but it's counting blank/empty cells. # of Other Tech Tickets:261 Any input is greatly appreciated! I can't seem to figure this out.Solved1.9KViews0likes6CommentsCreating A Sublist
Trying to create a sub-list from a master list - currently working on two formulas: =INDEX('Client List'!B:B,MATCH("Chris",'Client List'!C:C,0)) This formula will pull the first cell that matches the criteria, but will not populate the rest =IFERROR(INDEX('Client List'!B:B,SMALL(IF('Client List'![AT Member 1]="Lindy",ROW('Client List'!)-1),ROW(1:1)),2),"") this formula will not workSolved3.6KViews0likes5Comments