Formula That Displays Uniques Only
Jul 14, 2008
I have a list of names in a column that will be changing on a weekly basis (with some names repeating). I need to create a Named Range that only counts unique values from that list of names (dynamically changing every week).
View 11 Replies
ADVERTISEMENT
Feb 19, 2008
I use this formula to count uniques in Column I if they started with "P" :
=SUMPRODUCT(($I$2:I554"")/COUNTIF($I$2:I554,$I$2:I554&""),N(LEFT($I$2:I554,1)="P"))
Now if I add 2 more criteria it gives a wrong result" :
=SUMPRODUCT(($I$2:I554"")/COUNTIF($I$2:I554,$I$2:I554&""),N(LEFT($I$2:I554,1)="P"),N($F$2:F554=F555),--($G$2:G554""))
as 0.0625
View 9 Replies
View Related
Jul 8, 2006
I have tried a simple =CONCATENATE(A1+B1) in a cell and it shows the formula not the value. I have tried
1. Formatting cell to various formats other than text
2. Deleting the Row/Column and adding a new one and trying the same formula
3. Ctrl + ` to show/hide formulas
I dont know why it keeps displaying the formula. Anyone know of a way to fix this?
View 3 Replies
View Related
Aug 21, 2014
=IF(D9<>"",IF(E9=TRUE,S5*0.46,TRUE)+IF(E9=FALSE,S5*0.3,TRUE))
If D9 is blank this formula displays FALSE, I need it be o or - instead of FALSE.
View 2 Replies
View Related
Jul 24, 2014
I'm working on someone else's spreadsheet, when I type in a formula the cell shows the actual formula as typed, rather than the expected result of the formula, how do Ii correct this?
View 2 Replies
View Related
Nov 6, 2007
=K18+Sheet117!K18
K18 contains the number 54.00, and on Sheet117 cell K18 contains the number 404.00.
Cell A1 displays the formula rather than the result, which should be 458.00.
Other similar formulas I have in this workbook return a result of 0 when I know there should be a significantly higher number. Then, the same formula used to refer to different cells will return what appears to be a proper result.
View 9 Replies
View Related
May 5, 2004
My VLOOKUP formula is displaying in the cell instead of the result. The formula is VLOOKUP(A1, income_codes, 2, FALSE) and in the formula editor the result (00017) is calculated correctly.
However the cell displays =VLOOKUP(A1, income_codes, 2, FALSE) instead of the answer 00017.
My view options are not set to display formulas. The codes are formatted as text in the range income_codes as they start with zeros.
View 9 Replies
View Related
Jan 18, 2006
I have a simple formula subtracting one cell from another using =SUM(XX,-XX). When I click on fx and bring up the function arguments box, the formula result is displayed correctly in that box. However, the cell containing the formula will only display a zero. I have tried reformatting the cells to no avail. I have also tried getting a result using =XX-XX and that does not work either.
View 10 Replies
View Related
Apr 28, 2012
Often I write the formula in the cell of an excel spreadsheet in vain, it does not work.
Excel only displays the formula in the cell such like = if(B2>2;2;0), and not the result.
Formula is correct, so I don't know why it happens. Most often this occurs when the formula is between worksheets or different excel files on the corporate server.
View 3 Replies
View Related
Jul 17, 2014
=CONCATENATE(B8,C8,D8) insread showing result just stays as text?
cant figure out whats wrong
View 2 Replies
View Related
Apr 23, 2009
I'm trying to figure out how to count the number of unique countries where there is an office.
So pretty much, I want to count the unique entries in Column A where there is an X in Column C.
View 9 Replies
View Related
Feb 25, 2007
I would like to sum uniques across worksheets. Below are the formulas that Domenic provided me and it works great but I could not modify the formula below that is in red to sum uniques instead.
=SUMPRODUCT(--(RIGHT(A3:A37,5)<>"Total"),--(MATCH(C3:C37&D3:D37,C3:C37&D3:D37,0)=ROW(INDEX(C3:C37,0))-ROW(A3)+1),B3:B37)
Define Names:
ArrayA:
=COUNTIF(OFFSET(INDIRECT("'"&Sheet1!$C$2:$D$2&"'!A3:A100"),ROW(INDIRECT("3:100"))-3,,1),"<>*")
ArrayB:
=N(OFFSET(INDIRECT("'"&Sheet1!$C$2:$D$2&"'!"&Col),ROW(INDIRECT("3:100"))-3,,1))
Col:
=CHOOSE(Pos,"A3:A100","B3:B100","C3:C100","D3:D100")
Pos:
=TRANSPOSE(MMULT((T(OFFSET(INDIRECT("'"&TRANSPOSE(Sheet1!$C$2:$E$2)&"'!B1:D1"),,COLUMN(INDIRECT("B:D"))-COLUMN(INDIRECT("D:D")),,1))="Net")*(COLUMN(INDIRECT("B:D"))-COLUMN(INDIRECT("B:B"))+1),TRANSPOSE(COLUMN(INDIRECT("B:D"))^0)))
=SUM(IF(ArrayA,ArrayB))
View 9 Replies
View Related
Oct 16, 2007
I want something to give me the total of different names in column A, I know the total is 8 but if I add another name I want Excel to add it up automatically in cell A2 in sheet #2.
View 9 Replies
View Related
Mar 18, 2007
looking for a way to look in a column for a value, and then spit out the highest value in corresponding cells in a column further over
so i want to look at all the classes associated with the same case, and have excel spit out the highest CscR no associated with those cells that do match..
yes i could do it manually, but my actual file has like 4000 samples in the first column.
View 14 Replies
View Related
Aug 7, 2007
I have about 160 rows in collumn A. I want Excel to count them, but ignore blank ones and repeated ones. How can I accomplish this using macro?
View 5 Replies
View Related
Sep 5, 2007
Once I have used this code to filter for unique item(s)
Sheets("Source Data"). Range("Data").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=Sheets("Source Data").Range( _
'"Criteria"), Unique:=True
Sheets("Source Data").ShowAllData
As this filter searches for unique value there is only 1 row of info. I then want to select specific (1 or 2 cells) info from this row and the make this cell(s) = to a cell on another worksheet. As this unique row might be 199; I don't know how to reference it using VBA. I know what columns I need but cannot determine which row it will be in. Assist as I have looked at various threads w.r.t. duplicates/autofilter/search but cannot seem to get the correct code.
View 2 Replies
View Related
Nov 18, 2006
I have this formula below it will list uniques from column A but I would like it return in a alphabetical order. Is there a way to add that condition in the formula below a all in one formula?
=INDEX($A$3:$A$23,MATCH(TRUE,ISNA(MATCH($A$3:$A$23,C$2:C2,0)),0))
Example:...
View 9 Replies
View Related
May 4, 2007
I would like to get a unique list of letters from multiple columns.
I tried to use this formula below but it does not work with multiple columns....
View 9 Replies
View Related
Feb 20, 2008
I have a list with many duplicate names in it, from which I only wanted 1 instance of each name, to be placed in another sheet. So, I recorded a macro that selects, from the sheet called "Data", column E (the column with the relevant list), copy/paste's it into sheet 3 in column A, selects the new column, and runs an Advanced Filter command on it, to identify and display all the unique names in it in the same place. It ran just fine when I recorded it. But then, when I deleted the data created by the macro and tried to re-run it, I got random data. I found that whenever I click on a different cell, it provides a different output. I only want it to select Column E, and copy paste that, not other random columns depending on which cell is currently selected. This is my
Sub Fetch_Unique_Names()
Sheets("Data").Select
ActiveCell.Range("A1").Select
ActiveCell.Range("E1:E2200").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
ActiveCell.Range("A1:A2176").AdvancedFilter Action:=xlFilterInPlace, Unique _
:=True
End Sub
View 4 Replies
View Related
May 9, 2008
I have attached a sample sheet. Can someone be kind enough to teach me how to count unique numbers of visible cells ( I would be applying filter in the table) in textbox 1; and subtotal of the visible list in textbox 2?
Right now the range to count unique numbers is set to A2:A15, but I want to be able to change that range to other ranges, like B2:b100, etc. I do not know VB.
View 9 Replies
View Related
Aug 1, 2006
I am designing a userform that involves a listbox that I am having trouble with. Please note I have little experience with vba, so I don't understand most codes.
I want to make a mulitcolumn listbox, populated with the attached pivot table. I really do not know where to start, and there is no "populating multicolumn listboxes for beginners" instructions anywhere on google or in here. At least, none that I understand.
What I am trying to create is a 2-column listbox, where in the first column, the "code" fields are shown, and in the second column, the corresponding " Name" fields are shown. In the pivot table, you can see how several routes fall under a service, and several services fall under a pc, etc.
View 9 Replies
View Related
Jul 29, 2006
I have one more question, for now... I am imputing a date into a cell that is too narrow for the date, so the cell outputs xxxxxxx. How can I get around this without changing the cell width.
View 10 Replies
View Related
May 15, 2009
I am having a difficult time with a calculation. I took over someone else's duty who is no longer with the company. The calculation used did not account for entire columns & the data I need to pull fromhas grown larger than the calculation. When I hit "F2" to manually change the data array, everything works fine until I hit enter and then the result displays as 0.0%. When I hit the insert function button, the result shows as the correct number. I tried copying the format only from an adjacent cell, but this did not work. When I tried to undo my changes, the cell still displays as 0.0%
The original calc is:
=SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$N$2:$N$45998=9,1,IF(cData!$N$2:$N$45998=10,1,0)),0) )/SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$N$2:$N$45998<>"",1,0),""))
The new calc is:
=SUM(IF(cData!$T$2:$T$65536="Internal",IF(cData!$N$2:$N$65536=9,1,IF(cData!$N$2:$N$65536=10,1,0)),0) )/SUM(IF(cData!$T$2:$T$65536="Internal",IF(cData!$N$2:$N$65536<>"",1,0),""))
The calc from the cell below the cell I am working in:
=SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$O$2:$O$45998=9,1,IF(cData!$O$2:$O$45998=10,1,0)),0) )/SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$O$2:$O$45998<>"",1,0),""))
View 3 Replies
View Related
Mar 4, 2013
The following code is allowing me to stop or go ahead and delet a value.
If value deleted then msgbox value deleted sucesfully.
The problem now is that if I press cancel i still get msgBox for valur sucesfully deleted even though value has not been deleted.
What do i need to change in the code?
Code:
Private Sub CB3_Click()
Dim v
v = InputBox("Enter a new version number")
Range("A1").Value = v
Dim Found As Range
[Code] .....
View 9 Replies
View Related
Dec 29, 2008
Why does a cell formatted as "text", display ### but shows the actual words when formatted as "general?"
View 13 Replies
View Related
Aug 1, 2008
I have about 1000 links (to files on a server) in my Excel 2007 spreadsheet. I would like to edit them all at once so the word 'link' is displayed but the link stays the same. I can do it for each entry, but have no idea how to do it all at once - is there a way?
View 6 Replies
View Related
Dec 30, 2008
i have a cell that i have to put a lead time into ( weeks ) ie 7-9 if i type this into the cell it throws up all sorts of things but i want it to display 7-9 trouble is i know i could do ="7-10" but other users use it and wont now that how can i format the cell so it just displays what is input?
View 3 Replies
View Related
Apr 3, 2009
I discovered the following Macro (on another site). What I'm attempting to do is make data entry simple by entering a date such as 012209 and have a macro convert the entry to 01/22/09 as a legitimate date field. On entering 012209, the macro displays a value of 09/01/2021 with an actual cell value of 1/9/2021. I expected a value of 01/22/09.
Entering 010109 displays a value of 01/01/2009 with an actual cell value of 1/1/2009. I expected a value of 01/01/09 (I can live with this, just didn't expect a 4 digit year).
View 6 Replies
View Related
Dec 6, 2006
I have a macro that computes the unique values in a column. I'd like to create a message box that displays the result of the macro.
View 9 Replies
View Related
Apr 2, 2007
I'm a novice at macros and spreadsheets and a Visual Basic Virgin!!.
I'm trying to work out how to increase a cell (B17) value from 1 through 5 then jump back to 1 and count to 5 again etc etc.
The value should be incremented every time cell B33 ="Yes" however there needs to be a 2nd event which resets the B33 trigger to operate again.
This is when cell B34 shows "New Race"
View 9 Replies
View Related