Change Sign Of Number Based On Validation Dropdown In Another Column

Feb 21, 2014

This spreadsheet will be tracking sales and purchases. I want to be able to have any purchases formatted as an expenditure (negative sign or brackets) to show it is money out. Column C "Action" has a drop down with either Buy (infrequent) or Sell. I want to be able to have column I "Unit Price" be a negative number if the corresponding cell in the same row in Column C = "Buy". I do not have these prices formatted as currency as their are 2 different currency used and I don't know how to make the correct currency format appear automatically, though I do have a drop down validation column for which currency the transaction was in, so maybe that is possible. I know this is probably simple, but I don't spend that much time using Excel. I have some sample data in their for the moment.

View 2 Replies


ADVERTISEMENT

Excel 2007 :: Change All Matching Value Based On Number Change In Column?

Feb 19, 2014

I have a situation that I cannot get my hands on. I have a set of Project Numbers in my Column A. (Will Try to post an example).

I need that everytime I change a number in my Column B that it will change all the numbers, in my column B, based on the matching Text in my Column A.

Demo1.xlsm

View 14 Replies View Related

Count The Number Of Entries In A Data Validation Dropdown List And Display A Result.

Nov 7, 2007

I am trying to do 2 things involving data validation. 1) Count the number of entries in a data validation dropdown list and display a result. 2) Use an If statement to pull the formatting from a cell into another cell.

An example would be if Cell A1="A", then show the drop down list associated with cell or sheet "!ryanB2". Alternatively, I would like to also display the number of entries in the drop down list.

View 9 Replies View Related

Data Validation - Option Set Based On Prior Dropdown Without Names Or VBA

Dec 13, 2012

I'm creating a form with drop downs, and I'd like the answer choice someone makes for one question (ie- what county they're in) to affect the answer choices for a secondary question (ie- what city they're in).

I'd like to avoid using names, at least for the second dropdown (since there would be too many names, and in some of the questions in the data set things change too much for names to be a good option). I would also like to avoid using VBA to keep it simple and maintainable. Here is a simplified version of a small subset of the data.

Drop Down 1:
County (options: Santa Clara County, Napa County)
Drop Down 2:
Cities/Towns (options: the cities/towns that relate to the above county selection, without using names)

County
Cities/Towns

Santa Clara County
San Jose

[Code] ........

View 2 Replies View Related

Cross Reference (Vlookup) Based On Data Validation List Dropdown?

Jun 19, 2014

Attached is example of what I'm trying to do. I want to use the drop-down on the "Master Tab" and have the corresponding price by promo_month appear in the yellow cells.

Currently its on July, but I would like to switch that to August etc and have new prices populate in the yellow cells. Prices come from the "table" tab.

Example 06.19.14.xlsx‎

View 2 Replies View Related

VBA To Fill In Three Cells Based On Data Validation Dropdown List Selection

Dec 26, 2012

I've created seven names in my data validation source list on Sheet 3 in the following range of cells, A2-A7. My data drop down validation list is located on Sheet 1, A2 in the same workbook. I would like to trigger a macro based on the name I select in this drop validation drop down list that will fill out an address, telephone number, and email address in the following cells next to my data validation drop down list on Sheet 1: B2, B3, and B4. I want it to be designed so that users will select a name and have that person's corresponding address, telephone number, and email address fill right next to their name on the same sheet.

View 6 Replies View Related

Code That Automatically Run After Selecting Item In Data Validation Dropdown List In Column C

Oct 12, 2011

I have a dropdown list in C24:C50 (=CategoryList) with data validation and a sub list in D24:D50 (=ItemList) with data validation. I am looking for a way to have code automatically run after selecting an item in the data validation dropdown list in column C.

Example; I click on C24 and make a selection. I what it to trigger code that would move me to D24 and open up the data validation list in D24. After the selection in D24 I would like it to move me back and down 1 row to C25. I have not found anything directly related to this but I have found that code can be run after a selection in a valadition list.

View 2 Replies View Related

Cell Change Based On Dropdown And Conditional Value

Sep 19, 2013

I have a value in Cell B2, a drop down value in Cell C2 and a conditional value in D2. I will very much like to have Cell A2 change it's value automatically if the correct if and then statements below are met.

