Automatic Data Based On A Variable

Jan 3, 2008

I would like to enter a vacation code in E5 (V12) and have it automatically enter "VACATION DAY (12 HRS * $15/HR) in K5 and calculate the amount in L5. Of course, there are variables involved here:

V indicates that it is a vacation day.

12 indicates the number of vacation hours to be taken.

The $15/hr comes from the value in I5.

I don't know if this should be handled as a VLOOKUP along with other methods or if this is something that needs to be handled in VB?

View 9 Replies


ADVERTISEMENT

Variable Rows Per Column/ Automatic Combination Generation

Jun 19, 2007

The following table/ code is something which I've been trying to tailor from a previous post so I'm not taking the credit for what I think is some very good code. Unfortunately I can't find the link to it - sorry!

Right, I have a number of columns containing a various amount of data entries in each with the first row being the header. I would like to generate all possible combinations of this data in one column, the entries separated by commas, that will eventually be exported as a csv file.

The number of columns and number of rows in each column will be changed regularly ...

View 9 Replies View Related

Series Fill Based On Variable Input Data?

Mar 21, 2014

I have a spreadsheet where the start date is manually entered in Cell B1 and an end date is calculated in Cell B3. I would like to have the dates between the start and end date, with a step value of 7 days show in the rows under Cell B3. How do I get this to work?

View 3 Replies View Related

Extract Data To Another Sheet Based On Variable Conditions?

Mar 24, 2014

I have some problem with the extraction, I would like to extract the data to another sheet based on variable conditions but I can not do it. My code in just case working if the all conditions are specified. The target is that if want the code could extract the data based on one condition even, or two or three or more.

View 7 Replies View Related

Calculate A Multi-variable Equation Based Off Of Data In A Table With Different Criteria

Jan 8, 2010

I'm trying to calculate a multi-variable equation based off of data in a table with different criteria. If you reference the attached spreadsheet I am trying to calculate cost based on weight and zone. For the data entered in cells B1 and B2 944.01 would be the cost. If you look at the table in G2:N3 you'll notice that the values in G2 and G3 are the weight limits G2 is from 0-4999 and G3 is 5000+, this should impact where the value in B1 falls. B2 should select from H1 to N1.

View 3 Replies View Related

Pasting Cells Using Offset Command Based On Variable Cell Data?

Mar 3, 2014

I am trying to paste data into cells that are offset from specific data in my excel sheet.

The code I've got so far is:

[Code] ....

What I am aiming for is to search my Columns G and H that contain the values 1 & 1. Then from the cells that contain those variables, move 2 row up and 7 columns to the left and then paste on that active cell.

I am completely new to VBA so im sure there plenty wrong with this VBA script but so far ive managed to paste the data but it just pastes across the whole row instead of just the cells ive copied.. now i just get errors on the script.

View 5 Replies View Related

Automatic Value In Col E Based On Col C.

Jul 26, 2007

Is it possible to have Column E automatically enter a value based on a 4 digit number inserted into Column C?

I have about 200 different 4 digit numbers that can be entered into Column C and 8 different corresponding values that need to appear in Col E... Would this be possible / difficult?

View 9 Replies View Related

Automatic Numbering Based On Last Number

Apr 16, 2009

I have got 2 sheets:

- list (list of transactions)
- accepted (accepted transactions).

I want to make macro, which will:
1. select max value from sheet.accepted "B:B"
2. enter max value +1 in sheet.list "B8"
3. automatic fill down from B9 to the end of list with number increasing by 1 (in B9=B8+1, in B10=B9+1 etc.)

I tried with this:

View 5 Replies View Related

Create An Automatic Pop-up Based On A Condition

Jun 15, 2009

I have an Excel file with multiple worksheets. 4 of these worksheets have the same format and have concatenate formulas in cells D14 through D28. What I need is an automatic pop-up message to tell me when I open the file if on any of these 4 worksheets text is generated from the concatenate formula that matches either "air cooling unit", "air heating unit", or "ceiling".

