I have a issue with this formula and i was looking everywhere, but i was not able to figure it out. What i want to do with this formula is after the code is changed i need to know, how many unique models was used for this changed code
Formula is working only without $A$2:$A$25000;F2 that means, i'm not able to say how many unique models i have for one code, but it's for all of them
Do you have any suggestions ? Thank you !
=SUMPRODUCT(IF(($C$2:$C$25000E2);1/COUNTIFS($A$2:$A$25000;F2;$C$2:$C$25000;"<="&E2+30; $C$2:$C$25000; ">"&E2;$B$2:$B$25000;$B$2:$B$25000&"");0))
Related
I wanted to double-check the accuracy of some work I’m doing. I have a column where I am returning unique student IDs using this formula =IF(AND(B2="Eligible/Previously Eligible",E2<TODAY()-1095),A2,""). When I count up the number of values returned, I get 931. However, if I use this formula =SUM(COUNTIFS(B:B,"Eligible/Previously Eligible",E:E,"<"&TODAY()-1095)) to count the number of IDs that match the criteria, I get 759. I don’t understand what I’ve done wrong to get a different answer since the criteria for both formula seems to be the same. Any suggestions are appreciated!
I need to count how many cells in a table column that contains a specific text string. I'm using this formula and it works well:
=COUNT.IF(TB_table_name[col_name];"*string_to_be_found*")
But I need to count only filtered cells.
I've found may solutions (using SUMPRODUCT) on internet, but only to common cells and not table conlumns.
This is the kind of table that I have:
As you can see, there are many values in the same cell (It happens because it is generated automatically by a survey made in MS Forms). Because of this, I need to search for a specific string to be counted.
Using "COUNT.IF" I have this results:
Please observe that the values in the cell are not random, but predefined - of course the sequence could not be the same, but the list of possible terms are.
Please, can you help me figure this out? Belive me, I have tried many things but nothing worked and it seems to be a thing so easy to achieve :(
The trick is to combine a couple of the ideas you found using SUMPRODUCT.
You likely found this reference (or one just like it) that gave guidance for a formula like this:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(B2:B7,ROW(B2:B7)-MIN(ROW(B2:B7)),,1))*(B2:B7="Quality"))
Which translates to your problem-space like this:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(TB_table_name[col_name],ROW(TB_table_name[col_name])-MIN(ROW(TB_table_name[col_name])),,1))*(TB_table_name[col_name]="*string_to_be_found*"))
This works perfectly fine if you're NOT using a wildcard search. But that's what you need. So in this answer it shows that the wildcard in a SUMPRODUCT needs to use the -- operator. So the result is to combine the two answers and you get:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(TB_table_name[col_name],ROW(TB_table_name[col_name])-MIN(ROW(TB_table_name[col_name])),,1))*(--(ISNUMBER(FIND("string_to_be_found",TB_table_name[col_name])))))
Notice that the string_to_be_found does NOT have wildcard * specifiers. That's taken care of by the FIND function.
I am a teacher at a University. I am trying to make an attendance in excel for one semester.
I have almost finished but I have hit a problem that I can't find the answer to. I am trying to create a student lookup. Please see picture.
So I thought I would use vlookup taking it from the running total from my students list. However that total is a formula not a value number. I got that total by formula: to add each months total together and place the result there. I can't seem to get vlookup to return a formula just a vault number. The problem is as the semester ins't over that total keeps changing every lesson. So I need vlookup to work with that running total. I have looked for many hours on the net as I thought somebody must have a similae problem but I cant either not find or understand them. If you need the excel file for better understanding I would be happy to share it with you. Thanks in advance
The formula being returned is actually a text string that looks like a formula. You need some workaround to evaluate that formula.
Please share the worksheet so I can understand it better.
Meanwhile this link should be useful for you.
https://www.excelforum.com/excel-formulas-and-functions/1104076-can-you-use-vlookup-to-return-a-formula-instead-of-a-value.html
I have two spreadsheets. I'm trying to use VLOOKUP, but it simply is not being nice. The cell that's suppose to be updated does not.
-Spreadsheet A has indices that need to be paired with Spreadsheet B indices.
-Then I need to get the corresponding value to that indices. Those values are one cell to the right of the indices in Spreadsheet B.
-The value in Spreadsheet B then needs to be placed in its appropriate cell back in Spreadsheet A.
If someone could help that would be great and ... fabulous. If you need more details or clarification let me know. I have a feeling it might be my using of Table Name across spreadsheets as the culprit for it not working properly.
Try using and Index Match combo function
Index('Column/array with return value',MATCH('Value to match','Array to find the value',0-For an exact match),'column number of the Column/Array to look in')
I am not a fan of VLOOKUP as I almost always find errors with it. There are plenty of indexMatch examples too on here and Google.
I have been trying to get this for a couple of days now. I have read several articles on similiar achievements but have been unable to get any of them to work.
Column A has a list of names that represent a person attending that work day; column I represent the date for that work day.
I need to look through a date range for one week in "I" and get the unique count of names that were present in "A".
I can get the count but I cant get th unique count using
=COUNTIFS('DIRECT TIME'!I:I,">="&B25,'DIRECT TIME'!I:I,"<="&C25)
Can someone help me figure this out. I have tried to implement functions i have found online using frequency and sumproduct/count but have been unable to get any of them to work.
Thanks,
-Joseph
Generically you can use a formula like this:
=SUM(IF(FREQUENCY(IF(Dates>=A1,IF(Dates<=A2,IF(Names<>"",MATCH(Names,Names,0)))),ROW(Names)-MIN(ROW(Names))+1),1))
Confirmed with CTRL+SHIFT+ENTER
Names and Dates should be the same size and as small as possible because the formula can be slow