Link Dropdown States & Countries

Jan 7, 2007

I am trying to figure out the excel formula I need for a project. Basically i am try to do a lookup for Country/State. What I have is a column called Country and once called State on the first worksheet on the second I need to do the calculations that will allow user to select Country and the when they click on the State it shows only the related States based on the Country which are loaded on the second worksheet.

(EG.

COUNTRY = United States - will return/diplay in dropdown

STATE = New York
STATE = New Jersey

etc.

Yahoo IM: rmdyjoe

View 3 Replies


ADVERTISEMENT

Link Picture To Dropdown Box?

Aug 8, 2014

I am trying to associate pictures to a dropdown box. The pictures are on a separate sheet. The picture is to be displayed on E20 and the drop down box is in K20. Im not very good at VBA and I accomplished this once before using the =INDIRECT function. But for some reason it is not working now.

View 1 Replies View Related

Link The Different Dropdown Lists

Feb 27, 2009

I have a work book that contains various sheets with different information.
I have two different categories in one of the sheets,1 which contains counties and the other containing districts.

I have done a validation for the county which allows me to pick a county from a drop down list which works fine.I would like to create a drop down list for the districts aswell such that when i select i.e southyorkshire from the counties dropdown list,the districts drop down list will bring only districts in southyorkshire,excluding all the other districsts.hopefully i'll like the same to apply to all other counties.

View 7 Replies View Related

Link Two Dropdown List With Each Other

May 17, 2013

I have one drop down list in cell A1 and another in cell C1 with the same data. When I select something in A1 I want it to change in C1 also and the other way around. Is this actually possible?

View 2 Replies View Related

Link Dropdown With Vlookup

Jun 5, 2008

I have a drop-down menu which selects the type of product my company sells. On another sheet I have a 2-column table which lists product type (redundant with the drop-down) with its corresponding accounting code. I want to be able to select from the drop-down menu the product in question and have Excel lookup the accounting code associated with that product and display it in a column next to the drop-down. For example, on Sheet A, I select from the drop-down Frogger. Excel then looks at the table where I list out all products (Frogger, Tetris, etc) with their corresponding accounting code (1,2,3 etc) and then in the column to the right of the drop-down, it displays the corresponding accounting code.

View 2 Replies View Related

How To Link Form Control Dropdown Box To Formula Cell

Mar 9, 2014

I have an excel that has dropdown column from form control, in F4 there is a formula of vlookup that take the range from A2 to B20 in consideration but the reference cell that is given to vlookup formula to pick corresponding value is E4 which is also the reference cell of dropdown box and therefore its not showing any name rather than a value, problem with the formula is that when we select any name from dropdown it does not respond to any value in F4 despite changing values in E4.

I am using these setting for the first time.

Image & excel file is attached

drop down.png

View 7 Replies View Related

Dropdown To Link Other Sheet And Lookup Data For Last Cells

Aug 6, 2014

I have 4 sheets from sheet1 to sheet3, I typed code date and quantity which the code has 5 columns. In sheet 4 I have defined dropdown in I2 Cell(yellow fill) which has all code fromsheet1 to sheet3. So my purpose is that in sheet 4 I want to select code in I2 cell then it will appear in code column date and quantity automatically for the last cell of date and quantity. Note: I'm looking only the last cells when I select the code in dropdown.

View 6 Replies View Related

International Functionality - Type Mismatch In Foreign Countries

Apr 27, 2007

I've always found these forums a valuable resource while searching for answers to coding questions. My question today deals with international distribution of Macros.

I've written a macro and its been distributed worldwide. It works just fine on the multiple instances where people have installed it here in the US. However, two of my colleagues in Mexico and Brazil are recieivng Type Mismatch Errors. Here is the code that is crashing:

'Making sure I'm on the right page
Sheets("Summary").Activate
'resetting variables to the top of the page
Let intsummrow = 7
Let intsummcol = 1

' Loop to find the last column
Let vartemp1 = Cells(intsummrow, intsummcol).Value
Do Until vartemp1 = ""
Let intsummcol = intsummcol + 1
Let vartemp1 = Cells(intsummrow, intsummcol).Value
Loop

The precise type mismatch is occuring at:

Do Until vartemp1 = ""

vartemp1 is a variant variable which at this point is storing the cell contents
intsummcol is an integer variable storing the column number
intsummrow is an integer variable storing the row number

And through my follow-up testing I've confirmed that in my US based copy cell A7 does have text in it.

View 5 Replies View Related

Gather Countries From List Based On Sum (Index / Match / Large / Sumif)

Jul 2, 2013

I have a table of sales by month per account. Each account has an associated country, but there may be many duplicates of each country per month.

I want to create a formula which indexes the country field and gives me the country with the highest total sum for a specified date range. I'd like to be able to drag the formula down and have the country with the highest sales, then the second highest, and third highest, and so-on. Column ranges are specified below.

K - L - M - N
------------------------------------------------
Month
Year
CtryDsc
Rev

1
2011

[code].....

I was thinking of using an array function utilizing index, large, sumif, and match, but I am getting stuck. I'm honestly not sure if what I'm looking for is even possible, but in Excel, everything is possible, so there has to be a way!

View 4 Replies View Related

Sheets Based On States.

Feb 15, 2010

I had a worksheet with Employee name,Place,State & Amount Columns. I want the data in the MasterSheet to be copied into Individual Sheets based on Place & State. All The rows should be copied into one sheet based on the State of the respective Place one after the other. For Excel to Know which Place belongs to which State I had created the sheet match List.

The Data is dynamic.Each Day the data may grow or shrink depending upon the transactions at that place.I had shown how the data should be copied into individual sheets.

View 2 Replies View Related

Error In Udf Outside United States

Sep 5, 2007

I currently have an issue with some of my user defined functions. These functions work perfect for everyone here at my company in the USA / UK. The problem happens when we send it to our client who is overseas.

The client opens up the file and all they see are #VALUE! errors where our UDF's are being used. But when they send it back to us the file works properly.

I have currently added VBA code so that when the workbook and the user enables macro's the file will do an application.calculatefull. This still does not seem to work for them.

The excel version that I am running currently on my PC is MS Office 2003 Pro (11.8146.8132) SP2. The version that the client is running on their PC is MS Office 2003 Pro (11.8105.8107) SP2. Could this problem occur because of updates that they have not yet installed? I have been working on this problem for about a week now and have not come up with a solution.

View 9 Replies View Related

Removing Multiple States And Put Them In Their Own Workbook

Jul 27, 2009

Can someone please build me a quick VB code?

Below are states which are located in column "I". I need a VB code that will cut any entire row that has any of the following states below into a new collective workbook - if any of the states don't exsist then to just ignore and move on. They all have to be in the same workbook in the end.

If NONE of these states exsist, please just insert a msgbox ("No states to move")

(I basically need to divide West coast and East coast by removing all WC states and put them in their own workbook)

WA
OR
CA
MT
ID
UT
AZ
WY
CO
NM
OK
TX

View 11 Replies View Related

United States Map With Dynamic Colors

Jun 6, 2007

I'm trying to make a little dynamic map of the United States where each of the states change color based on a particular cell value that corresponds to that state. I've got the map of the United States in Excel and ungrouped so I have a collection of seperate shapes - one for each of the lower 48 States. I've named each shape (state) by it's postal abbreviation: TX, CA, NY, etc.

Now I'm trying to write a macro that will COLOR the state according to a numeric value in the cell next to the cell containing the State abbreviation. These are transit days to this state that I will calculate in another location. Like this:

TX = 3 days
CA = 1 days
OR = 1 days
NY = 7 days
KS = 3 days
FL = 7 days

View 8 Replies View Related

Calculation Order As The Title States

Jun 28, 2008

Calculation Order. As the title states.

View 2 Replies View Related

Define List In Workbook States Not A Valid Name

Jan 8, 2009

I have been working on creating a dependent drop down list and have been able to create lists (Insert > Name > Define) and it has worked for all the lists except 2. It will not allow me to create a list titled C or R. I get a pop up stating "that is not a valid name". Why is that?

I have a list for each letter of the alphabet except the letters C & R. No matter what I seem to do I just keep getting the pop up window stating that it is not a valid name. I also tried closing the workbook and restarting the pc and then trying but the same thing keeps happening.Thanks!

View 13 Replies View Related

Custom Sorting With Commas For City And States

Jun 20, 2013

I want to sort all of the "column2" by alphabetical order. The order will be first by state and then by city. For example the first box the column2 order should be (Fountain Hills, AZ) properties first followed by (Mesa, AZ) properties second followed by (Peoria, AZ) etc.... ending with (Flower Mound, TX) last.

The issue that I'm having is that when I create a custom sort the comma after the city indicates a new value being AZ. For example my custom sorting looks like this: Fountain Hills, AZ, Mesa, AZ, Peoria, AZ. This is limiting my ability to sort the files as is with city, state. I solved this issue by removing the commas after all the cities. This worked but was time consuming. Is there a faster way? The workbook is below.

Development Projects Mr Excel.xlsx

View 2 Replies View Related

States Listed In A1 And I Would Like To Seperate Them Into East And West

Oct 8, 2009

i have all the states listed in A1 and i would like to seperate them into east and west.

example if a1 have FL and want a52 to say East and if i put CA it would say West.

View 9 Replies View Related

International And United States Custom Cell Formatting?

Jun 27, 2013

I am trying to insert custom formatting into a cell so when I enter a set of 9 numbers for phone numbers in the U.S. and 14 numbers for international phone numbers, it will automatically display it in the correct format. Reason for the 0's on the international is because country codes often start with a 0, so I need to ensure it isn't removed from the number.

View 4 Replies View Related

VBA Code For Deleting Rows Where Cell In Column A States

Mar 20, 2009

I'm trying to get a VBA macro put together that would delete all the rows, throughout every sheet, and shift up wherever the cell in column A = "Delete Row" in a workbook I've made. In the below copy of the workbook you can see that a lot of the information from all the tables is linked to the topmost table on the 'Mix Detail Sheet'.

If the the Cell in column A is blank on that first table, its corresponding cells in tables throughout the workbook displays the words "Delete Row". I need the macro to delete the rows and shift everything up where this occurs.

Ideally I'd also like the macro to then delete the rows in that first table where the column A cells are blank.

View 5 Replies View Related

Functional Argument That Simply States To Display The Output As .843

Feb 4, 2010

column I row 11 has a functional argument that simply states to display the output
as .843 I need to edit it to .844 and I cannot seem to find out where or howto edit it.

There are others like this that I need to do too so I need to learn how to do it. Not just have someone do it for me.

ALSO as you can see this sheet displays #N/A all over the filled in cells... I would like them to be blank until I enter some pertinent info... I tried this is cell m7 BUT as you can see in m12 it goes back to the N/A

View 4 Replies View Related

Formula That Uses Link In A Cell To Create Offset Link

Jun 28, 2013

I have two worksheets, one with detail monthly information and one with YTD information. So let's say the three numbers I want to capture in the YTD sheet are in columns B, G and I on the monthly sheet. January's data might be in B5, G5 and I5. February's data is in B12, G12 and I12 and so on.

On the YTD sheet in cell C2 I link to Monthly!B5 and in C3 I link to Monthly!B12 so cells C2 to C13 on the YTD sheet show the monthly totals from column B on the detail sheet. On the YTD sheet, cells C20 to C31 show the monthly totals from column G on the monthly sheet, so cells G5, G12, etc. And finally, cells C40 to C51 on the YTD sheet show monthly totals form column I on the monthly sheet.

In the past I've always created all these links manually. After creating the links in C2 to C13 on the YTD sheet, is there a way to use a formula in C21 that uses the link in C2 to create a link for G5?

View 6 Replies View Related

MsgBox Open That States This File Is Confidential And You Click 'I Agree' Button, Or A Cancel "I Decline

May 19, 2007

Private Sub Workbook_Open()
MsgBox "Insert Text Here" , vbOKCancel
End Sub

What I would like to do is have a MsgBox open up that states this file is confidential and you click 'I Agree' button, or a cancel "I Decline"

I do not want the spreadsheet to be visible until they click on 'I Agree' button, and then if they click cancel, the Excel closes.

This is not a huge security issue, just a reminder for the Top Brass not to email out the file. This is for looks and show only

View 9 Replies View Related

Make Cell Mandatory If Another Cell States XX

Aug 30, 2012

How can I make a cell mandatory, if another Cell states XX?

For example:

If column B has "agency" then column C must be completed stating which agency was used?

However sometimes column B could say "no agency" therefore column c doesn't need filling!

View 1 Replies View Related

Contains Function: Function That States If A Cell In The Email Column Contains A String Or Value From The Names Column

Oct 13, 2009

On sheet 1 I have a list of 1000 firstnames
On sheet 2 I have a list of 1000 emails,

I need a function that states If a cell in the email column contains a string or value from the names column, it will result in a true statement so that I can separate out the emails that have these peoples first names.

View 5 Replies View Related

Dropdown Lists Data Went Selected Won't Show In Next Dropdown Only Remaining Data

Mar 11, 2013

I am trying to pull data from more than one drop down but don't the same data to show if already use, example as follow:

First drop down Contains:- Pants
Shirts
Hats
Shoes
Dresses

if I chose Hats it should not show up in the second drop down

second drop down Contains:- Pants
Shirts
Shoes
Dresses
Is this done in data validation or combo Box? if so how?

View 2 Replies View Related

IF Date Formula: IF Formula, That States If A Date Is More Than A Month After The Date In The Cell Then It Is Timely

Jun 2, 2006

I need an IF formula, that states if a date is more than a month after the date in the cell then it is timely and if it isn't then it is not timely. For example the date in A1 is 12/11/05, if the cell is A2 is 13/12/05 (or any date after that) then A3 should read Not Timely, if A2 is 12/12/05 (or any date before that, including a date before the date in A1) then A3 should read Timely. Is there any way to do this?? At the moment I am having to go through manually and put in either Timely or Not Timely.

View 2 Replies View Related

VBA - DDE Link

May 6, 2009

I have created a DDE link which is connected to Excel and refreshes on every change but the problem is it's only 1 row in height, so as new data comes in I lose the previous. Instead I want the old data to move down a row and I want this to continue as new data comes in.

View 9 Replies View Related

Using Variable In A Link?

Mar 26, 2014

I have a couple of workbooks, workbook1 pulls information from closed workbook2. The current link works fine, it returns the value that is in cell E10 from the worksheet 'Totals' from within the workbook 'Week 12 Yellow.xlsm'.

[Code]....

What I would like to do is make two parts of this link variable; Name (so 'Marc owens' in the above example) Worksheet (so 'Week 12 Yellow.xlsm in the above example)

As stated, the worksheet in the formula will be closed so I cannot use the 'Indirect' option. I have come across a lot of talk about the 'Concatenate' option but this this isn't working, don't know if its the way I have the formula or if I need something extra adding.

Cell A1 = name variable & Cell A2 = worksheet variable

[Code] ......

But this just returns "G:HelpdeskTotalsMarc Owens[Week 12 Yellow.xlsm]Totals!%E%10" in the cell the formula is in.

I've changed it so that it is

[Code] ......

But again I get "='G:HelpdeskTotalsMarc Owens[Week 12 Yellow.xlsm]Totals'!%E%10" returned which is the same formula as originally used (top of page) but it doesn't return a value.

View 9 Replies View Related

Link To MS Visio

Nov 27, 2007

is it possible to create a link from Excel to MS Visio, to a specific Visio worksheet?

View 14 Replies View Related

Highlighting A Link

Jun 7, 2008

I have created a data base of all the spare parts we have at work.

In the last column I have entered a hyperlinks that take you to a layout of the store and shows you where the part is located i.e. – 1C would take you to shelf ‘1’ level ‘C’ on the drawing in another tab in the same Excel workbook.

I would be pleased if anyone could help me by suggesting away that I can make the destination cell highlighted or more prominent once you have clicked on the link.

Also can I make the Find window automatically appear when the workbook is first opened?

View 10 Replies View Related







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