Can anyone help me with the answer to the below attachment?
Thanks in advance.enter image description here
Easy solution: in the sell to the right of the Emp. number in yellow, you have a match function: =Match(MATCH(J4,$D$4:$D$23,0) this will return a number that should equal the S.R. Number in the far Left column of your table.
Based on the SR number, you perform a VLOOKUP for the remaining three metrics. Since the columns in the table can not be altered, I also presume that the table must remain sorted by the SR Number. If that is the case this should help.
=VLOOKUP($K$4,$A$4:$G$23,2,TRUE)
This would return the names.
If this table is being presented to people, and you don't want them to see a random number in the Cell next to the employee code, the you can either hide the column, or you can change the text to white.
Below is what the final would look like. (I just entered the data to represent something close to what you were working with)
enter image description here
Related
First, I know that DSUM and SUMIF works with the values in the entire cell. I would like to know if I can add values of cells where part of the string contains a particular text.
Let me explain. I use Google Sheets to manage my expenses, and gather data about my financials. I have something like this—
As you can see, above is a typical example of a day. Each cell has a category, and a description, and below it, the value in the next row. Now is it possible to add values of the cell containing the word "TAXIS"? This way I should be able to get a sum of expenses for a particular category.
I've tried a vast number of expense managers, but none that I am happy with. Finally have decided to go the manual route, and here I am. Any help would be appreciated. Thanks in advance!
You can use wild card to add part of string. Suppose you data starts from C2 cell and data goes like your screenshot then you can use following formula.
=SUMIF(C2:K2,"*TAXIS*",C3:K3)
Obviously you have to customize formula based on your sheet from where data starts and ends.
I have a list of customers down the left side of my table and a list of resellers along the top of the table.
In the cells are the number of widgets purchased by the customer from the reseller.
I need a way to get the top 4 resellers per customer based on the units purchased.
I've attached an excel file with the formula I was using, which isn't quite perfect. If there are duplicate values in the row, it always brings back the 1st matched reseller, where I actually want to bring back the reseller name that the value corresponds to. I've put in green cells what I want the yellow cell to show.
Please see my table below, I hope it provides enough info
<table>
<thead><tr><th>CustomerID</th><th>Reseller A</th><th>Reseller B</th><th>Reseller C</th><th>Reseller D</th></tr></thead><tbody>
<tr><td>10001</td><td>1</td><td>2</td><td>78</td><td>1</td></tr>
<tr><td>10002</td><td>4</td><td>7</td><td>43</td><td>6</td></tr>
<tr><td>10003</td><td>3</td><td>3</td><td>5</td><td>7</td></tr>
<tr><td>10004</td><td>6</td><td>3</td><td>34</td><td>65</td></tr>
<tr><td>10005</td><td>8</td><td>4</td><td>7</td><td>8</td></tr>
</tbody></table>
My formula would work if each value in the row was unique, but that's not the case unfortunately.
Any help or guidance would be greatly appreciated.
Thanks for your time.
Stefan.
Use the following formula in F2:
=INDEX($B$1:$E$1,MATCH(1,INDEX(($B2:$E2=LARGE($B2:$E2,COLUMN(A:A)))*(COUNTIF($E2:E2,$B$1:$E$1)=0),),0))
Copy over 4 columns and down the length of the data set. Only this one formula for all.
I have the following spreadsheet on the image (please click on link below for image):
Raw data and categorised data
Suppose I have the raw data Name B4:B11 and Interests C4:C11.
My question is I want to categorise the raw data so the output is as pictured in B16:B34 and C16:C34. I am trying to categorise people by their interests when their interests are in a column containing strings separated by semicolon. The Name can come up multiple times according to their interests where in this case Movie, Music and Radio.
Please kindly assist. Thanks kindly.
This formula will work as in the picture below.
This will need to be entered as an array formula (when in the formula bar hit Ctrl+Shift+Enter)
=IFERROR(INDEX($B$1:$B$11,SMALL(IF(ISNUMBER(SEARCH(B$15,$C$1:$C$11)),ROW($C$1:$C$11)-ROW(INDEX($C$1:$C$11,1,1))+1),ROW(1:1))),"")
Array formula's break down ranges and calculate them them one cell (or row) at a time.
The SMALL formula (=SMALL(array,k)) will use the array results of the IF formula. The IF formula is returning either FALSE (default) or the row number when the text can be found in the cell using search, I have used =ISNUMBER to force true false rather than it throwing any errors as if it finds the text it will give a numeric value as the starting position of that string in that cell.
The SMALL formula puts the results in the array in ascending order and will only call on actual values (not FALSE) so I have used ROW(1:1) at the end of the small formula for the k part: When the row automatically increases to the next number, the next highest result is displayed.
I hope this helps explain the logic used.
I know the title looks enormous but I don't know how to put the title to the question I want to ask.
Ok, basically this is what I have so far:
On the spreadsheet I a column asking a question and the you fill up the row and according what you have there you have to put a Y (yes) or N (no).
On the end of the month we need to know how many Y (yes) we have, I need to do this manually. I was wondering, if there is a way to use a separate cell to count how many Y's we have on that column?
If someone could help on that I will very much appreciate.
This is completely possible. Depending upon which version of Excel you're using (2007 and later should work), try pressing Functions, and then choose AddCount, which counts the amount of something in a certain space.
If this does not work for you, you can also create drop-down menus inside of the Data Validation feature of Excel.
If you're making a form these two options will work.
If you have a column (say column A) containing either Y or N, then in a cell outside that column enter:
=COUNTIF(A:A,"y")
This will perform the counting and will count either upper case or lower case letters.
Select the excel cell where you want the output. Then go to function box and type =COUNTIF(CL1:CL100,"Y")
where CL1 is your stating column Index and
CL100 is your last column index till where you want to search.
I'm building the spreadsheet for my company and we are using letters A through F to simplify the result of a lead(potential appointment) in column L20:L999999. Our sales agents initials are in column P20:P999999. Each lead occupies a row, with each column containing different bits of information. For example, the letter 'B' in column L20:L999999 represents a potential appointment that was not set up correctly by the sales agent and lost due to their mistake. I am trying to get Excel to count how many "B"s a particular sales agent has.
If it doesn't post a picture, please allow me to email it to you or something. This would be so much help.
I'll try to get a picture: ![enter image description here][1]
http://imgur.com/jQ8k6v0
It sounds like a COUNTIFS statement is what you're after. Something like:
=COUNTIFS(L20:L999999,"=B",P20:P999999,"=LMP")
However, if you want to do it by reading the 'Legend' value given in cell I2 by using a lookup-style function (in particular, INDEX & MATCH) I think you have to un-merge the values in J13:K18, and then use:
=COUNTIFS(L20:L999999,INDEX(J13:L18,MATCH(I2,J13:J18,0),3),P20:P999999,"=LMP")