Below are my if and then statements for the values I want in Cell A2.

Cell A2: ADD

If Cell B2 has a value of 1 or more and Cell C2 has a text value "No" and Cell D2 has a conditional value that's "Green"
Then change the value of A2 to Add

Cell A2: Delete

If Cell B2 has a value of 1 or more and Cell C2 has a text value of "No" and Cell D2 has a conditional value that's "Red"
then change the value of A2 to Delete

I haven't used If and then statements in a while and the example I gave above is just to get an idea of what I'm looking for to change in my cell.

View 4 Replies View Related

Change Cell Value Based On Value In Dropdown Of Same Worksheet

Jul 7, 2014

I am working on excel based tool where I need a small piece of macro. I used two IF loops in the code.

The second IF loop is working fine. The problem is with first IF statement.

What I need to do is -

If E6 is Yes, then in the same worksheet named "Input Sheet", i need to change values of cells D14:M14 to zero and also

I want to restrict people to change this value. So, after changing the value to zero, I am hiding that row.

But if E6 is "No", then -

Unhide the Row 14 and allow users of this tool to change value of cells.

I believe the only issue is with statement - Sheets("Input Sheet").Range("D14:M14").Value = 0

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If [$E$6] = "Yes" Then
Sheets("Input Sheet").Range("D14:M14").Value = 0
Sheets("Input Sheet").Rows("14").Hidden = True

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

View 8 Replies View Related

Change Color Of Cell Based On Dropdown Selection

Dec 14, 2012

I have a dynamic drop down list using OFFSET and want to change a selection of cell colors based on the drop down selection. My drop down list is located in cell G4 and the cells I want to change are

=$C$9,$C$10,$C$11,$B$11,$B$12,$C$12,$B$13,$C$13,$C$14,$C$15,$H$15,$H$14,$H$13.

These are random cells. There is no value in the cells, I just want to change the color from green to gray.

View 3 Replies View Related

VBA For Value Sign Change

Jul 8, 2012

Having trouble applying a name to the line

For Each ctrl In Form1.Controls

The name of my Form is "frmLayout"

How can I change Form1.Controls to "frmLayout".Controls ?

don't tell me just to type in it without the quotes, I mean when the name is in a string variable.

View 9 Replies View Related

Change Button Function Based On Dropdown Menu Selection?

Jun 9, 2014

I've got a drop-down menu with four options in it that match up with the cells D11:D14, and next to those I've got spots for counting the totals (E11:E14). Next to the drop-down I've got plus and minus buttons, and I need to make it so if I have the top option selected in the dropdown and press plus, it adds +1 to E11. Second option and the same plus button, +1 to E12, and so on.

The purpose is for a call tracker, the employee would select the reason for the call (maybe more added later) and hit the button to add the call to the report.

I've looked so I know you normally ask for what I've got so far, and that's nothing. I've got all the other buttons wired up but I don't even know where to start with this one. I can include a screenshot if necessary.

View 5 Replies View Related

Data Validation List Based On A Table That Can Change?

Jan 11, 2013

I am building an Excel file that will be used to track information and at the core of it all is a list of people from different offices where the number of people per office can change and/or a person leaves the company and is replaced by another. I'll simply:

Column A Column B
Office Employee
Hamilton Emp 1
Hamilton Emp 2
Hamilton Emp 3
Toronto Emp 4
Toronto Emp 5
Toronto Emp 6
Toronto Emp 7
Toronto Emp 8
Waterloo Emp 9
Waterloo Emp 10

This will be all on Worksheet 'Info'. I have a Worksheet for each Office and named them accordingly. On each worksheet I want to use Data Validation on a column, we will call it 'ChosenOne', set it as 'List' and have the Source pull all the employee names that belong to that office and use them as a selection

ex: Hamilton Worksheet, 'ChosenOne' would show Emp 1, Emp 2, and Emp 3 in the list.

If Emp 3 changed offices to Waterloo 6 months from now I would like to change A4 from Hamilton to Waterloo and the formula would not have to be changed and the next time someone selects 'ChosenOne' it would only show Emp 1 and Emp 2.

Of course this means on the Waterloo Worksheet, 'ChosenOne' would show Emp 3, Emp 9, Emp 10 now.