And, if so, I need for the pop-up to state the name of the Worksheet/tab and which of the above text strings match. For example, if one tab is named "6-5-09 C" and within the range of D14:D28 the text "ceiling" is listed, the pop-up should read something like, "Maintenance Needed for ceiling on 6-5-09 C!" If there are multiples on multiple worksheets, then I'd want all of them listed on the same pop-up. Then I would want to be able to click OK or CLOSE to close the pop-up. If I can even color the pop-up a color different than the regular gray, that'd be cool too.

View 2 Replies View Related

Sending Automatic Reminder Based On Date?

May 21, 2014

i have an excel sheet which contain some standardized chemicals with due date for standardization i want excel sheet sending email for outlook email list if the due date is older than today by 2 days. my work and i'm not clever using macros and VBA the file is attached

View 1 Replies View Related

Automatic Formatting Based On Number Entry

Oct 2, 2008

So the title isn't really totally descriptive but it was all I could come up with. I have a work book that has 30 identical sets of 5 cells for users to enter in information. Some of my users will not need all 30 sets. I'm wondering if there is a way for the user to enter the number of cells they need and have excel then format so they have the desired number, instead of 30. Then have excel change all the instances of this number in formulas so that it matches the new number of cells. I hope I explained this well enough for someone to help.

View 9 Replies View Related

Automatic Text Based On Cell Color

Aug 26, 2008

I would like to have a cell automatically change text based on a conditional formatting formula. When the cell color is red, or the formula is true, then display the word "Expired". Can a formula be devised using results from conditional formatting?

This is being used for expired CPR 2-year certifications. When the certification expires, the cell currently turns red (based on a cell formula) and I would also like the word "Expired" to replace the date.

My condition formula is: =TODAY()>A2 + 730

View 9 Replies View Related

Automatic Formatting Of Cells Based On Rules / Criteria

Jul 22, 2014

I have a long set of data that I extract a "table" out of based on index matching controlled by 4 different criteria. This part is working as intended. However I need to format the cells with the corresponding "fetched data" based on another criteria. Makes sense? Have a look at a spreadsheet i made representing my problem. It has comments for the problems.

excel tableformatting problem.xlsx‎

View 1 Replies View Related

Automatic Response Based On Grouping Criteria Via Macros

Mar 27, 2014

Essentially what I want, is to type a medication in, lets say, A2, and for a macro to produce a response in B2 based off of grouping criteria from another worksheet. My workbook better explains what I would like to see happen. A macro would be best for this, right?

View 7 Replies View Related

Select A Variable Based On A Variable

Jun 18, 2009

On my userform I have 20 comment icons (imported pictures), that when clicked need to bring up an InputBox for the user to add a comment, and store that comment in a Public variable specific to that comment which will later be written to the spreadsheet.

To keep it simple, lets say I have two comment icons to click, one to add comments to the "Testing Completed?" field, and one to add to the "Sign-Off?" field.

The first comment icon is named TestCompIcon, the second is SignOffIcon, and the public variables they write to are called TestCompComment and SignOffComment respectively.

To avoid having to code the InputBox procedure for every comment icon on the userform, I was hoping that upon click, the icon would call a centralized routine that would establish the name of the variable that needs to be written based on the name of the icon comment that was clicked. Something like as follows:...............

View 9 Replies View Related

Displaying Automatic Dates For Lookup Based On Year Selected

Aug 3, 2014

I would like to automate a sheet to report statistics of projects based on a single cell that is the year that a user manually inserts. I've got a separate worksheet with all dates manually set up for next 10 years and would like it to be read by formulae in a reporting worksheet based on the year that user enters.

So if I specify year 2014/15 (financial year), I would like the cell C1 under "Reporting" sheet to display 1/07/14 predetermined in "Dates" B3, if I specify 2015/16, the cell C1 will read 1/07/15 from "Dates" B6 and so on.

