Creating Dependent Cells...

Mar 11, 2009

I have two columns with correlating data. i created a validation drop down list and would like the corresponding number to populate a cell based on the drop down list selection. i.e....

View 2 Replies


ADVERTISEMENT

Creating Lists Dependent On Each Other

Jul 29, 2006

how to do this and I just can't seem to figure it out...I've come close, but something always seems to be incorrect when I try to do it.

So what I have is 5 column sheet (please see the attached file).
What I would like to do is have the 1st column (Main Folder) be a drop down list and have the other 4 columns dependent on the 1st.

So for example, if I choose Business Hierarchy then in the Subfolder, Subfolder2 there should be nothing shown and under the Attribute column, there should be:

ALL
BUSINESS SEGMENT
REGION
AREA
OPERATING MARKET
COMPANY
MASTER COMMUNITY
COMMUNITY

shown to the user.

Or if I were to pick Unit from the Main Folder, then in Subfolder Unit, Unit Options, Unit Budgets, Dates, etc. should be shown while in Subfolder2 the items for Corresponding to Dates should be shown.

Currently the description box is blank, but will be needed to correspond just with the pertinent main folder selection as well.

Please let me know if you guys have any suggestions, I greatly appreciate. I'm still learning how to do this kind of stuff, so please forgive me again for having trouble with this.

I also understand that if I were to cluster the information in the Attributes column into single cells such as:

ALL
BUSINESS SEGMENT
REGION
AREA
OPERATING MARKET
COMPANY
MASTER COMMUNITY
COMMUNITY

into one cell, then it is very simple, but I do need the seperation between cells due to the description column.

View 9 Replies View Related

Creating Dependent Lists On First List?

Dec 4, 2013

I have been having alot of trouble and have read alot. I can't seem to figure out the problem. I am currently working on an excel sheet that will select a name from the first drop down list. Based on that name five other list will be generated just on the first selection.

View 3 Replies View Related

Creating Dependent Dropdown Lists?

Sep 23, 2011

I am trying to get a listbox I created in from DataValidation to be dependent on another list.

For example, when I select Course 1 (a list item) from the Course List drop-down, I want the cost to auotmatically populate in the Cost drop-down (the other list).

How do I get this to happen? Here is the code I created in VB, and I am not sure if this is the right course of action:

Sub Automated()
Sheet1.Cells(2, 1) = "MATLAB"
If (Sheet1.Cells(2, 1) = "MATLAB") Then
Sheet1.Cells(2, 3) = "31"
End If
Sheet1.Cells(2, 1) = "INCA"
If (Sheet1.Cells(2, 1) = "INCA") Then
Sheet1.Cells(2, 3) = "41"
End If

[code]....

I don't want to use the user form, however from VB. I want to use the regular drop-down. The code seems to work, but, each list item in the drop-down is not pulling the data I want it to. I need to activate the drop-down as a click event somehow. It's just recognizing the cell A2 as a whole and not the individual list items. I want to each list item to be their own object, and to automatically populate the cell C2 with their cost when they are selected.

View 3 Replies View Related

Creating Dependent Dropdown List NOT Using INDIRECT

Jun 20, 2014

I need to create a data validation drop-down that is dependant on what has been selected in another drop-down. However, all the solutions I've come across online so far suggest using the INDIRECT function, which is not appropriate in my case. This is because the data upon which the two drop-downs are based on is itself dynamic. My specific situation is this:

In one sheet, I have a list of university names in one column, and in the next column a list of faculties. The same university can appear multiple times in the sheet (once for each different faculty at the university). This information will be added to regularly, with new universities and new faculties added often.

In another sheet, I want a drop-down in one column that takes its validation from the list of universities. I then want a second drop-down that is only populated with a list of faculties at that university. The INDIRECT solution seems to only work if I can define a static range of cells from which to draw this data. How do I do it in my situation above?

View 3 Replies View Related

Formatting Cells Dependent On Other Cells Relation To That Cell.

Jan 4, 2010

i have just read the thread started by scabertrain regarding "if" conditonal formating, but mines slightly different and i cant make head nor tale of the fomula shown.

So... Monthly budgeting... using a projected outgoing (A1) and an actual outgoing (A2) i want the colour "A2" to change depending on whether i have spent over the budgeted amount, green being underspent, orange for on target and red for over spending....

Example:

I predicted (A1) that i was going to spend £50 on a night out, but my actual spending (A2) was £100, i would like A2 to turn to red.

View 3 Replies View Related