So basically I am trying to not specify a specific named range for each office and am hoping there is a way to poll information from a Table (or any other tool that can simplify this).

I would be ok with something like:

Column A Column B
Office Employee
Hamilton Emp 1, Emp2, Emp 3
Toronto Emp 4, Emp 5, Emp 6, Emp 7, Emp 8
Waterloo Emp 9, Emp 10

and just move Emp 3 from B2 to B4 but I don't know if a list can be created from multiple items in a single cell seperated by a , or ; or :.

View 4 Replies View Related

Row Font Color To Match With Column D Cells That Will Change In Dropdown Box

Jan 29, 2013

I am looking to have the cells font color in each row match the color of the font in column D that will change depending on the info of the drop down box.

Sheet 2 is the one I am looking to work with as a test.

View 2 Replies View Related

Displaying Number Based On Dropdown Box?

Mar 13, 2014

In col b10 I have a drop down list box with numbers

e,g, 10
12
14
16
18

Now I am seeking a formula that when say 12 is selected in B!0 a predetermined number is displayed in C10 I have attached an example

View 4 Replies View Related

Excel Change Sign Of Displayed # To - #

Jul 6, 2006

I have an expense sheet calculated, need to show the sum of the "+" number in
a cell that does a subtraction of 2 numbers .. income and subsidized ... as a
- that it negitave amount in red if it is less than a specific numbe. ie 2500

View 16 Replies View Related

Format To Change Negative/positive Sign

Aug 25, 2009

I have a cell that always requires a negative currency number.

No doubt I will inadvertently enter a positive number now and then.

Is there a conditional format method or something that will take my cell entry and always change it to negative?

View 13 Replies View Related

Creating Validation List From Table Column Based On Data In Another Column

Dec 11, 2013

If I have a table as noted below with the following assumptions:

- this table will likely grow
- the 'Include' column data will change based on external criteria/formulas, so the 'Include' column will not be sorted.
- Macros aren't an option as this sheet needs to be macro free.

A
B
C
1
Item
Calories
Include

[Code]...

How do I build a formula that I can place in a data validation drop down to only include 'Item's that have Yes indicated in the 'Include' column?

I've been researching this and found answers if the 'Include' column was sorted via offset, but I haven't found any to sift through when unsorted. I feel like there is a simple answer to this that I am missing. Here is the sheet --> ExampleSheet.xlsx

View 1 Replies View Related

How To Get Unique List From A Column To Data Validation Dropdown List

Oct 28, 2011

I'm looking for a way to get a unique list from a column to a data validation drop down list. Any fancy formula or vba script to create a UDF which. Does this?

View 5 Replies View Related

Auto Populate Fields Based On Model Number In Dropdown?

Mar 14, 2014

I have the catalog #s of some products in column A, and I have the brand in column B, Product name in Column C, and the model # in Column D. I want to create a formula that if I select the catalog # it should autopopulate the brand in column B, product name in column C and the model # in column D!!

And I have the brand/product & model # in a different sheet!!

View 6 Replies View Related

Copy Data From One Sheet To Another Automatically Based On Number Selected In Dropdown Control

Apr 25, 2013

I'm trying to copy data from one sheet to another sheet automatically based on a number selected in a drop down control.

I have used OFFSET to pull some information successfully from a list. This is easy for me to do with single entries and a list and has worked well. I want to do similar but with a dataset not just single cells.

But, I can't seem to make OFFSET work to show a set of data easily.

Perhaps I will need VB code to do so? Or there is another control I'm not aware of? I've done very little with VB.

I'll attach a sample file to try to show better what I'm trying to do.

View 7 Replies View Related

Find Number With $ Sign And Commas?

Jul 25, 2013

I have a number $2,173,980.08 in my excel worksheet. I try to find it using Ctrl + F $2,173,980.08 and excel couldn't find the number. What setting do I need to change in order for excel to find number with dollars sign and commas in it?

View 8 Replies View Related

How To Separate The Currency Sign From The Number

Feb 27, 2010

I have a file contains thousands of rows of purchasing order. the purchasing value is in different local currency,the data(number) format is "Accounting" .

Is there a way to separate the currency sign and the number into different column?