I could do it with "IF" function but there will be too many nested IF functions in a lot of cells (hundreds if not thousands). This may make my file size very large.

Attached is a simplified example of what I mean.

View 7 Replies View Related

Automatic Entry Of Dates Based On Month & Year In Cells

May 30, 2007

I want to create a monthly timesheet which contains 9 columns for
(Date, Day, Project no., Activity, Time In, Time Out, Total Hours, OT Hours, Remarks)

I have used IF Function to calculate Total Hours & OT hours automatically. Time IN & Time OUT, Project No., will be entered manually on daily basis.

Weekday function is used in the Day column to return the corresponding day of the date in the Date column.

Name of the Month and Year will be manually entered in the designated cells I3 and I4 respectively.

Now the solution I am looking for is, the dates should be automatically entered in the Date column (in cells A8 to A38) based on the Month & Year entered in cells I3 & I4. Dates of the corresponding month of the year should only be filled in. (If a month is not having 29, 30 or 31st day, the corresponding cells should be left blank. i.e. nothing should be displayed in the corresponding cells). I am looking for some sort of formula to enter in the cells of Date column (A8 to A38) achieve this. I have searched the forum and could not find anything which could at least give me an idea about the kind of function or formula to be used.

Attached here is the time sheet I am trying to create.

View 8 Replies View Related

Automatic Data Selection?

Oct 14, 2008

I'm trying to create a new spreadsheet to keep a record of orders recieved.

the example attached. What I would like to do is:-

Enter data in the Order Sheet (Sheet 1) under Column C, from a drop down menu taken from Data Sheet (Sheet 2) Column B. I then want Excel to filter the items available from Sheet 2 that correspond to the colour chosen, and once that has been done, I want the part number to be automatically entered.

For example, I order a Red pen, I type/select Red in C2 in D2, I then want Excel to only show the items related to the Red pen Fine nib rd123, Medium nib rd234, Thick nib rd345.

View 2 Replies View Related

Automatic Update Data

Dec 7, 2008

Not sure my subject is matching to my problem. This is my first Thread. I work in excel sheet to tracking meters and am and my boss updating this sheet. This sheet we have in server drive so we both can share. The problem is I need some formula to update automatically whoever updates last in sign column. E.g. Computer id, or something. I attached sheet for more clarification.

View 5 Replies View Related

Automatic Search Of Data Set

Jun 9, 2009

I'm kind of rusty with spreadsheets and Excel 2007 is entirely new to me. I'm not even sure what I'm trying to do would be called.

I have a spreadsheet that is a list of records; a name, ID number, one text, and four numeric columns per record.

I would like to make a set of buttons or something that will automatically do a custom sort. Basically a "sort by this criteria, sort by different criteria" etc. so I don't have to manually do the sort repeatedly.

View 9 Replies View Related

Automatic Looking Up Data In Another Sheet

Dec 16, 2009

It i a sheet to calculate my nutrition. But since the sheets has grown to get bigger and bigger (and fortunately me as well ) some bugs has started to appear. This is really annoying and I have to use another sheet with less values in it which I can use manually on the side since it seams to only work properly when less values is entered in the sheet.

Open the file attached. The first sheet called "oversikten" is where you can see the trouble. The gray fields you can edit freely and in these fields you should be able to insert a type of product (food) which also is in the list in the nexy sheet called "produkter", and the first sheet should then automatically get the values for the written product given you have written the exact same word as the product in the list (list: in the "produkter" sheet). But for some reason this has stopped working. Now only a few in the beginning of the list is working as it should and most of the products will not be transferred to the first "oversikten" sheet. I've only copied codes and stuff so I have no idea what is wrong and how to fix this.

fix the codes in the program so that any product written in "oversikten" will get its correct values transferred from the "produkter" sheet for all the registered products now and for the new ones I enter in the future. I love this little nutrition program of mine.

View 11 Replies View Related

Automatic Update The Data

Aug 10, 2009

i have in sheet1, where the client key in the data, and sheet2 where i have to give the latest data to my manager. i tried with isblank and sort but in vain.. attaching the sheet.

View 4 Replies View Related

Automatic Web Data Refresh?

Sep 26, 2013

I have a workbook with many worksheets and I want to enable (or disable) it to "Refresh every n minutes" for ALL worksheets, as at the moment it seems I can only specify this option per worksheet rather than the whole workbook?

View 1 Replies View Related

Automatic Refresh Data In VB

May 11, 2006

I have an excel file with a link to an access database. when you open the excel file it prompts to refresh the data enable/disable. I select enable and the excel file is saved as a different file and the query reference in the new saved file is deleted (static version)

I have managed to write code to remove the database link from the new saved as file but what I still havent figured out is that the source excel file is refreshed automaticly when the script is running. I have set the database properties on automatic refresh on open which works if I activate manualy the file but with script down below, it does not refresh the data automaticly. What is the VB code to refresh the data in the source XLS file??

Sub main()
Dim prompt As Long
prompt = 200503
Dim objExcelApp As Object
Set objExcelApp = CreateObject("Excel.Application")
objExcelApp.displayalerts = False
objExcelApp.Workbooks.Open "c: emp est.xls" 'this file has the connection with the access database.
objExcelApp.Visible = True....................

View 6 Replies View Related

Automatic Population Of Table From Data?

Jul 18, 2013

Trying to create a code to automate the population of a simple table of Job Grades against Business Units (BUs) with Job Titles.

The data source will kind of look like this:Job Title
Job Grades
BU

Sales Manager
A
1

[Code].....

View 9 Replies View Related

Automatic Update Of Data In Other Spreadsheet

Apr 24, 2009

I want to automatically update data from one spreadsheet to ther one i am novice to vb programming


here are two file plzzz help me out --sheet 1--sheet(data of sheet one to be copied into)
and is there any way that the data copied also gets saved the in that spreadsheet as next time data in sheet 1 is updated!

View 10 Replies View Related

Automatic Updation After New Data Entry

Jul 2, 2009

In the attached file I'd like to have a formula on cell B3 that would pick the number from the latest entry on "Actual" columns (column K, column M....). This should update the cell each month data is entered in respective month column.

View 4 Replies View Related

Automatic Update Of Data If Changes Made

Jul 1, 2014

The workbook I have has a tab for Master List of Transactions - there is data in columns A through J. In column E, when a year is entered, the data in columns A through D is copied to a tab for the specific year entered in column E. When the data from columns A through D is copied to the specific year's tab, it does not change anymore. If the information is changed at all on the Master tab, the macro does not currently work to automatically update the information on the specific year's tab but I would like it to. Is this possible?

Here is the macro I currently have:

Private Sub Worksheet_Change(ByVal Target As Range)
' Code goes in the Worksheet specific module
Application.ScreenUpdating = False

Dim rng As Range
Dim row_copy As Integer

[Code] ......

How to automatically update the year tabs for changes on the Master List of Transactions tab.

View 1 Replies View Related

Automatic Data Transfer Between Worksheets

Mar 22, 2007

I am having an issue with automatically transferring data from several worksheets into a single summary and analysis worksheet. I receive single worksheet Excel files with data from a hundred people and need to move it to a summary sheet to produce totals, averages, etc., without manually selecting the data and doing copy/paste a hundred times.

View 9 Replies View Related

How To Populate Automatic Data In A Table

Aug 24, 2008

i'm trying to populate a sheet with 7 tasks (blue colored) for 22 Employees

by this rules:
task 1 for 1 person
task 2 for 2 person
task 3 for 5 person
task 4 for 2 person
task 5 for 7 person
task 6 for 1 person
task 7 for 4 person

doing this by hand it's time consumer so i'm looking for an automatic solution.

i used excel 2007

View 9 Replies View Related







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