Dependent Drop Down List With DEPENDENT DEFAULT VALUE

Jan 22, 2010

Situation:
I have two drop down lists 1) Country and 2) States/province

Country has list: [US, Canada]

If "US" is selected, [Arizona ,Florida, NewYork] is listed in the 2nd drop down list
If "Canada" is selected, [Alberta, Ontario, Quebec] is listed in the 2nd drop down list

Scenario:
First, I select "US" and choose the states to "Florida"
Next I change the country to "Canada" and forgot to choose province
Then, the 2nd dropdown list is changed to [Alberta, Ontario, Quebec],
BUT the current value is still "Florida"

Probem:
Now I have "Canada" and "Florida" selected in the sheet

Question:
If the primary list is changed, can I make the 2nd drop down list to show a default value (e.g. blank or the first entry i.e. Alberta)?

View 11 Replies View Related

Count - Dependent On 6 Cells

Dec 7, 2013

I have a spreadsheet that I'm trying to fill with data. There's a lot going on in the sheet, but 1 really useful thing I could incorporate is a running count.

Explanation: I have about 2000 rows of data at the moment.

A row would be finished if it's column J,K,L,M,N & O have data (text) in ALL of them; IE 6 cells of data in order for it to be complete.

So, a running total. If say 200 rows have data in J to O (all 6 cells) the count would show 200. My rows of data start from Row 5. I'd like to add the formula to cell N2.

View 7 Replies View Related

List Of Dependent Cells

Apr 24, 2008

Is there a way to quickly create a list of all dependent cells?

View 9 Replies View Related

Referencing Cells Dependent On Sheet Name

Oct 28, 2008

I have a workbook that has a number of sheets with various project stages and dates on them. These details are arranged in small tables displayed vertically down the page. Each worksheet's name is the project code - e.g. 30033_99

I have now been asked to create an overview page that displays all these stages and dates on one page. What I'm trying to do is get Excel to look at the column with the project code and then pull information from the worksheet with that name.

View 4 Replies View Related

Cells Dependent Upon How Workbook Is Opened

Jun 9, 2009

I have a workbook with about 30 tabs in it. It is currently protected by a password. The workbook itself has a couple of 1000 formulas across the tabs.

What I would like to do is to lock certain cells on each worksheet depending upon if the workbook is opened as "read only" or "in edit mode" (when someone uses the password).

So when someone uses the correct password, I would still like certain cells to be locked, or after the initial password is entered for editing, another popup box with "would you like to edit cell formulas? Y/N (only on selective cells), if no, then no editing on those cells allowed, if yes, then prompted to input another password to do this.

View 14 Replies View Related

How To Highlight Cells Dependent On Time

Apr 11, 2014

I would like to know if it’s possible to make Excelhighlight a cell dependent on another cells Time. Here is the link to thespreadsheet I have created. [URL] WhatI would like is cells with the times above them (G5 through AJ5) to automaticallyhighlight dependent on the time in the cells (C6 and D6) I highlighted the cellyellow to show what I mean. T

[URl]

View 4 Replies View Related

Deleting Rows That Have Dependent Cells. Prevent !#REF Value

Oct 27, 2007

Deleting rows that have dependent cells.

I have one sheet that uses a very simple formula for copying certain values from one cell to another sheet “=VALUE(Sheet1!B5)”.