I need to the currency sign to be able to convert data to desired currency. But Excel read the data as number. so I was doing it row by row. Such a pain and not efficient.

View 9 Replies View Related

Excel 2010 :: Inability To Change Format Of Numbered Text To Include £ Sign

Dec 19, 2012

I have two columns of data and cannot get the column to change the format to display as currenty or accounting, with a currency £ sign and comma separator...I select it all and go to Format cells to do the changes, but it does nothing, at all!

View 2 Replies View Related

Return All Words Between Unit And Number Right Before $ Sign

Sep 30, 2013

I'm trying to return only the following portion of the text from a large list.

So, I want to have just the following phrase appear in a column:

Original
AAM UNIT AAM HIGH 50 DIVIDEND 13 $77,666,423 $1,132,491

To
AAM HIGH 50 DIVIDEND

Original
AAM UNIT AAM HIGH 50 DIVIDEND 13 $77,666,423 $1,132,491

To
AAM HIGH 50 DIVIDEND

Original
FIRST TRUST UNIT FT HIGH DIV EQUITY 15 $13,140,862 $301,295

To
FT HIGH DIV EQUITY

So, I essentially, want any words that appear between "Unit" and the first number that appears before the $ sign (in this case 13 and 15 respectively, but the numbers can be anything - "Unit" stays the same down the list).

View 9 Replies View Related

Dynamic Dropdown List Based On Column Filter?

Jun 9, 2014

I have a spread sheet that has three sheets, PROJECTS - TIMES - LISTS Time sheet.xlsx PROJECTS contains a list of 'In Progress' and 'completed' projects for work, with relevant other data, I.e. PROJECT No. / STATUS etc This will grow to 1,000's of rows TIMES will contain the amount of time a person spends on a PROJECT on a daily basis. This will grow to 10,000's of rows LISTS contain basic validation list for the first 2 sheets.

Part A
I would like to have a validation drop down list for the PROJECT NO column in the TIMES sheet that only lists the PROJECT NO from the PROJECTS sheet where STATUS <> COMPLETED. I.e. I only want to display the PROJECT NO's for current projects.

Part B
Even though I only want the PROJECT NO used, can the drop down list also contain other column's data for reference information only before one is selected.

View 2 Replies View Related

Automatically Filter Date Column Based On Dropdown Of Month

Sep 18, 2012

I want to be able to show only the dates whose months are selected in the drop down in cell A1. I've been able to do this with a Macro that I must run every time I change A1; however, I was wondering if there was a way to have the macro done automatically. I've been trying the Worksheet_Change options with little command. In addition to all of the If/Thens, I've also tried the If/ElseIfs as well:

VB:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$2" Then

If Target = "January" Then
ActiveSheet.Range("$A$2:$C$14").AutoFilter Field:=1, Criteria1:= _
xlFilterAllDatesInPeriodJanuary, Operator:=xlFilterDynamic

[Code] .....

View 1 Replies View Related

Minus Sign - Turn Into Negative Number Without Manually Keying Each One?

Feb 14, 2013

I have a column of numbers which have the - sign at the back end of the number instead of the front. What would be the easiest way to turn that into a negative number without manually keying each one?

View 4 Replies View Related

Dropdown List Always Shows Unique Values From Column Based On Lookup Value

Jul 22, 2014

I have a worksheet (say, Sheet1) that I am going to manually import a large data set into on a weekly basis for reporting purposes. One of the columns from this data dump will have the header "Design Id" in the first row, but it may not be in the same column every time. I am trying to figure out how to create dropdown lists on a separate worksheet (say, Sheet2) in the same workbook where the data source always looks up the column containing the header "Design Id" from Sheet1 and then returns only the unique values from that column as options in the list.

View 1 Replies View Related

Macro Enabled Column Hiding Based On Data Validated Dropdown

Mar 26, 2014

I'm trying to write macro for hiding columns based on a drop down answer. The drop down would be in cell B7 on Sheet 1. The colums affected would be in each worksheet in the workbook. The data validation would have a drop down selection choice of 1 through 16. The columns affected range would be H through W. For example, in the drop down if 1 was selected, only column H would show. If two, H and I would show...etc. This macro should affect all worksheets in the workbook EXCEPT sheet 1.

View 2 Replies View Related







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