Colour List Items By Type

Apr 16, 2007

I 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...)

View 9 Replies


ADVERTISEMENT

Count Produced Items By Type

Jul 29, 2012

I have a table lists producted items and quantities per weekdays as follows:

Weekday
Mon
Tue
Wed
Thu
Fri
Sat
Sun

Produced item
Yellow
Yellow
Yellow
Red
Green
Blue
Yellow

Amount
1200
300
790
275
942
612
421

What I need is: If I specify the weekday; to start from; and number of days, then I should get the total productivity by item..

For example:
Tue (i.e. starting weekday)
3 (i.e. number of days)

Results:
1090 - Yellow
275 - Red

View 6 Replies View Related

Data Type Of Items In Controls Collection?

Mar 2, 2008

I have a UserForm function which accepts as a string the name of a TextBox control on the form. The function returns a reference to the named TextBox control (or Nothing if the control does not exist). I have the function header defined this way:

Public Function TextBox(byval strName as String) as TextBox

The function returns a reference to the TextBox control like this:

set TextBox = Me.Controls.Item(strName)

(I know, the .Item is not required.)

The code which calls the above function first declares a TextBox object with this Dim statement:

Dim txtTextBox as TextBox

The routine then goes on to call the TextBox function like this:

set txtTextBox = TextBox(strTextBoxName)

When run, the above statement genrates a Type Mismatch error. I'm confused, because if I 'TypeName()' the TextBox function's returned value, it's "TextBox,".

I thought I could work around this problem by changing the TextBox function's return value's data type to Variant, but that produced the same result.

The only "solution" I've come up with is changing the TextBox function's return value's type (and any reference to the functions' return value) to Control.

I expected that the Controls object would behave similar to a Collection object in that it's items can be different types (TextBox, Label, CommandButton, ListBox, etc.) and no Type Mistmatch erros occur so long as the type of the item returned matches the type of the variable referencing that item. But is seems that Controls requires that any reference to one of its items must be type Control, not the actual type of the item returned.

I'd prefer not to use Control data rypes in my applcation, as that would require additional code in all of my subs and functions to ensure that any Control object passed to it is the correct type of control (TextBox, Label, etc.).

Can anyone explain what's going on here? Why shouldn't I be able to assign a TextBox type variable to Controls.Item("xyz"), so long as the item returned by Controls.Item("xyz") is type TextBox?

View 9 Replies View Related

Select Multiple Items In List And Then Print Those Items?

Dec 26, 2013

I am wanting to create a list where I can select multiple items within that list and then print only those selected items. I have created something similar thru data validation, but I can't get it to print.

In addition, I would like to be able to subdivide the list into multiple categories, then select items from these multiple categories and print them.

View 3 Replies View Related

Changing Background Colour Of Items In A Dropdown / Combobox On Userform?

May 23, 2014

I would like to know whether it is possible to change the background colour of items in a dropdown/combobox on my userform?

I have a series of times at 15 min intervals and i want, if possible, to distingish between 'working hours' and 'non-working hours' by making the background of these numbers 'grey'.

Maybe looping through from 00:00 to 07:00 i.e 28 times (28 x 15min intervals)?

View 2 Replies View Related

Created Validation Drop-down List - Can I Make The Row Now Change To The Colour That Relates To The Selection From The List

Jan 13, 2009

I am trying to create a fairly simple spreadsheet with about 8 columns and about 400 rows. One of the columns features a drop-down list with about 8 or 9 different options. Dependant on which option is selected, i would like the entire row to change colour with that option.

For example:
FAILED - whole row changes red
SUCCESSFUL - row has no fill
Tested - row changes to orange

etc.

Is this possible within Excel 2003?

View 9 Replies View Related

Creating A Unique List Of Items In Column A That Have A Corresponding Non-zero Value In Column B, I.e. Excluding All Items Where Sumif ColumnB Would Sum To 0

Jul 17, 2009

I know how to use array formulae to create a unique list, i.e.{=INDEX($G$1:$G$760,SMALL(IF(ROW($G$1:$G$760)=MATCH($G$1:$G$760,$G$1:$G$760,0),ROW($G$1:$G$760)),ROW()))}

however this is giving all the unique items from column G and I only want the unique items that have a non-zero value in column H as well. This would be the sumif of all instances that would have to be zero. I've tried to crack it and I've tried to search for solutions but so far no joy.

