Data Validation To Automate Budget Codes In Cell Range?

May 6, 2014

Data Validation setup: "Allow" is: List "Source" is: =$E$12:$E$15

D___E____F
12__CA__CASH
13__OT__ONLINE TRANSACTION
14__DD__DIRECT DEPOSITE
15__AW__AUTOMATIC WITHDRAWAL

The codes in E column are what is entered in a worksheet range (user cannot see the list). Needed is to show both the two-character code in column E and the text definitions in column F in the dropdown. As data validation now works, users only see the two-character code and are not remembering what the code stands for - they need to see the definition.

Is there a way to show both the two-character code from column E along with the text in column F? When user selects, only the code would be entered in the target cell. (Is data validation the correct technique?)

I have set this problem up in closely located cells to construct the issue. In reality, the validation list is well off-screen from where the user is actually inserting the codes and there are many more codes/definitions.

View 3 Replies


ADVERTISEMENT

VBA Codes To Show Sheet / Tab Based On Data Validation

Mar 31, 2014

Is there any vba codes that can show tab/sheet that is based on the filter selection.

For example:

Cell A1 have a data validation of Apple, orange and Mango

I have 3 tabs named Apple, orange and Mango.

So every time I select Apple on the main in page filter. Apple tab will show. and if orange then orange tab will show.

View 3 Replies View Related

Automate Pop-up Error Message For Data Validation Purposes

Jul 18, 2014

Excel spreadsheet, that contains several columns. Three of these columns contain text data that is selected by using a simple drop-down menu sourced from a list. If an attempt is made to enter text data not in the associated list an error message is displayed. Easy so far.

I need need to extend the text data validation across all three columns so that only specific combinations of the text in the three columns can be used which is reflected in a further list. These combinations will be counted elsewhere and so needed. Therefore, if i attempt to enter a combination of text columns that is not reflected in the list, this too will present an error message stating 'combination not valid', or words to this effect.

View 2 Replies View Related

Data Validation List - Country Names Are Selections But 2 Digit Codes Need To Be Result

May 7, 2014

I've written a procedure that loads a list of country selections in a dropdown (see attached/vb editor/ThisWorkbook).

The problem is the valid values for this column need to be just the two digit country codes, not the country code +dash+country name. The reason the dropdown selections include both the two digit country code and the country name is because most users will not know the two digit codes. Presenting the selections in this fashion will make t much easier for the user to make the proper selection.

So here is what I need: When the user makes a selection from the dropdown list, the resulting value needs to be the two digit country code only. Is there a way to incorporate this formula .... =MID(B2|1|2) ... in the vba procedure which runs after the user makes a selection? Or, is there another way to accomplish this?

Example_COO.xlsm‎

View 10 Replies View Related

Forecast An Estimated Budget Based On Original Budget And Percent Complete

May 21, 2006

In the attached spreadsheet i have a budget amount, billed to date, %complete, %remaining and forecast figure. What i am trying to do is estimate the forecast spend vs the budget or billed to date and percent remaining. I am struggling with how to do this based on in some cases the budget is already overspent but the %complete is less than 100%. What i really want to do is create a forecast based on the billed to date or budget depending on which is greater and work out estimated spend based on whether the task is complete or there is still a % remaining.

View 2 Replies View Related

Create A Spreadsheet That Will Keep Track Of Budget Spent And Budget Remaining?

Dec 17, 2013

I am trying to create a spreadsheet that will keep track of budget spent and budget remaining.

I need the values to take what is spent from expenses claim forms that are filled out,

Each budget category has a code and within that code there are sub heddings

View 2 Replies View Related

Data Validation - Cell Reference To Named Range

Nov 7, 2012

If I have two cells and a named range mexico

A1, A2.

A1 contains the string: "mexico"
A2 is the cells that has required data validation (drop down list).

I want A2's validation reference to be dynamic, in the sense that I can it reference it to A1; converting the string "mexico" to a named range mexico

I tried inputting = INDIRECT(A1) into A2

But I lack clarity in my understanding of referencing.

What is the correct procedure here.

View 2 Replies View Related

Nested Data Validation: Figure A To Enforce Dual Data Validation On A Single Cell?

