Auto Populate The Number Of Units

Apr 3, 2009

i have been trying to write an Excel sheet in 2007
that can be given a random amount of (money) and show
me the best way to spend it.

Weapons:
Name - Power - Cost
1 - 10 - 20
2 - 20 - 40
3 - 40 - 80
4 - 80 - 160
5 - 160 - 320
6 - 320 - 640

So i have 40K to spend, i want to eneter 40000 into a box and it
will auto populate the number of units i can buy, always setting the weapon
#6 as the priority.

View 13 Replies


ADVERTISEMENT

Auto Populate Quarters By Just Typing In The Number Of Years?

Aug 20, 2014

I need a formula that can automatically populate yearly quarters in separate columns based on a number of years. So if I put in 5 years - excel would populate 20 columns with Quarter 1 - Quarter 2 and so on. If I then change it to 3 years it would only populate 12 columns.

View 4 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

VLOOKUP To Auto-populate A Description From An Entered Part Number

Mar 18, 2009

I am trying to use VLOOKUP to auto-populate a description from an entered part number. After checking up on how to do this in several different places I applied this formula to the relevant cell but all that it returns is #N/A.

I am very confused as all seems to be correct, but I am new to this and I am sure I am missing something silly. :P

On entering a part number into cell C13 on sheet 'Stores Receipt' it should search and find that number in column A on sheet 'Product List', it should then return the adjacent description from column B on sheet 'Product List' and show this in cell C17 on sheet 'Stores Receipt'.... Sounds simple hey! :D

The formula used is:

View 3 Replies View Related

Calculate Dollar Value Based On Number Of Units

Jan 30, 2014

I am attempting to calculate a dollar value that is based on a number of units. Each unit has a different dollar value depending on how many units there are. for instance,

if the spreadsheet reports one unit, then I need to return $45
if the spreadsheet reports two units, then I need to return $65 or 1st unit at 45 and 2nd unit at $20.
if the spreadheet reports three units, then I need to return $ 75 or 1st unit at $45, 2nd at $20 and 3rd at $10
all subsequent units 4 and up need to add $10 per additional unit.

View 4 Replies View Related

Get (tabs) Of Action Log To Auto-populate And Auto-delete In Master Log

Jul 29, 2014

I need the tabs of a project action log to auto-populate and auto-delete in a master log. (So when something is added or deleted in a tab it is added or deleted on the master) I use excel a little bit for work and personal finance purposes but I have zero experience with macros or VBA.

View 1 Replies View Related

Auto Populate Calendar Days Based On Month / Year And Auto Insert Work Based On Dates / Name

Jul 31, 2013

I am trying to auto generate a calendar based on two drop down menus - Month and Year.

Once the month and year is selected I want to import all work orders onto the calendar based first on the "Labor Name" found in the list of work tab, then assign each work order for that labor name to the respective date on the calendar for the month.

August PM Schedule Demo.xlsx

View 2 Replies View Related

Auto Populate Tab

Jul 9, 2009

Is it possible to create a macro which adds a new sheet and names the tab from a cell value somewhere?

View 5 Replies View Related

How To Auto Populate Data

Jun 26, 2013

I have 5 columns: A, B, C, D & E of which I have drop downs for: Yes, No, Maybe, Not Sure for A, B, C, & D. I need column E to offer a hyperlinked mailto:ask@bob.com when A, B, C have Yes, Maybe or Not Sure selected. If Yes, Maybe or Not Sure is selected for D, I need to have a hyperlink mailto:ask2@bob2.com. When no is selected for any of them, I need to have it say None.

View 9 Replies View Related

Sumproduct: Auto Populate

Oct 29, 2009

The first tab I have a summary sheet which I want to auto populate with a sumproduct function, the second tab is where the dates and values are I wish to sum the value if it’s returned in January. I had a go to try sum the entire range see below but it’s not working

=SUMPRODUCT(--('Alex Guest - Scotland'!$G$19:$G$1048576>=1/1/2009),--('Alex Guest - Scotland'!$G$19:$G$1048576<=3/1/2009),--('Alex Guest - Scotland'!$H$19:$H$1048576))

The ultimate goal I am trying to achieve is if there is a date in January in the date returned column and the php column does not contain a value I want it to sum in the summary sheet in January. Hopefully if anyone can advise that would be great then I can look at the formula and try workout to sum only if there is a value in the php column in January

View 3 Replies View Related

Auto Populate Address

Dec 20, 2009

on Sheet 2, I have a very long list of names and addresses. What I am trying to do, is to have the correct address auto populate in Cell B253, depending on which name I type into Cell B252.

The formula has to be able to determine which name is typed in cell B252, i.e., John A Doe, and then auto populate his address in cell B253.

View 9 Replies View Related

Auto Populate Cells

Jan 2, 2010

I have a workbook with three sheets:

'Activity' 'Expenses' and 'Income'

On the 'Activity' sheet I:
select the date,
select the description, and
select the category (dependent on the description using indirect)
and enter a value. ($ dollar amount)

How do I make the entered values appear automatically :

- on the correct Sheet for the Description - 'EXPENSES' or 'INCOME'

- in the correct columns (matching) the category

- and in the correct row (matching) the date,

- "add to" - if a value already exists in the cell (more than one transaction on a date)

after they have been hand entered on the 'Activity' sheet?

View 7 Replies View Related

How To Auto Populate A Formula

Aug 3, 2007

My macro runs, and it inserts a cell, but in order to record data on a summary page, I need a formula to auto populate, and I've tried having the macro copy/paste and I've tried ActiveCell.Formula...and nothing seems to be working. The formula needs to go into Cell B3.

View 9 Replies View Related

Auto-populate Corresponding Cells With Each

Dec 10, 2009

I have a database in the form of a spreadsheet with the following column headings:
A=DATE (3 letter abbreviation for the month...jan, feb, mar, etc)
B=Client
C=City
D=State
E=Department
F=Contract number

Is there a formula that I can enter in another worksheet (which is being used as a report), that will "grab" the monthly data for all entries for a given month (i.e. "mar"), and auto-populate corresponding cells with each?

View 9 Replies View Related

VBA Auto Populate Cell Through Lookup

Mar 25, 2014

I would like to enter a name in E11, and then have G11 populate the name of the company that person belongs to, from a different sheet.

If the person is new, the company name entered into G11 should create a new column on the Companies sheet.

I've attached a dummy sheet which should make it more clear.

DummyCompanyPopulate.xlsx

View 9 Replies View Related

VBA Code To Auto Populate Different Cells

Apr 30, 2009

I am trying to add some code that will auto populate cells based on entries and list selections. In the attached spreadsheet, when information is added to cells in column 'A', the date should auto populate the cells in column 'C'. When a status of "Complete" is selected from the dropdown box in cell 'B', the date should auto populate in the cell in column "D".

The code partially works in that it will auto populate columns "C" and "D", but the code errors out every time and I have to cancel the error to continue to the next entry.

View 2 Replies View Related

Should Change Event Be Used To Auto Populate?

May 22, 2012

I am populating column D with

=IF($C2="","",VLOOKUP($C2,Name_ID,2,FALSE))

Based on selection in column C populated using a drop down list from a range titled PracticeID. Other named ranges, all on sheet titled Validation, are PracticeName and Name_ID (a 2 column range made up of PracticeName and PracticeID). This works great the first time a selection is made in column C. But, of course, if the user needs to change the selection in column C, the value in column D does not change. Would the cell change event be the appropriate place to place this action?

View 1 Replies View Related

Auto-Populate A Folder And Add Hyperlink

Nov 19, 2013

I use the code below to autocreate a folder and hyperlink to it. It creates a folder when I enter a drivers name in column D it then turns the name into a hyper link to that folder - my problem is I have 2 files in the drivers folder on the C drive - one called wkd.xlsm (a small spread sheet) and one called notes.txt (a notepad document) I would like these files to be automatically added to the folder that is created when I add a drivers name to the D column - I would also like a hyperlink to be created to the wkd file in column H and a hyperlink to the notes file in column X.

Private Sub Worksheet_Change(ByVal Target As Range)
folderpath = "c:drivers"

If Not Intersect(Range("D3:D1000"), Target) Is Nothing Then
If Target.Value "" Then
If Dir(folderpath & Cells(Target.Row, "D") & " " & Cells(Target.Row, "C"), vbDirectory) = vbNullString Then

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

View 5 Replies View Related

Auto Populate Text In Cell

Sep 5, 2008

here is a formula i would like in cell D20 (might not be a formula out there,maybe more code)
if cell C20= "S" then text in Cell D20= "SHOP" (then will be able to type after "SHOP")

if cell C20="F" then text in Cell D20="Field" (then will be able to type after "Field")

I have many facters (15 to be exact) that I would like to do this in the range of D20:D38

View 9 Replies View Related

Auto-Populate Cells In A Table

Aug 27, 2009

I have my projection formulas that use the date and age to estimate production on each farm. Basically the age is calculated first and then the production rate is estimated. I have been trying to figure out if, instead of having a formula in each cell, can I use VBA to populate the ages and then the production.

Here is an example:

8/22/2009

FarmAge8/22/09Age8/29/09Age9/5/09Age9/12/09Age9/19/09Age9/26/09Age10/3/09Farm 1
34181351813617937179381793917940177Farm 2
39223402204122042220432204422045218
All the functions I have created work, I just can't have the worksheet auto-calculate due to the total number of cells with functions. Calculating the worksheet takes approx 1 min...

I should be able to adjust any code to the ranges needed, but this example shows the basic layout.

View 17 Replies View Related

Auto-populate Userform From Course List

Apr 10, 2007

Some Background info:
This is my first post! I am a total novice when it comes to VBA in Excel (but I'm a fast learner!), so please bear with me if my question is either obvious or easy (or if this is a question that's been asked 14980213 times already). I have some programming experience, but all in C or C++, not in VBA--this makes the project challenging. I also have to hand this off in a few months and trust that it'll never break, ever--more challenging.

I'm trying to make a Participant Tracking System for some workshops we offer. The intent is to make a userform so that an administrator can input all the information for the participant in question. One important question on the form is which course the participant intends to take; the snag is that the current list may change over time.

The Spreadsheet is set up with Course headings starting at R8C8, and continuing across for all 16 courses we currently offer. The data for the participant is entered into Rows 1-7, and the date they completed the course in the appropriate column for that course. There are some formulas in Rows 1-7, the important one here counts up the number of classes currently offered.

So, below is the code i'm trying to use, at least to start. I am making a combobox that has all of the available classes.

Private Sub UserForm_Initialize()

Dim ClassList() As String

'R5C6 contains a formula that calculates the number of classes offered. The value is currently 16
Redim ClassList(R5C6)

iCount = 0
y = 8

Do While iCount > R5C6
'R8C8 is where the class list begins.
'It continues horizontally along the rows for the 16 titles offered.
Range(R8Cy).Select
ClassList(iCount) = ActiveCell
y = y + 1
iCount = iCount + 1
Loop

With ClassListBox
.Clear
.List = ClassList
.ListIndex = -1
End With

End Sub

I used to have a line that replaced the following chunk.

Range(R8Cy).Select
ClassList(iCount) = ActiveCell

It read

ClassList(iCount) = R8Cy

and did nothing for me at all.

When I initialize the userform, I get a blank combobox. It doesn't do what I want it to do, but that's probably because I'm telling it to do something weird.

View 9 Replies View Related

Auto Populate Relevant Cells From Different Worksheet

Jul 31, 2012

How can I auto populate certain relevant cells that has been chosen by input in a different worksheet?

Example:

Input cells in Worksheet 1:A1= 100 (Data to Show in Periods chosen below)
A2= 3 (begin period)
A3= 5 (end period)

Result on worksheet 2: A1(PERIOD 1) = 0
A2(PERIOD 2) = 0
A3(PERIOD 3) = 100
A4(PERIOD 4) = 100
A5(PERIOD 5) = 100
A6(PERIOD 6) = 0
A7(PERIOD 7) = 0

View 4 Replies View Related

Auto-Populate Cells Based On Dropdown?

May 27, 2014

The file is attached here. I would like to be able to autopopulate cells based on a dropdown. The first tab has the final report and the other 2 tabs are the raw files.

KMPH_Inventory.xlsx‎

View 1 Replies View Related

Auto Fill: Populate A Cell With A Date

Nov 14, 2008

Need formula for populate a cell with a date. I have a workbook with 5 sheets (mon, tues, wed, thur, fri) and I'd like to type a date on mondays sheet so all the other sheets follow on the date ie:

Noverber 1st 2008 is typed into sheet 1: A1, sheet 2 automatically displays November 2nd 2008, sheet 3 displays November 3rd, etc..

I know it's basic progression, but I'm not sure how to do it with date/text...

View 2 Replies View Related

Auto Populate Cells With Corresponding Data From Different Worksheet?

Nov 26, 2012

I'm trying to figure out a way to populate multiple cells automatically with certain information after entering info into a single cell on a separate worksheet in a separate workbook.

Our "master" sheet has 22 total columns (A-V), and our weekly "status" sheet only has 7 total columns (A, E, P, L, M, N, R).

Column A on both sheets is labeled "Sample Number". On the "status" sheet I want to be able to type, for instance, "2012-228" into A2 and have the corresponding values from Columns E, P, L, M, N, R on the "master" sheet automatically populate into B2-G2 on the status sheet if this is at all possible.

View 5 Replies View Related

Auto Populate Into A Column That Starts In Cell E5?

Jul 2, 2013

I am trying to auto populate into a column that starts in cell E5 and references cell C5 (along with a dataset in N and O). In cell E6, I copied and pasted this formula and changed all of the C5 values to C6. When trying to use the auto populate cross hair tool, excel changes all N and O cells, from O165 to O166, O167 when they should have remained O165 and N165 for every cell.

=IF(OR(C5<MIN(N9:N165),C5>MAX(N9:N165)),"",IF(C5=MAX(N9:N165),INDEX(O9:O165,
MATCH(C5,N9:N165,1),1),(((INDEX(O9:O165,MATCH(C5,N9:N165,1)+1,1)-INDEX(O9:O165,
MATCH(C5,N9:N165,1),1))/(INDEX(N9:N165,MATCH(C5,N9:N165,1)+1,1)

[Code].....

View 3 Replies View Related

Simple Auto Populate Cell From Dropdown?

Dec 16, 2013

Every time a name is selected in column C12:C15, I need that respective row to populate with $10 in column J. When column C12:C15 is blank, I need that respective row to read $0 in cloumn J. It's either one (10) or the other (0).

There are rows above and below it as well that have nothing to do with this, so the formula/function would be specific to just this subset of rows (rows 12-15).

I get close, but can't seem to nail this simple formula/function down. I am unable to download any sheets due to my work's firewall.

View 6 Replies View Related

Auto-Populate Workbook With Saturday Date?

Dec 10, 2013

The attached workbook requires users to enter a date on the SAT sheet (B3). I would like that date to always represent Saturday (the first day of our work week) Is there a formula I can use to validate if the date entered by the user corrleates to Saturday or is there a way to auto-populate the workbook with the Saturday's date?

DSR (BLANK BETA).xlsx‎

View 14 Replies View Related

Userbox - Auto Populate Textbox On Same Form

Jan 14, 2012

I have this code inside a userbox to auto populate a textbox on the same form, the combibox info is located on row E, and it populates the textbox with info off row G, but how can I change this to pull the info off row C instead of G???

Code:
Private Sub ComboBox1_Change()
var1 = WorksheetFunction.VLookup(ComboBox1.Value, Worksheets("Basic").Range("E11:G90"), 3, False)

TextBox1 = var1
End Sub

View 3 Replies View Related

Auto Populate Distinct List From One To Another Table

Sep 12, 2012

I have two tables on two different worksheets. I would like to automatically populate a distinct list into column A in table 2 from the data in column A in table 1.

Table 2 must auto populate from table 2 every time a new row is added into table 1 - without any extra user interaction e.g. pressing a button etc. No offense intended to my better half but if she has to do anything more than enter a new row in table 1 she'll likely manage to screw it up after a week

I kind of managed to get it working using the below formula but both sets of data must be in tables so I can't copy the formula down the column without creating redundant table rows.

=INDEX(Classes!$A$2:$A$999, MATCH(0, COUNTIF($A$1:A1, Classes!$A$2:$A$9), 0))

Example

Sheet 1 = "Classes"
Column A = "Student Names"

John
Mike
Paul
Andrew
Paul
Paul
Mike

Sheet 2 = "Total Due"
Column A = "Student Names"

Paul
Mike

View 3 Replies View Related







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