Reducing List To One Of Each Type?
Jan 17, 2014Supposing I have a list where each data set appears multiple times. How do I by formula make a list of the unique values?
I've uploaded to show what I mean.
Supposing I have a list where each data set appears multiple times. How do I by formula make a list of the unique values?
I've uploaded to show what I mean.
Is it possible to do a drop down list that allow user to select pre-defined selections but everytime when a selection is chosen, the list reduced?
Example,
I have can choose Apple, Orange, Durian and Mango.
The drop down can only select these 4 fruits.
So there are 4 cells in Column A1, A2, A3, A4.
A1 selects Mango and then A2 will only have 3 options to choose. So until the last cell, he can only choose the last fruit left.
A1, A2, A3, A4 are not selecting in descending order thus it could be A3 selecting first, then A2 and then A4.
I'm using excel 2007
Leith was kind enough to to put a great combo box together for me (see attached). Is it possible for the drop down list to open on type or do you always have to click the arrow?
View 3 Replies View RelatedI have a standard pull down list in a worksheet containing names of rivers, canals, lakes etc
Is it possible to colour code by type so that all rivers in the list are coloured - say blue, canals - brown etc...
Each name in the list has the designated type included i.e River Thames_Ri
(_Ri = river, _Ca = Canal etc...)
is it possible to have a cell return all matches from a list and have the list of matches reduce as you type, then be able to select one item from the list? this is a typical feature on internet sites, but can it be done in Excel?
View 3 Replies View RelatedI have a big list of words (raw materials). Can I for example use column1 in which if i type one letter a list of words that begin with this letter to come out so i can choose one.
Or I have for example:
Label 1
Label 2
Label 3
And when i type L in cell A1 list of them to be shown and I can choose one.
i have this attendance list i found(attached). it works excellent except i would like to add to its functionality.
1. at the end of each week for each student i want to be able to type progress comments
2. i would also like it so each students name can 'drop down' to basic contact info (address, contact #, emergency contact # date).
I am not sure of what is it called, but I would like to be able to start typing in a cell and it to start giving me options until there is only one.
Right now I have 9 dynamic lists with anywhere from 5-20 names per list and I have a report form with multiple data validated drop down lists each pulling from a separate dynamic list. This works ok, but as the user tabs to a cell with the drop down, they must use the mouse to initiate the drop down and then select the right data. Even if the user types the right data into the cell, it will not pass validation. Is there a way to start typing and it to keep throwing away things until only one option is available and then be able to use the tab button to enter that data into the cell and move to the next cell? Or as another option how hard would it be to activate the drop down when the cell is selected and then use the arrow keys to select the right one and tab to the next cell? I would want to be able to tab through the cell if no information was needed from that dynamic list.
I have a large list of data records, 600+, and would like to use List Validation but find EXCEL's default Validation not appropriate for such long lists. What would be perfect is similar to what you get in Access, when you type in part of the record string required, a drop-down list appears and shows you the record entries that have that string within them and not necessarily in character order, quickly wittling down to the few records that apply and then use your arrow keys to move and select the correct record, etc. Example, I own a salon, and many shampoo ranges have many similar products:
Superstar
Superstar Blow Dry Lotion
Superstar Leave In Conditioner
Superstar Shampoo
Superstar Conditioner...........
I know how to create a basic dropdown list, but what I don't know (I don't even know if it is possible to do at all) is how to allow user type-in response if the "Other (please specify)" option is used.
Column A
Question 1. What type of report are you using?
Column B will contain
Type I Report
Type II Report
Other (please specify)
If Type I or II is chosen from the list, I don't want user to be able to change anything. But If the Other (please specify) option is selected I would like to give user an ability to type in type of the report he/she is using. Also, is there a way to have list options chosen based on another list response?
I have a spreadsheet which is currently about 10 MB, I would like to reduce this as much as possible.
I am using lots of Vlookups but on each I am only referencing the data I need, there are also quite a few macros.
I paste value all the formula I do not need.
I don;t know if there is a way around this but we have a Excel workbook that holds around 14 worksheets taht is getting too large. It currently is around 2.5mb and we constantly use it as a template which is completed and emailed. Sometimes we have to email 4 of these all together and so teh email is too large, even zipping them has next to no effect on the size. The sheet that seems to causing the problem is one that has around 500 lines of formula across 20 columns. Most of these fields have conditional formatting and its this taht is boosting the size.
View 6 Replies View RelatedI have a list of a couple of thousand (and more) individual items. I want to filter the list and have a box for users to type in text (there are no numbers) and the results will be seen automatically reducing in number as more text is entered. (Similar to the Windows HELP files )
eg, typing A (or a) will show all entries beginning with A (without pressing
"Enter" or similar
typing AB will show only entries beinning with AB
typing ABO will show .........I guess you will understand the idea.
I have tried various forms of Filter - Auto and advanced - but still cannot get the spreadsheet to do what I want. Unless I am not doing the Autofilter (or Advanced filter) correctly (I am still a relative beginner!) I still cannot find a way of simply adding letters to a cell or input box and the filtering takes place 'automatically' as the letters are added.
I would like to take a date and reduce it to single number. Eg.
Reduce the day to a number. Reduce the month to a number. Reduce the year to a number.
Add the 3 together. This gives you a number.
Reduce this number to a number.
e.g. today's number date 30 / 03 / 2007
Day is 30
Month is 3
Year = 9
Sum of these is 15 which reduces to 6.
3+0+0+3+2+0+0+7=15
1+5=6
Basically 9 is the highest number. The number 13 would be 1+3=4 and so on. The idea is to return a single number between 1-9.
i want o make some command buttons on a sheet with the width 50 and when you move the mouse over to any one the width of that one should increase to 300. when you move he mouse over to the other one the size of the previous one should return to 50 and the new one (now under the mouse) should be 300.
i have written the code for it how ever it tends to increase the width twice i.e. it will increase the size of the command button, then reduce it to 50 and increase it again. this action makes it look like it flickering
Code below
Code:
Option Explicit
Dim sShapes As Shape
Dim ActShapes As Shape
Dim wsStart As Worksheet, WsNew As Worksheet
Dim wd
Dim mybutton
Dim ShapeChk As Boolean
[Code]....
I have a piece data acquisition hardware which stores data every 5 minutes into an excel sheet, I need to reduce the resolution of the data to every 30 minutes, currently I am doing this by deleting five rows leaving one and repeating the process, there is however 9285 rows
I am assuming there is a macro which can do this far quicker than me.
i have a simple if statment
If cboname.Value = Sheets("Data Sheet"). Range("E2") Then
txtpay.Value = Sheets("Data Sheet").Range("F2")
End If
this need to be done for a large list of names and input into another sheet. what i wanted to know was if there is a quicker way of doing this code without repeating the code loads of times
Here's my problem.
Charter default premium is a calculated as a rate on outstanding charter hire.
Therefore if charter period is 1 year and daily hire is 20,000, outstanding charter hire (policy limit) at inception would be 20,000 x 365 = $7,300,000
However, by day 365 outstanding charter hire and prevailing policy limit would only be 20,000 x 1 day = $20,000
The premium is calculated on a daily pro rata basis on the reducing outstanding amounts.
I've calculated the premium on the attached spreadsheet assuming hire is monthly not daily, but it would be too laborious to try and calculate that for 12 months or more on a daily basis. What I'm hoping is that there's a formula, covering the range of data, presumably using the calculation on the first day and the last day, but which cuts out all the intermediate steps.
I have an issue with a combo box and radio button.
Anytime I click on either of them, they reduce in size.
It's as if it is reducing by the same ratio every time until you can't click on it anymore.
I can't figure out a solution.
4 columns, thousands of rows.
Column A has alphanumeric data that can appear, once, twice, 3 times or 4, but never more than 4.
I want to see this spreadsheet so that each piece of data in column A is presented only once.
The information in the other 3 columns isn't important for what I want to do, so I need to reduce 20000 + rows, which includes many duplicates in Column A to about 5-60000, but need help figuring the correct formula/macro ....
I have columns of geological data in number form which may have about 4 or 5 decimal points. I want to reduce them to 2 decimal points without rounding the numbers up. Is there a simple way to do this?
View 4 Replies View Relatedi am trying to get back to the original purchase date of an asset.
It has being depreciating using the reducing balance method.
I have the Net book value of the asset currently, the original cost and the depreciation rate.
However i do not know the quickest way in excel to work back to the original purchase date.
See attached file for examples and my long workaround to estimate purchase date.
1. Is there a VBA Function equivalent to the FIND() function, If so What is it?
2. Let's say Im Putting a Date into a inputbox, what is the type # for date (Type:=?)??
I'm using this formula to pick all rows from a huge range of cells "DATA" in another sheet, by matching the first column value (SAPDATA is the range that contains all the first column cells of DATA).
{=IF(ROW($B49)-ROW($B$48)>COUNTIF(SAPDATA,$D$4),"",INDEX(DATA,SMALL(IF(SAPDATA=$D$4,ROW(SAPDATA)),ROW($B49)-ROW($B$48)),2))}
All possible first column values have been stored as a dropdown in cell D4, and whenever I change the choice in the dropdown cell, the retrieval of those hundreds of rows takes ages in excel.
In my spreadsheet below I want to be able to enter a sales number for January, the value of cell F2.
I want cells F3 thru F12 to automatically calculate according to the "Growth Per Month" value in cell H1.
Example: If January sales are 20,000, then February should calculate to 21,000 (january * 105%).
Excel Jeanie HTMLSheet1
E F G H 1 2010 Per Month Sales XXX 5% 2 XXX XXX 3 February $ 10,000 4 March $ 5,000 XXX 5 April $ 2,500 6 May $ 1,250 7 June $ 625 8 July $ 313 9 XXX $ 156 10 September $ 78 XXX 11 October XXX 12 November $ 20 XXX 13 December $ 10 14 $ 39,990
Spreadsheet Formulas Cell Formula F3 =F2*10*H1 F4 =F3*10*H1 F5 =F4*10*H1 F6 =F5*10*H1 F7 =F6*10*H1 F8 =F7*10*H1 F9 =F8*10*H1 F10 =F9*10*H1 F11 =F10*10*H1 F12 =F11*10*H1 F13 =F12*10*H1 F14 =SUM(F2:F13)
I'm trying to write a Macro that, in the active sheet (which contains plenty of data), deletes rows according to several criteria, for example:
- if cell(i, ar1(j)) = ERROR, delete row i and shift 1 up
(ar1 is an array of column numbers)
- if cell(i, ar3(j)) = 0, delete row i and shift 1 up
(ar3 is another array of column numbers)
Etc.
The problem is that, when I run it, I get a "Type Mismatch" error message, and I don't understand why. Here is the
Sub Delete_invalid_rows()
Dim i%, j%
Dim Nr%, valid As Boolean, BYPdata As Boolean
Dim ar1, ar2, ar3, ar4 As Variant
Nr = 1379
ar1 = Array(11, 14, 19, 20, 22, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 104, 106, 107, 109, 112, 116, 126, 127, 128, 129, 131, 133, 134, 135, 136, 137, 138, 139, 140, 142, 143, 145)..............
As shown in the below image. I have some data from A13 to I 13. Currently if I put the cursor on A13 and press DELETE button then all the formatting from A13 to I13 goes off. But the data still remain there.
Is it possible then when I press DELETE the content of A13 then all the data from B13 to I13 should also get deleted ?
Excel Jeanie HTMLSheet2 *ABCDEFGHI13Key FieldEmp 11 2 4 8 5 3 7 Excel tables to the web >> Excel Jeanie HTML 4
I am trying to type in a number and have it populate in specified areas like on Monday then go to the next Monday an in put of the same value.
View 8 Replies View RelatedI got problem with typing hyphen in the cell. Every time I type it shows something else like C9, D6 and so on.
View 6 Replies View RelatedI am getting a type mismatch with the following:
HTML Code:
Private Sub Export2Pdf()
Dim sFileName As String
'Create file name
sFileName = Range("employeename").Value & " - Payslip" & " - " & _
Format(Range("enddate").Value, "dd mm yyyy")
[Code] ........
something to do with this:
HTML Code:
sFileName = Range("employeename").Value & " - Payslip" & " - " & _
Format(Range("enddate").Value, "dd mm yyyy")