Aug 19, 2009

I'm trying to figure a to enforce dual data validation on a single cell. That is, I need to restrict the user to entering only a decimal value, only if a particular other cell (say A2) is blank. To put it another way, if A2 is blank, the user can enter a decimal value, but if A2 is not blank, the user cannot enter anything. I can use Data Validation to enforce either the decimal restriction or the ISBLANK, but I'm not sure how to make them work together.

View 2 Replies View Related

Automate Recorded Macro - Sort Range Of Cell Based On Two Values

Jan 23, 2013

I have recorded a macro to sort a range of cell based on two values that is dependent on time in another cell. I now want the macro to run automatically when refreshing the workbook with F9, so as the time changes so will the sorting. Everything works fine except the sorting doesn't refresh when F9 is refreshed.

My recorded macro is:

VB:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim X As Long, FillCT As Long
For X = 1 To 4
If Cells(Rows.count, 1).End(xlUp).Offset(0, X - 1) <> "" Then FillCT = FillCT + 1

[Code] .....

View 4 Replies View Related

Forumla To Give A Starting Number And Take One Away Each Time A Code Or Codes Are Dislayed In A Cell Range

Mar 22, 2009

In 1 cell i need a forumla to give me a starting number and take one away each time a code or codes are dislayed in a cell range. Something like this

A1 = 23 days or any number days i needed

Cell range B1:C52

every time a selected 1 or 2 letter code appears in the cell range i want A1 to subtract 1 day from the starting number, i would need it to subtract half a day if one code appears ie HD, the codes may be P, OT, HD

View 4 Replies View Related

Data Validation: Can I Use Data Validation In A Cell That Has Formulas In It?

Apr 3, 2009

I have attached a sheet that I am working on. I want cell G1 to be less than or equal to 165. That cell contains a formula. If the formula takes the number to over 165 the validation is allowing it.

View 2 Replies View Related

Equal Distribution Of Budget Data Based On Condition

May 6, 2014

I have written a code for equal distribution of Budget Data based on condition.

The user will enter annual budget number in Column K (highlighted in Green) and based on condition in Column N (highlighted in Yellow), the data will be divided by 12 and it need to be equally distributed from Colum P to Column AA. The condition for distribution is 'Y' (Yes)/ 'N' (No).

I have also attached the sample file.Budget_Input Form.xlsm

View 2 Replies View Related

Text Color Change - Cell By Cell Basis - When Budget Is Reached

Jan 20, 2009

I'm a business/application consultant for ERP software, and generally pretty solid when it comes to excel. However, I've come across a question for a personal sheet that I can't seem to solve.

In my personal budget worksheet, I'd like to set a budget on a cell-by-cell basis. When the budget is hit, I'd like the text color (or cell color) to change.

I.E. Cell D14 has a budget of $200. When I enter $200 in the cell, the text turns from black to red. I've searched through google with no luck. I have mildly searched this forum, but haven't found my direct answer - I have come pretty close though, in other languages

View 4 Replies View Related

Using A Named Range In Data Validation

Feb 11, 2010

Is there any way to use a Named Range in the "Source" field in a Data Validation? I have multiple sheets in a workbook that have the same layout, and I am using alot of different Data Validations. My problem is that whenever I need to change, or add a choice to one of these, I have to go to each sheet and change the Data Validations that are effected by that change. Is there a way to use a "Named Range" or something to put all of my acceptable choices, for that Data Validation, in one spot. And make any changes I had to that field.

View 2 Replies View Related

Data Validation For Defined Range

Mar 14, 2014

In Sheet2 I have list:

columnA (name)
ColumnB (region)

Audi
Euro

Ford
USA

Chevi
USA

VW
EURO

Porshe
EURO

I used manager name to define range:

Cust_Name = Sheet2!$A:$A
Reg_Name = Sheet2!$B:$B

Now, in Sheet1 I did data validation and I have:

A2 = list of name (from Sheet2, columnA)
B2 = list of region (from Sheet2, columnB)

How to do, like if I in A2 I will choose Audi or Porshe then automatically in B2 will show Euro?

View 1 Replies View Related

