- 7,689
- Michigan
- Rallywgn81
I am off for an extended birthday weekend, I'll get back at it Monday and see where this gets me.
That’s the little snag I ran into lol I realized that when trying to pull a different column. I haven’t been able to look at it since though but I don’t think I would know a work around after that.@ImaRobot I don't think that will work because Column B is the first column in the vlookup rather than the second. To use the vlookup, you'd need to rearrange the columns in the opposite order as it only works left-to-right. Alternatively, you could use IF(INDEX(MATCH, this will allow you to search right to left as well.
I need to have a look at my sheets at work, I know I've got something which will work.
=IFERROR(INDEX(Sheet3!$B$1:$D$1000,MATCH($D$1,Sheet3!$D$1:$D$1000,0),1),"N/A")
=IFERROR(INDEX(Sheet3!$B$1:$B$1000,SMALL(IF(Sheet3!D$1:$D$1000=D2,ROW($D$1:$D$1000)-MIN(ROW($D$1:$D$1000),1,1)),COUNTIF(E$1:$E2,E2))),"N/A")
Assuming comparative times are in A1:A5 in the format 1:23.300 and the lap time comparison goes into B2:B5
C1 contains =LEFT(A1,FIND(":",A1)-1)
D1 contains =RIGHT(A1,LEN(A1)-FIND(":",A1))
E1 contains =(C1*60)+D1
B2 contains =E2-E1
C1 contains =(LEFT(A1, FIND(":",A1)-1)*60)+(RIGHT(A1,LEN(A1)-FIND(":",A1)))
B2 contains =C2-C1
Thanks a lot @DG_Silva ! Explained like you did it is very easy. Honestly I though of that way also, but never did it as I was convinced that the "date" formats still could provide a "built-in" solution.
It works fine, thanks again
I know that technically you can't show a percentage increase from 0, but is there an equation that would make this sort out anyways? It doesn't have to be technically correct, I just want to sort of see if I can force it to show a percentage increase anyways.
It's for a spreadsheet for my Operations Manager showing sales increase from 2017 to 2018, and it just looks ugly seeing a bunch of errors for things that haven't sold in one year or the other, or both. Would it just be easier writing it in without an equation?
Because there's hundreds of lines that I would have to do individually because of the different sales data, that would take more time than just individually writing in the values that my OM was looking for. I was hoping that there would be a quick cheat to get it done, but thanks nonetheless!Put the equation inside =IFERROR (your_equation, what_to_return_if_result_is_an_error)
If the ugly result isn't strictly an error you could put it in a plain old =IF()
Because there's hundreds of lines that I would have to do individually because of the different sales data, that would take more time than just individually writing in the values that my OM was looking for. I was hoping that there would be a quick cheat to get it done, but thanks nonetheless!
Although I didn't mention it, I was going to be turning it in yesterday. I actually just left it as the other operations manager has to review it so he said he'll figure out what to do with those for now. Whether he leaves it or does something else I'm not sure, but thanks for the help.Ah, I see. One last stab... if the type of sales data on the line is identified then the IFERROR result can be a lookup from elsewhere. Do you have a sample page (with identifiers altered, obviously) to look at?
I know that technically you can't show a percentage increase from 0, but is there an equation that would make this sort out anyways? It doesn't have to be technically correct, I just want to sort of see if I can force it to show a percentage increase anyways.
It's for a spreadsheet for my Operations Manager showing sales increase from 2017 to 2018, and it just looks ugly seeing a bunch of errors for things that haven't sold in one year or the other, or both. Would it just be easier writing it in without an equation?
I know I'm a little bit late to the party, but couldn't you do =IFERROR(TEXT(A2-A1,"0.00%"),"") where A1 contains 0 and A2 is the next value in the range (ie Jan to Feb)?
How can I evenly split an amount due to be paid in parts across, let's say 4,5 months, or 4,7?
Setting the quadrant variables (a1 for amount, b1 for months) and using them in a formula that you click and drag down the sheet for however many months?There must be more to this question than =amount/months, but what?
Setting the quadrant variables (a1 for amount, b1 for months) and using them in a formula that you click and drag down the sheet however manu calls fornhowever many months?
I mean, Excel is a fine tool, but I dont think they have created the ability to see into the future yet. With the way you want this sheet setup, you won't be able to pay them until all 4 months have been worked, unless you know ahead of time what their schedule will be exactly for those 4 months, which I am guessing you dont know.Let's say a person has to receive a specific amount of money (e.g. $2000) in four equal instalments, one per month. The amount of instalment depends on how many days he worked. If the person fully worked all four months that's $500 per month, but what if he worked only 10 days in the last month? At the end of all four months he has to receive $2000. That means that in first three months he will receive more than $500 to compensate for the amount lost on the rest of 20 days he didn't work. I need a formula that helps me calculate this.
I mean, Excel is a fine tool, but I dont think they have created the ability to see into the future yet.
We do know the "future", lots of contracts already tell you how much money you are going to get, the only difference is that this amount gets split over the entire work period and every instalment is paid after certain part of the work has been completed rather than paying all at once, the latter which is not practical in most cases I've encountered.Now, it being the case you do know the future, then, you would divide the amount by total hours worked. 160 hours a month, 640 hours for 4 months. 2000/640.... adjust the 640 to however many hours they actually worked, that's the hourly earning on the 2000, then spread that out over the time they worked each day.
We do know the "future", lots of contracts already tell you how much money you are going to get, the only difference is that this amount gets split over the entire work period and every instalment is paid after certain part of the work has been completed rather than paying all at once, the latter which is not practical in most cases I've encountered.
Okay, let me check if I got that right: he worked only 6 days in the last month, that's 48 hours. If he had worked 640 hours (all four months fully) he would have received 3,125 per hour, right? So he earns only $150 for that last month? For the first three months he would receive $616,66 and in total that is $2000 (actually, $1999,98, but that's okay). I still feel I missed something here.
Let's say a person has to receive a specific amount of money (e.g. $2000) in four equal instalments, one per month. The amount of instalment depends on how many days he worked. If the person fully worked all four months that's $500 per month, but what if he worked only 10 days in the last month? At the end of all four months he has to receive $2000. That means that in first three months he will receive more than $500 to compensate for the amount lost on the rest of 20 days he didn't work. I need a formula that helps me calculate this.
This needs to divided out by the hour. As Matej was pointing out, a contractor may work 8 hours in a day, or they may work 6, or just 4. This is why you need future sight to properly fill out the spreadsheet, you may know how much they are to make over the extent of the contract, but you dont know how many hours they will put in each week until they put the hours in. You dont know that they are going to work 48 hours the first week, or 20 the last.This month’s pay = 2000*[number of days worked this month]/[total number of days worked over the period of four months]
This needs to divided out by the hour. As Matej was pointing out, a contractor may work 8 hours in a day, or they may work 6, or just 4. This is why you need future sight to properly fill out the spreadsheet, you may know how much they are to make over the extent of the contract, but you dont know how many hours they will put in each week until they put the hours in. You dont know that they are going to work 48 hours the first week, or 20 the last.
What can be done is, a 40 hour work week can be assumed and that can be spread out across the "timesheets" days. Then another column can be added that can be used to adjust the hourly rate from there. That way if they work over 8 hours, or under eight hours you just need the add the + or - to that cell and it can add or subtract however much from the total earning for that day.