View 9 Replies View Related

Extracting Summary List Of Larger List Showing Only Items That Have Quantities?

Apr 11, 2014

It is a product list of office stationary with codes, descriptions and quantities. Using this spreadsheet we input into the quantity how many we want of the item, all well and simple you could call the list a stationary order form.

What I would like to be able to do with this Giant list is to have a function that would extract items off the list into a cleaner consolidated form. As in, if I wanted to order some of item A, C and F, I would like for the second table to just Show ACF without every letter in between or blank cells.

I know a simple method would be to have an IF formula to return the information to a new sheet that I could simply remove blank cell rows (unordered items) and ready for print each time. But I would love to know if there is a better way this could be achieved.

I have basic/intermediate knowledge of excel and can setup the data if need be in order for the function to work, but I can't seem to find the correct function for this project.

View 8 Replies View Related

Remove Items From DV List Once Used / Display Elsewhere / Reset List When Filling Across

Sep 13, 2013

It's a quarterly schedule for utility meter readers, divided up into days across the top, and routes/areas down the side.
There's a space with each route for the employee ID to go, depending on who's doing it.

Down the bottom of the sheet, there's a few empty lines for all the available employees who haven't been allocated to a route.

On the second sheet labelled EMP LIST, is all the employee IDs. It's also got the areas they work- it's for something I want to implement later.

I can put all the employees into a single column list, then use basic DV to give a dropdown menu by each route, to assign an employee to it. This is pretty straight forward. I've also been playing with this in combination with a countif, so that employees already assigned do not appear in the list.

This is about as far as I've managed to get with it.

I need to get the employees who aren't assigned to anything to appear in a list below the routes. I'm fairly sure this is just another countif, but I'm not 100% on the exact formulas.

I also need the list in the dropdown menu to reset for each day of the quarter, i.e. if I assign an employee to a route on the 30th day of the quarter, their ID will disappear from the list for any other route for that day, but will still be there for the other days of the quarter.

So far the only way I've managed to do this is by duplicating the employee list for every day of the quarter, which is going to get very cluttered, and also makes staffing changes difficult. I'm hoping there's an easier way to do this using one data set.

I've added an example of the sheet. It's one week and it's only got about 1/3 of the routes we would actually have on any given day.

scheduledemo.xlsx

View 1 Replies View Related

Getting Conditional Formatted Dropdown List Items To Keep Their Formatting In List

Feb 12, 2014

I found code online that I can put on my sheet to get my formatting properties to stay the same for the items in my dropdown list located on another page. However the code does not work for conditional formatted cells...which is what I need. This is the code that I have that will carry over regular formatted cells. Just not Conditional formatted cells.

View 1 Replies View Related

How To Create A List Of Items For Use In A Dropdown List With Data From A Different

Mar 17, 2007

I Attached a sheet for what i'm asking about ,, i sent it before but the sheet showing it more clearly

View 10 Replies View Related

Count How Many Items Found In List Based On Another List

Oct 27, 2009

I have a list of names in B8:B200 (unique)

I have another list of names in I7:I15

I want to count how many names in B8:B200 that matches any of the names listed in I7:I15.

View 4 Replies View Related

Reducing List To One Of Each Type?

Jan 17, 2014

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.

View 11 Replies View Related

Drop Down Combo Box List On Type

Feb 17, 2009

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 Related

Cell Return All Matches From A List And Have The List Of Matches Reduce As You Type

Jan 28, 2009

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 Related

Colour On Drop Down List

Oct 13, 2009

I have a drop down list, and i am trying to add colour on each of the options in the drop down list, so it highlights that cell/selection with the correct colour

View 9 Replies View Related

Type Letter In A Cell And List Of Words To Come Out

Mar 19, 2013

I 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.

View 2 Replies View Related

Educational List: Able To Type Progress Comments

Feb 26, 2009

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).

View 3 Replies View Related

Automatically Fill From Dynamic List As I Type

Jun 10, 2009

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.

View 6 Replies View Related

Drop-Down List With Auto Complete As You Type

Aug 12, 2009

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...........

View 5 Replies View Related

Dropdown List With User Response Type-in

May 18, 2007

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?

View 2 Replies View Related

Filter List By Colour Of Text

Jul 8, 2012

I have a list of data (about 8K records) and I have identified those that are duplicates by changing the text colour to blue. Now, I want to remove the data that is black (and not duplicated).