My problem is that rows have to be deleted in sheet1 as the information eventually becomes expired and the following is displayed in my cell in
sheet 2 “=VALUE (Sheet1!#REF!)” Is there a work round this, to prevent the formula showing a #REF! Value.

Row 5 is replaced and the same formula has to be re-entered. Excel 97 used in our office unfortunately.

View 10 Replies View Related

Formatting Cells Dependent On Results From Other Worksheets

May 30, 2009

I have a workbook with three sheets.

Sheet 1 is an original 'in progress' work.

Sheet 2 is a copy of sheet 1 taken on a particular date.

Sheet 3 is information extracted from Sheet 1.

On sheet 3 what I need to do is change the font colour of a cell to red if the information it contains in relation to Sheet 2 is different i.e Sheet 1 cell and Sheet 2 cell are different

For example

Sheet 1 cell value = Deb
Sheet 3 cell value = Deb
Copy of sheet 1 taken to create sheet 2 on a certain date
Sheet 1 cell value changes to = Bed
Need Sheet 3 cell to change to = Bed as it is different from sheet 2

I did try conditional formatting but it will not work with info. from another worksheet that I can see. Maybe someone out there has another solution.

View 9 Replies View Related

Dependent/Linked Drop Downs In Cells

Apr 29, 2008

Now he has another task that I am not having any success with. He has asked if we can make an Excel spreadsheet that allows us to access a list of customer units from a drop down menu which is in another workbook, and once you choose that particular unit, another drop down menu will allow only those customers who are assigned to that unit to be selected from that sub-menu. I hope that makes sense.

Say customer A1 (we will call him Delta Co, 2-1 Aviation) is selected from this first drop down menu (which I haven't figured out how to make yet either). Then this selection would access another worksheet in that other workbook with a new drop down menu with only the four customers in that unit. As an example we will use the names SSG Wilson, SGT Jackson, SFC Jones, and SGT Phillips.

So when the Supply Tech here opens the spreadsheet, the first drop down menu, he will select Delta Co, 2-1 Aviation. Then the next menu will only show four names, and he will select SFC Jones.

Once we get this going, I may be able to figure out the other things the commander wants, if not I will be back.

View 9 Replies View Related

Excel 2013 :: Lock Cells Dependent On Another Contents

May 23, 2014

I am looking for a macros to lock a cells dependent on another's value.

I have a spread sheet for quote numbers I don't want the employees to take a quote number (A) unless all cells have been completed in cells (C-K).

however there is another condition within this where if cell K says yes then lock Cells N O and P, however if it says No these cell must also be completed to take a quote number.

I have also added a macro to force enable macro with a welcome page and a macro to log the user name date and time of entry, I don't want to loose this it seems each time I try a macro for the locking cells or data validation it disables these macros.

View 1 Replies View Related

Gantt Chart: Color Cells Dependent On Criteria

Dec 5, 2006

I have a list of task owners that are assigned tasks. The tasks are mapped out in Gantt chart form with time shown by an "X".

what I want to do is to colour the cells "X" with the associated cell colour of the task owner and should the owner change, the cell colour changes.

View 5 Replies View Related

Change Validation List Value And Copy / Paste From Dependent Cells?

Jun 12, 2014

I have a sheet which autofilters according to a validation list in cell E2 using the code.

I have then used subtotal arrays to calculate the mean, median, max, min and total count for whichever values the filter shows.

What I want to do next is have a code which will select each possible option from the validation list (triggering the autofilter) and copy and paste the values from each dependent formula into a new sheet.

Attached File: dummy 1.xlsm

View 7 Replies View Related

Conditional Formatting To Change Colour Of Cells Dependent On Text Within Them

Sep 8, 2013

How to colour cells depending on text in other cells, for example,

I would like cells D26:AA26 to turn light red if the letters 'FSM' are in cell 'E26' even if other text appears in it, eg 'SA+/FSM'
I have been playing about with conditional formatting but can seem to solve the mixed text issue?

I have included an example below,

Do you use a "*FSM*" around the formula?

[URL] ...........

View 7 Replies View Related

Code To Colour Cells Dependent On Reference To Adjacent Criteria

Jun 11, 2014

I have developed the following code to colour cells dependent on reference to adjacent criteria (in Col D).

Is there anyway I can simplify this code to avoid three separate "For each" statements?

Code:
For Each c In Range("E12", Range("e" & lastrow))
If c = "" And c.Offset(, -1) "" Then
c.Interior.ColorIndex = 7

[Code] ..........

View 2 Replies View Related

Excel 2010 :: Comparing Cells And Displaying Text Dependent On The Results?

Aug 15, 2012

I have attached a work book example of what i am trying to do.

Column D is what i originally did in terms of the formula and now i have to have a column display text dependant on what is in column A to C.

I was trying this formula =IF(b2>a2,"Start Target Missed",IF(c2="","Failed","Tracking")) However if this isnt working.

Is there anything i can do to change this?

View 3 Replies View Related

Creating Filename From Cells

Jun 8, 2009

I have a worksheet that I would like where you can just enter the date, then it builds a filename based on that.

Example. Filename I would like to load information from is
"C:EXMay 2009May 21,2009.xls"
The sheet is "Data" and the cell/row is A1

The Filename could be entered simply as
'C:ExMay 2009[May21,2009.xls]Data'!$A$1

But what I would like to do, is be able to generate a weeks worth of filenames from the date I entered.

I have one cell with the root directory (lets say A1)
A1 = C:EX
A2 = May
A3 = 21
A4 = 2009

So in cell A5 I would like to combine them all to load the information from that filename.

I tried to do something along the lines of

A5 = A1 + A2 + " " &A4 (etc etc), but that wasn't working at all.
The main reason for breaking them up is so that I could just increment the date to get a weeks worth of files.

View 3 Replies View Related

Creating A New Name From Differnt Cells

Dec 28, 2008

I want to create Name to include data in A101, C101, E101, G101, I101, K101, M101 and O101. How do I do it? I tried to hold ctrl, then click on each cell above, type name but it did not take.

View 9 Replies View Related

Creating Permanent Links Between Cells?

Nov 5, 2008

I am trying to use Excel to document fiber optic cables that run between different locations. Each cable has 2 ends, but whatever service is connected to one end, will also be a the other. I would like to use an Excel worksheet to represent a termination point (a "light shelf" comprised of several fiber optic cables each made up of several strands of fiber (kind of a table with the 1st 4 columns of 6 rows being cable A, and the next 8 cable B)). I would like to be able to type in the value for cable A Strand 1 and have it linked to another worksheet representing a different location (the other end) and vice versa. I have tried to paste a link, but that seems to get broken. Is there a better way to make permanent links (Excel is bawking about a circular reference, which it is as each end needs to be linked back to the other.

View 9 Replies View Related

Creating Sheets While Referencing A New Row In Some Cells

Jul 24, 2009

I am trying to find a way to create new sheets in a workbook that when created will reference a new row on a data sheet in that workbook. Each workbook could end up containing varying numbers of sheets (anywhere from 2 to 150+) based on size limitations. There are some lookups and referenced data on each sheet that would be copied as is and not reference the data sheet. I have not included these in my example.

I'm trying to avoid having to change each cell's reference manually for all of these sheets (which is one of the solutions I've come up with so far). My current method of creating these workbooks does not involve the data sheet and each workbook starts off with data only on sheet1. I select and copy that sheet into sheet2 and every subsequent sheet. I want to incorporate the data sheet so it can be filled out by someone else and copied into that tab to populate all of the data sheets.

View 13 Replies View Related

Creating IF Function For Blank Cells

Dec 11, 2009

first post, i'll try to make this short and to the point. i have a file that has single invoice numbers, invoice dates and invoice totals. the line does not have a vendor name. the vendor name is above the invoice lines. (see spreadsheet).

Example:
D2 = Vendor
Lines 3-10 are individual invoices

Basically, I need to setup a formula that says if a cell in Column D is blank, then select the closest cell above the blank cell. I have 65000 lines with thousands of vendors. In the end, each invoice line will now have the vendor name that it is associated with.

View 2 Replies View Related

Creating An Array From Several Seperate Cells

Mar 5, 2008

I am trying to do is, to sum up the values in an array, given that the cell value is not an error.
If the cells were in order, the following array formula would solve it easily:
{SUM(IF(ISERROR(A1:A3),0,A1:A3))}

But my problem is that, my cells are not in order. To be more specific, I want to look at A1, B12 and C13, and sum them up with an array formula given the condition that cell value is not an error. Of course, in my case, I have too many cells.

View 11 Replies View Related

Creating PDF Files From Cells Using Macro

Nov 2, 2011

it possible to create a pdf files using a macro?

I would like to take cells b5: j40 from sheets , W 1, W 2, W 3, W 4, & W 5 and place it on a pdf.

Is this doable?

View 2 Replies View Related

Creating Range With Visible Cells?

Mar 29, 2013

I am trying to create a range with visible cells after filtering based on a criteria. But, facing some wierd problem with setting correct range with visible cells. Here is the code.

Code:

xlsDynRange = xlsWorksheet.Range("A1:G500")
xlsDynRange.AutoFilter(Field:=1, Criteria1:=intEmpid)
xlsFilteredRange = xlsDynRange.Range("A1:G500").SpecialCells(Excel.XLCellType.xlCellTypeVisible).Cells

Here, xlsFilteredRange.Cells.Count returns correct values. For example, for a particular filtered criteria, if there are 6 rows, it returns 42 (6 rows * 7 columns). However, xlsFilteredRange.Rows.Count always returns 1 (header row), though there are 6 rows. How can this be fixed?

View 3 Replies View Related

Creating Identical Cells In Different Worksheets

Jun 13, 2007

I am creating one big workbook with several different worksheets. I need to make the first two columns of every worksheet identical.

I would like to make it so that when an item is changed in any cell in any column on any worksheet, the other worksheets automatically change to become identical.

View 9 Replies View Related







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