Data Validation In Range Of Cells

Nov 6, 2009

In need data validation in a range of cells (lets keep it to A1 for the example please). The data being entered is a 9 digit number, which needs to satisfy the following:

The 7th and 8th characters should be equal to an even number and be greater than zero, but less than 35.

Example 1: If 123456789 is entered in the cell, this would return an error because 78 (although being an even number) is above 35.

Example 2: If 987654321 is entered in the cell this would be allowed as 32 is an even number and less than 35.

View 9 Replies View Related

Creating Range Of Bar Codes

Oct 29, 2006

I am generating Barcodes in Excel with the Barcode Symbol Code 39.

When i enter the desired number in the cell, the Barcode for the entered number gets automatically generated on the previous cell.

eg: Barcode (A3)
Number (A4)
Empty cell
Barcode (A6)
Number (A7)

Now i want to generate a sequence of barcodes starting from so and so number and ends in so and so number.

Now the way i do is manually enter each number one by one which is a tedious work.

View 9 Replies View Related

Data Validation From Two Different Named Range Alternatives

Jan 28, 2013

I have a cell for which I need the only options for data to be entered from a list in two different tabs from which I understand cant be done but is it possible to have two drop down options for the same cell?

The attached spreadsheet should explain this slightly better...

View 9 Replies View Related

Data Validation List With Range Names

Feb 5, 2009

I have a monthly report showing actuals and budget for current month (or quarter) and year to date. Range names have been created for (1) each month, (2) each quarter and (3) year to date). I'm using the SUMPRODUCT function to extract information by account. For example:

=SUMPRODUCT(($A9=ACT_Account)*(ACT_Jan))

This formula works except I have to replace the "ACT_Jan" each month accordingly. Can a data validation list be created with the range names so that updating this formula monthly can be simplified? For example, changing "ACT_Jan" to "ACT_Feb" with a drop down list.

View 9 Replies View Related

Data Validation To Limit Total For Range

Jan 20, 2010

I have three codes (P, /P, P/) that could be entered in range H5:P5. P is counted as 1; P/ and /P are both counted as ½.

I have the following formula in D5:

=COUNTIF(H5:S5,"P")+COUNTIF(H5:S5,"P/")/2+COUNTIF(H5:S5,"/P")/2

I entered the following formula for data validation:

=SUMPRODUCT(--(H5:S5="P"))+SUMPRODUCT(--(H5:S5="P/")/2)+SUMPRODUCT(--(H5:S5="/P")/2)

View 9 Replies View Related

Data Validation: Avoid Duplicates In A Range

Jun 19, 2008

I have a range (offset based) which may increase by rows or columns whenever necessary.
In that I have data table like this:

HUNONETWOTHREEFOURFIVESIX
100110021003100410051006100
200120022003200420052006200
300180028003800480058006800
400140024003400440054006400
500150025003500450055006500

In the above table I want to enter in another column or row, a number which is not available in the given table (i.e. no duplication is allowed). (This table may grow both column & row wise). If, duplication is there the message box should say that the value already exist. And, if possible, the existing value can be colored with any color, so that we can easily find out where it is.

1) how to name a offset table and
2) how to avoid duplicate value when entered? Is data validation is one solution?

View 9 Replies View Related

Extract All Rows With A Range Of Zip Codes

Aug 4, 2009

Is there a simple way to find all rows in a 25,000 row worksheet, that contain zip codes from another, smaller, worksheet.

View 9 Replies View Related

Load Only Non-Blanks From Range Into Data Validation Dropdown

Dec 12, 2013

On the Control Panel sheet of the attached book, I need to load only the non blank cells from BQ3:BQ9 into a data validation drop down.

View 8 Replies View Related

Range Name + String As Source For Data Validation DropBox

Jul 16, 2009

I have several cells with data validation's drop Box. Every data validation uses a range name as source (myColorList). Here goes the hard part: I need a new value inside the dropBox list, but The problem is that I can NOT modify the "myColorList" range.

-- Is there any way to build up the dropbox source using the range name and the new value? Something like

View 2 Replies View Related

Set Maximum Number Of Entries In A Range - Data Validation?