View 8 Replies View Related

List Building Based On Cell Value Or Colour

Jun 18, 2014

I am trying to create a Macro/VB code that will build 4 lists based on a list (see attached example).

I have a list of applications and the numbers of users having them installed on their computers, these applications are marked using a RAG status (Red, Amber, Green & NBR No Business Requirement) on a seperate work sheet i want to split them by these RAG statuses, the status of applications changes as they are packaged for SCCM, so the RAG status will be changed, so i want the code to be able to rebuild the lists at any time to obtain an accurate view of the numbers at each status.

View 6 Replies View Related

Colour Formatting Rows By Validation List

Feb 12, 2008

My Objective: Simplified
Assuming a range A1:G15
A Validation list in column H

The Validation List options are: Blue,Pink,Green,Black,Grey,Yellow,Orange and None or '

how I create a Case Select code to change, the row range dependant on the option selected in the validation list.....or most efficient code to achieve my objective.

Or the most efficient code method to achieve the outcome I am seeking.

What I can't figure out 1:
How to incorporate the validation list selection to recognise the colour option selected.

What I can't figure out 2:
I want to be able to format a row any of colours in the list, so if it is black, would I need to clear the black format before changing it to say Orange, or is it possible to go straight from black to Orange?

What I have tried:
I am aware of the limitation of three formats using "Conditional Formatting" so want to expand the colour formatting possbilities using code, by selecting choice of format colour from a validation list.

I did a macro recording, selecting the appropriate option within the Validation List, and then formatting a row range....I experimented with the resulting code to no success, although I have a copy of VBA and Macros for MS Excel....theres a lot to think about....and I can't quite grasp what's required.

Code I have used in the passed for a similar but different worksheet:

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Err_Handler

View 9 Replies View Related

Excel 2010 :: How To Change The Background Colour In A List Box

Nov 5, 2013

How do i change the background colour in a list box?

An example is attached.

View 2 Replies View Related

Automatic Auto Filtering: Filter The List And Have A Box For Users To Type In Text

Aug 25, 2006

I 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.

View 8 Replies View Related

Colour Rows Based On List Colours (No Conditional Formatting)

Oct 3, 2012

As far as I can tell Conditional Formatting will not work for this problem.

What I need now is some code to colour the rows in the data sheet ("Standards_Data"), so some other code (which is working fine) can then colour data points on a multiple graphs (which will be on the "Graphs" sheet). I've played around with as much code as I can find but nothing has the flexibility that I need or doesn't seem to work at all.

The idea is that users can adjust the colours using the Column A on the "Graphs" sheet to best highlight certain things. Also this list could then be edited as old Standard ID's become redundant and new ones come on line.

So in a nutshell: Colour rows in "Standard_Data" based on value of Standard ID (Column 4) according to the corresponding colour found in the list in the "Graphs" sheet.

I've attached a trimmed down version of the workbook.

View 4 Replies View Related

Output Certain Items In A List?

Apr 30, 2014

I'm trying to accomplish the attached. This is just an example of what I want to do. There are no formulas in this spreadsheet.

Spreadsheet 1: Search by Number

Column A is a list of names

Column B is a list of numbers

Column C is a list of the names that correspond to the number "1" from Column B. Note that there are no blank rows between the names.

Spreadsheet 2: Search by Name

Column A is a list of names

Column B is a list of offices

Column C is a list of the names that correspond to office "Williams" from Column B. Note that there are no blank rows between the names.

I have used the index & match formulas to do this WITH duplicates or blank rows, but I would like to produce this without duplicates. I am willing to get as complicated as need be to make this happen.

View 3 Replies View Related

List Items That Has Been Booked Out

Jan 10, 2013

I have sheets with list of goods and in the last column I have a dropdown box you can choose - book in or booked out. See attached file.

On another sheet I want a list of all the items that has been changed to booked out.

View 3 Replies View Related

List Of Items In A Column

Nov 1, 2007

I have a list of items in a column. I would like to have a userform pop up with a list box (?) of all the items and I want to be able to select multiple items to perform an action on the row corresponding to the selected item.

I am thinking of other examples I have seen where there are two list boxes (?) and then arrow buttons between them. When you click the arrow the item moves from one list box to the other to see which have been selected.

I have never used list boxes before so if you have a link to some sample code that would be useful.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved