Vlookup Countif Nest: Count Of Sizes By Position?
Oct 25, 2009
On attached Spreadsheet, we are using Vlookup to create Team pages for coaches. Works great for giving coaches a team sheet when they leave draft. I have been aasked if we can cultivate the info a little differently for ubiform screenning. Company wants a count of sizes by position, that is everyone in position 1 will get number 40. How many #40 AS, AL, AM do we need.
There are 157 teams. SO I need to loop throgh each team, pull each size for each position and put it on Size sheet. I was thinking a vllookup/countif or sumif combo would work but have not been able to come up with it.
View 2 Replies
ADVERTISEMENT
May 8, 2012
I am using Excel 2010. I have a spreadsheet where column A is for Quarter, column B is for Employee, and columns C-R are for Codes (Code1; Code2; Code3; etc. through Code15). One line might have no values in the codes columns, another might have values in only Code1, another might have values in Code1 and Code2, and another might have values in all 15 columns.
A B C D E F --> R
1 Qtr Emp Code01 Code02 Code03 Code04 --> to Code15
2 2012.1 Liz CER02 INS12 WKH15
3 2012.2 Jim PIN55 WKH12 WKH19 WKH23
4 2012.2 Jon
5 2012.2 Jim WKH15 WKH23
6 2012.2 Jon PIN55 WKH15 WKH12 CER08
The worksheet is named "ALLAUDITS" and the named ranges are as follows:
Quarter: =offset(allaudits!$A$1,0,0,counta(allaudits!$A:$A),1)
Employee: =offset(allaudits!$B$1,0,0,counta(allaudits!$B:$B),1)
CodeData: =offset(allaudits!$C$1,0,0,counta(allaudits!$C:$C),15)
On another worksheet I need to be able to count how many times WKH15 appears in the CodeData range within a certain Quarter. I tried
=countifs(Quarter,"2012.2",CodeData,"WKH15")
But that didn't work, and from what I can tell in Excel support, it's because the ranges are different sizes. I have over 6500 rows, so I'm trying to avoid having to name all 15 columns and then do a sumproduct on all of them, such as
=sumproduct((Quarter="2012.2")*((Code1="WKH15")+(Code2="WKH15")+.......)))
Calculation would take forever.
I could just create a pivot table based on the "allaudits" worksheet, but I can't figure out how to get the actual codes as the row headers (instead of Code1, Code2, Code3, etc.).
View 3 Replies
View Related
Apr 28, 2009
I have a template with multiple sets of the same categories. I want to consolidate the data for each category in a summary. However - the template is expandable by using a macro - so the number of SETS of categories is not fixed. So a simple SUM function won't work since the list of cells expands. I don't want to re-write the formula each time and the method I have is "brute force" with lots of extra columns.
My thought - If I do a VLOOKUP for "Design" and the data is the "unit cost" column can a formula be written to see all the occurences of "Design" and SUM the "unit cost" returns?? example book is attached. hit the "add option" button to see the way the sheet expands.
View 4 Replies
View Related
Oct 15, 2009
I have two columns - Employee and Status of Deal. Now, I need to get the total count of New and Active-to-date but on a per employee basis. Am I making any sense? To clearly put it, I need a formula that will answer the questions below:
How many New and Active-to-date deals does Michael et al have? I tried to use Countif but that gave me the total number of deals, not on a per status basis. Will VLookUp work or a combination of both? If so, how? I'm using Excel 2003.
View 3 Replies
View Related
Jun 23, 2009
Sorry for the question. Normally I find answers to my excel questions by going through the help tab or by searching on Google. However, I don't even know what question to ask on this one!?!
Basically I have created a spreadsheet with several columns, but I have one column that lists the shirt size (YS, YM, YL, AS, AM, AL, XL, 2X, 3X) of each person. Is there a formula that I can create that will tabulate the number of sizes (i.e. AS=2, AM=7, etc.)?
In previous years I made a column for each size, and simply placed a "1" in the correct column, and had excel just add the 1's from each column. However, that takes more time and space. I was hoping to streamline it this time around.
View 6 Replies
View Related
Dec 3, 2013
find a formula that would act as a vlookup but would look up and return a value even if it is not on the first position within the array. I have an SAP export that has on Column A the batch number and on column B the item description. The thing is that within the multiple batch number arrays it allocates on column B the item description only for one row and randomly (sometimes first, last or in the middle).
View 6 Replies
View Related
Jan 27, 2010
My boss has asked me to work this one out and is putting me under great pressure to resolve it. I have tried Vlookup and COUNTIF etc but just cannot get to make it work. I have attached an example file but to explain:
I have a database of inspectors faults, in column B, I have the week number, column*C, I have the part number & column C the fault category (this includes OK). The actual database is up to 5000 rows now.
What I need to be able to do is in one cell (column H2) count all the OK's for week 1 and all the Not OK's (column I2) in week 1 and the same for week 2 (column H3) and week 3 (column H4) and so on for the whole year. I have tried a vlookup using cell G2 (containing "1") as the search and the week number column as the range and then counting if OK, but it never worked!
View 2 Replies
View Related
Oct 8, 2009
Hi guys, hopefully you can shed some light onto this small problem I am having.
The current formula I'm trying to use is:
=IF(VLOOKUP(A4,EPG1!D4:AN26,6,FALSE),COUNTIF(PASS,""))+IF(VLOOKUP(A4,EPG1!D4:AN26,6,FALSE),COUNTIF(F AIL,""))
This isn't producing the desired results.
What I am trying to do in words is this:
IF... in this array it equals A4 then look at coloum 6 and then Countif col 6 says Pass and then add another if it says Fail....
View 7 Replies
View Related
Apr 15, 2013
I am trying execute a VLOOKUP and counting a specific cell, if it's data is greater than 0 for nine different files, essentially summing the number of data points. Below is the beginning of my formula.
Code:
Range(Range("W8"), Range("W" & Analyst)).Formula = "=COUNTIF(VLOOKUP($A8,'" & Folder & "[" & Barker & "]" & A & "'!$A8:W500,23,0),"">0"")+COUNTIF(...
View 6 Replies
View Related
Sep 10, 2009
In the attached sheet I have a list of names with hours overtime hours worked. I want a small table on the sheet which looks up when "name x more" occurs. In cell C14 for example I want it to count the number of times "Mark More" occurs in column I, but the name may change in C13, so I want to automate this - so the countif in cell C14 will reference whatever text is in C13.
View 2 Replies
View Related
Jul 8, 2014
I have a tracking spreadsheet that covers the movement of people in a care facility. I have a COUNTIF string to cover the days of the month, however I need to find a formula to start off that string with, that will do the following:
If cell A6 (Last Name) is blank then do not count cells M6 through AQ6(my days of the month). If A6 has text then count M6 through AQ6 using COUNTIF formula I have in place, which is located in cell BC6
=COUNTIF(M6:AQ6,"")+COUNTIF(M6:AQ6,"HLV")+COUNTIF(M6:AQ6,"TLV")
+COUNTIF(M6:AQ6,"ADM")+COUNTIF(M6:AQ6,"RTN")+COUNTIF(M6:AQ6,"LCCN")
Master SS 31 DAYS.xlsm
View 6 Replies
View Related
Aug 16, 2007
I have two columns on sheet called back1! if a number is put in a cell from P5 down to P40 and a corrosponding number matches in K5 to K40 I want to be able to count it as 1.
So if a number is in k6 and a number is in P6 it counts as 1.
and so on down the cells.
View 9 Replies
View Related
Jul 13, 2006
I've got a table that contains a lot of text that i need to summarse in another table. Its really just two columns the first contains a group name and the second a result. What I need to work out is the number of times the result occurs for each group. But every work sheet function I've entered fails.
View 5 Replies
View Related
Jul 31, 2009
What I'm wanting to do is essentially use a reference to update yet another reference.
In more detail, I want to retrieve a value on a worksheet and use that value to alter yet another reference to another worksheet.
For example, I want to retrieve a value (let say its 16 from either a local cell or a cell on another worksheet) and then retrieve yet another value from another worksheet based upon that value (lets say the worksheet I would want is then "Subject 16").
I've attempted various nesting formats of the typical reference formula but obviously have had no luck. Would I need to use VBA or is there a simple solution that I am missing? If I do have to use VBA how should I go about doing this?
View 14 Replies
View Related
Nov 12, 2008
I have a column of values in "£"s and i need to count how many entries there are within a range. I have been able to do it with text but not money values with £ signs!!
View 2 Replies
View Related
Dec 19, 2008
I am not sure how to go about this but here is my problem: text in cells a40:A147 containing card number this: -01- and cells h40:h147 containing and "x" if the card -01- is closed. Now I want to count all the -01- cards that do not have an x in the h40:h147 cells and I need to count all the -01- cards that do not have an "x" in the h40:h147 cells.
View 2 Replies
View Related
Nov 25, 2013
I have a bunch of cells that i want to count in a table based on 2 criteria. The first would be checking whether or not it matches a certain text which i can do. Now i have a column for "Completed Date" and "Deadline Date". Each deadline date is different. I know i need some sort of array function in there to compare all the completed dates vs deadline dates but i just can't think of it. This will be the second criteria.
View 3 Replies
View Related
Feb 3, 2006
i am trying to get totals from data and am using 2 different times to count from (eg. i am trying to find how many cells contain times in the 6:00 am to 2:30 pm range in the same column...I can't seem to be able to count these correct.
View 5 Replies
View Related
Sep 16, 2008
I am analyzing a quota schedule. I need to count the cells in a row until I hit a value in one of the cells in that row (lets say cell>=30). Then I want the formula to evaluate the next two cells in front of that cell to determine if either is >=30, if so then the formula counts up to the original cell. This will determine # of days out for a install or trouble call lets say.
I have messed with a combination of IF, CountIF, and Match statements and just seem to hit a dead end. Any thoughts, even if it is that I may need another approach, is welcome.
Here is some code I have tried to no avail: ....
View 14 Replies
View Related
Jul 2, 2009
I have a spreadsheet designed for softball schedule for an entire league and am trying to come up with a way to count certain information so that I can figure out if the schedule is balanced. What I'd like is for a way to sum the number of games each team plays on diamond 3 or 4 and to sum number of games at 6:30/7:30/8:30
View 2 Replies
View Related
Jan 3, 2007
I currently have a sheet with Wins & Losses being identified with a L and a W
Example Colums b1 = w, b2=w, b3=w & b4 = L
Now if i want to do a total of the longest winning streak at the bottom of Column B How would i structure my formula to count multiple wins in a row.. Currently im just counting total wins but i also was to count winning streaks & losing streaks..
To count im using =COUNTIF(B$6:B22,"w") and =COUNTIF(B$6:B22,"t") for TIES and for losses im using =COUNTIF(B$6:B22,"l")
View 9 Replies
View Related
Sep 6, 2009
In (C2+) it should display one of the following results - "Listed", "-" meaning not listed, or "Listing Ended". This is worked out from the corresponding dates to the right of "Selling Status" and in (G2) which contains the current date. So when there is nothing entered in (D2) "Selling Status"(C2) should display "-", if a date is entered into (D2) it should then go to "Listed". This part I’ve managed to accomplish, however, when I try add the next part to the equation, it doesn’t seem to like it.
If "Listing End Date"(E2) is less than the current date(G2), "Selling Status"(C2) should then go to "Listing Ended".
This is the current formula I have (below) which does actually display "Listing Ended" However it also contains the "Listed" which it should over right.
Current Formula - =IF((D2=""),"-","Listed"&IF(E2<G2,"Listing Ended",))
View 7 Replies
View Related
Feb 13, 2008
I have the formula below:
=IF(OR(LEN(B2)=0,C2>0),"",IF(AND(VLOOKUP(A2,$A3:$D$99,4,FALSE)=D2,VLOOKUP(A2,A3:$D$99,3,FALSE)>0,B2> A2),"Possible",""))
It should bring back the result "possible" when C2 is negative and D2 (name) matches other D cells while B2 (date) is greater than the A cell (date) for the corresponding matched d cell also the corresponding c cell is positive.
But I think the formula is not incorporating b2> corresponding matched column a.
View 14 Replies
View Related
Oct 23, 2008
I've already nested INDEX and MATCH sucesfully
I wish to embed/nest (I'm not sure what the difference/ correct syntax is)
These Funtions:
1. "=INDEX($H$4:$H$9,MATCH(G14,$G$4:$G$9,0))"
2, =HLOOKUP(Arg!D10,Arg!$D$10:$DA$50,5,FALSE)
The HLOOKUP returns a text value that the Index and Match convert into a number. I wish this to be done in one cell - is this possible?
I'm using INDEX with MATCH because HLOOKUP can return a 'not applicable' that equals '6' this need to be discounted in my results but that is a digression FYI.
View 2 Replies
View Related
Jan 29, 2008
I have a spreadsheet that is by:
Purchase Date (column A)
Sales Date(column B)
Quantity(column C)
Name (column D)
Gain/loss (column E)
The spreadsheet is sorted by name in ascending order and also by quantity in ascending order.
Assuming row 1 is the heading. If D2 (name)= the same as another D cell and it's quantity i.e. C2 is negative, while the other D cell with the same name as D2 has a positive quantity i.e. corresponding C cell, and if the date in B2 is greater than date in column A of the other cell where it's D cell matches D2 and has a positive quantity, then in I would like "possible" to display in F2.
I have included an attachment to better illustrate what I have described above, because I am not sure if I am clear enough.
View 9 Replies
View Related
Jan 15, 2014
I am working with an Excel 2010 workbook that has two worksheets in it. What I am trying to accomplish is I want the second worksheet to scan the first worksheet for a student's name, and count all of the instances that the student has a score less than a certain threshold (we'll say "5" for this example). I have tried using various combinations of vlookup and countif functions, but have not had much success. I did get it to a point where it worked, but only for the first instance of that student's name; it wouldn't continue searching the first worksheet for any other instances.
I have attached a sample workbook as a reference : Sheet1.xlsx‎
View 8 Replies
View Related
Jun 3, 2014
I have been looking for a way to count the number of cells in a column that do not contain the word "No." I used the countif formula to count the cells that do contain "No" but I need a formula to count cells that contain anything but the word no.
View 11 Replies
View Related
Oct 29, 2008
i have a list of employess who i need to count each month. i need a way i can say count if >0 for month = Oct. each employee has a summary of there work for a month in a list going down.
example
___John
Jan__0
Feb__19
Mar__50
___Bob
Jan__4
Feb__56
Mar__12
Right now i have a way i am summing up the total work for all the employees
"=SUMPRODUCT(B21:B512,--(A21:A512=A4))" <------'A4=Jan in the formula'
How could i change this to reflect count the employees and not sum the total? The idea is a need to know how many employees had a number greater then 0 for the month of Oct.
View 2 Replies
View Related
Aug 15, 2006
How can I use COUNTIF to count the values in a range which are greater than 0?
I put =COUNTIF(B2:B100000)>0 but that didn't work?
(I'm using XL 2007 hence the range greater than 65000 rows. But I don't
think COUNTIFs syntax has been changed in 2007 so I assume I'm having a brain
fart.)
View 3 Replies
View Related
May 6, 2009
I am trying to do a basic count in a range, however am a little brain fried and its not working. On attachment, column D is to list all times out of column A and B listing only unique entries (have tried to use Macro with advanced filter however not liking it being an extract). Column E is to be a count of how many times the break time in Column D appears.
View 2 Replies
View Related