Dec 8, 2012

Basically in cells b12:b26 (15 cells) I need to enter the type of item (which is limited to 2 items). I made a drop down list for that range which works perfectly, therefore the user can choose either item 1 or item 2 or blank. However, I need to figure out a way so that item 1 can be chosen a maximum of 10 times in the range, and item 2 can only be chosen 5 times in that same range..

I am assuming that you can't add that condition to the drop down list... So I was thinking of adding an extra column duplicating b12:b26 (c12:=b12 etc...)- and entering a data validation there.

I was going to enter the following:

if item 1 is chose : =NOT(COUNT($c$12:$c$26)>10) &
if item 2 is chosen: =NOT(COUNT($c$6:$c$6)>5).

However, for some reason it doesn't work - it doesn't block the entry if I try to enter 11 item 1s or 6 item 2s.

View 2 Replies View Related

Data Validation List With Criteria Using Named Range

Oct 30, 2012

I have been tasked with creating a data validation list. My data is contained on a separate sheet from my data validation list. I am using a named range to use the data for my data validation list. However, I am looking to add a criteria to my data validation list so that it only is populated with values based on another column on my data sheet.

For example, if I have a data sheet called "Employee" and I have two columns. Column A is a list of employee names and I have named a range in column A as "EmployeeName". Column B is used to define the category of employee. This value is a letter, for example, "A", "B", "C", or "D". This column does not have a named range as I don't know if I need one to get this to work.

I would like the data validation on one sheet to use a list of employees of a particular class from another sheet. Straight forward validation is easy using a validation list with a formula =EmployeeName. But how do I only list employees that have a category "A"? For some reason, I cannot get some of the formulas I have found while searching this message board to work.

View 7 Replies View Related

Data Validation - Change Range To Include New Listings

Apr 30, 2013

I have a list of names I used in data validation (dropdown list)....I need to add more names to the list....What is the best way to change the range to include new listings? Is the offset function suitable for data validation? How do you use the Offset function in data validation?

View 2 Replies View Related

Data Validation List :: Reference A Range Other Workbook

Nov 23, 2007

I'd like to create a list via Data validation-list. Anyone knows how to reference a range on another sheet of the workbook?

The range is =$Q$5:$Q$13

Is it possible to reference another sheet? If yes, how is is done?

View 9 Replies View Related

Create Range List Code For Data Validation

Sep 29, 2007

I am using following code to apply data validation list. However this code gives error Intermittently. The error message is 'Application defined or Object defined error'. Also this code looks little cumber some. Will really apprciate if any one can put some ligh on why is this error appearing sometimes. Do I need to change something in the code or add few extra lines. I feel following points will be necessary when you check my code

1. The data of validation list is stored under the column heading 'Reported_By_List'
2. Validation is applied on the range under the column heading 'Reported Through'
3. Start and last Cell Address Of the cells of the column in which data of validation list is
stored are extracted into the variables 'StartCellAddress1' & 'LastCellAddress1 '
4. Start and last Cell Address Of the cells of the column on which data validation will be
applied are stored are extracted into the variables 'StartCellAddress2' &
'LastCellAddres2'

Sub Validation1()

Dim wsName As String
Dim RValue As String
Dim WorkBookName As String
Dim StartRow As Integer
Dim StartColumn As Integer
Dim LastRow As Integer
Dim CellAddress As String
Dim ColumnAddress As String
Application. ScreenUpdating = False
WorkBookName = ThisWorkbook.Name
wsName = ActiveSheet.Name...........

View 3 Replies View Related

Automate A Dynamic Print Range

Jan 27, 2010

This one seems tricky to me. I have a spreadsheet which is being used to collect data. Depending on what is selected in my drop-down menus in row 8 (columns B-N) my print range needs to change. The goal is to create a button that allows the end user to select the range without having to find the end of the spreadsheet.

- I have attached a grid named “RANGE.xls” that shows the logic I’m looking to automate.

- I have also attached the data collections spreadsheet (FY10 Data Collection Tool_V0.6.xls)

The end users of this spreadsheet are very Excel naive and I’m trying to make this semi-idiot proof.

View 2 Replies View Related







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