In regards to the screen shots below, I am trying to make a formula that will give me the number of times QLD appears per month's data.
Raw Data
Table Data
The second screenshot gives what I thought would work. But it just comes back with 0 instead of 4. Here's the code if people find this to work with.
=SUMPRODUCT(--(Sheet1!C2:C500<=Sheet1!O2),--(Sheet1!C2:C500>=Sheet1!N2),--(Sheet1!B2:B500="QLD"))
What am I doing wrong? I have been Googling like mad but I can't quite make it work.
Also, if anyone has a hint for me to be able to total the value of QLD entries per month that would also be appreciated. (i.e. January QLD total value would be $1,275,000)
Thanks in advance! Please let me know if anything needs clarifying.
Related
I apologize if the title is a bit vague. I am trying to create a calculator that takes into account how much "scrap" I have, how much is needed to resmelt it, and how many bars recieved.
Currently using:
(=if((amtOwned/qtyToSmelt)<1,,rounddown((amtOwned/qtyToSmelt)*barsMade))
Table and Formula
The problem I am having is you MUST have the QTY to Smelt. But the value returned includes partial quantities.
Ex. 125 Bottle Caps should equal 4 Bars total. Yet it returns 5.
How can i make the formula only account for increments of the bars recieved?
Thank you for any help, again i apologize if this isn't that clear. Im not exactly sure how to express my need in this situation.
I have tried messing around with the syntax and where every argument sits, even this formula is the most recent iteration of what i thought would be needed.
EDIT: I have tried using the TRUNC function and this seems to be working as I need it to. The formula now is:
=TRUNC((AMTowned/AMTneeded),0)*barsRecieved
=TRUNC((136/50),0)*2 This is returning 2 bars instead of 3. Which is exactly what I need.
It appears this is working by truncating the number first then multiplying it. So, 1.5 becomes 1 before being multiplied. This was my guess after doing more research. I had been searching for a while before I posted this but am glad to have learned what I have in searching for this.
There is a tool for auditing formulas. To see it go to Formulas > Evaluate Formula.
So here is you formula =IF((E3/C3)<1,,ROUNDDOWN((E3/C3)*D3,0))
Have you tried the calculation on your regular calculator? To me it is doing what you would expect. (125/50)*2 = 5
I've got a problem with finding a solution to my report. Purpose is to know how many times and how long employees spend time on breaks. This report is really imperfect to draw a data.
Purpose of my report:
- we need to know how long brakes they had.
The problem is that in this report I have some days and end date is below the start date - not beside. I copied by formula to have them beside to easily count the time but sometimes can happened that they have irregular leaves - eg. number 14 - he has only 5 records and I can't do it automatically because I need to know which record is missing. In my file is 10.000 records...
Any prompts? Suggestions?
Thank you in advance for any tips!
I have an assignment where I am not receiving any help. My teacher wants us to do an excel project where someone makes between 24,000 and 34,000 dollars every year and they are charged 12 percent tax on their wealth in excess of 24,000 dollars; however, if their wealth is greater than 34000 they are charged 18 percent tax per the 1000 dollars they make ( I have no idea what this means).
I have tried using nested IF functions to solve this problem, however, I am not really sure where to start or what to do.
I am not trying to have anyone do my homework/project, I just sincerely need help.
Any suggestions?
I may have read your question wrong, if the taxable amount is the portion above 24000 then you will need to adjust the calculations accordingly. However the two methods shown should get you some way...
1) with if statements like:
=if(A1>=34000,A1*0.18,if(A1>=24000,A1*0.12,"error"))
Or you can use vlookup() with a table :
Link to sample spreadsheet: attendance tracking
The tab to look at is the AM Classes. We need a count of how many students attended a class/group that day but it must be unduplicated. Such as some students may attend more than one STEM class in a day, but how many they attend in one day doesn't matter. We only need it to count the student once for that day in the STEM group. What I have is two different options (G1027 & M1027) but they aren't working correctly. I hope this is making sense. Attendance will be entered in using set codes (different letters of the alphabet- A1027 shows the codes.) What we need to track and their codes are in column C at the bottom (the blue lines.) I was also given the suggestion of having the formula look through the cells in that days column and find anyone of those codes and if it did, to use another column that is filled with 1's to do the actual counting (Column F). I'm not sure how to set that up though.
Thank you so much for looking at this. We have struggled with this for a while now and have had it on google forums and no suggestions on how to fix it. Below is a snapshot showing a section of the sample sheet and what we are struggling with. Thanks again.
screenshot
Try G1027:
=SUMPRODUCT(REGEXMATCH(G4:G1016,"(?i)[aglmpst]"))
I just want to thank you guys in advance. I think you guys are doing a great job in helping people out with programming stuff. Pats on the back for all of you.
Here is what I've been working on: I have daily stock price return data on about 4000 stocks. I want to add them to my portfolio after observing their performance for 12 months. I will choose the top 10% best performers and bottom 10% worst performers. I will create multiple portfolios over a period of time. I have done that with no problem.
I want to use the INDEX function to calculate the daily return of my portfolio. Not all 4000 stocks are in my portfolio, about 300 stocks are in my portfolio at any given time. The daily portfolio returns will be calculated by multiplying the weights (they are equal weighted, so 1/300) to that stock's return on the specific date. I assume it has to do with a combination of INDEX, SUMPRODUCT, and IF or MATCH functions.
I have been thinking this for a long time and I just can't get to the bottom of it. I have attached pictures for a portion of what I was working on. I think will give you a good picture of what I'm trying to do. I bet this is such an easy thing for you guys. I hope you can help me out! Thanks again!
PICTURES:IN or OUT portfolio & Stock's individual returns
Charles
Not sure I understood your problem, but here is a trial suggestion:
You get data for 4000 stocks while you are monitoring 300. So, you need to find the correct one within your sheet (there will be 3700 that will not match anything).
If you have your stocks listed in, say, column "A", you could use the function LOOKUP (well explained in the Web). If you need to get the row of your stock, you can use the function MATCH.
If this is not what you are looking for, it means that I (at least) did not understand you, so you would need to add details to your question.