IF / VLOOKUP (cell Automatically Populate Commision Earned)

Mar 2, 2010

I am trying to get a cell to automatically populate commision earned.

Commision is worked out as a percentage to gross profit and works as follows:

£0-4000 = 0%
£4001-8000 = 1%
£8001-12000 = 2%
£12001-16000 = 3%
£16001+ = 5%

I have my spreadsheet that details their sales and profit. the profit is calculated in cell M45.

I have tried for ages to get an equation to work, and have ad no joy. It is actually driving me mad now. I need a better man/woman than me.

View 9 Replies


ADVERTISEMENT

Cell To Automatically Populate

Mar 26, 2008

i am working on a spreadsheet that includes a large amount of statistical numbers / records. one part includes a win / loss column and the very next column i am entering the final score for each game. to max this easier to comprehend, there are only 3 columns. 1st column lists my opponent, the 2nd lists, with just a red L for loss, or a green W for win, and the 3rd column has the final score. (my score is always first, regardless of whether i won or lost the game.)

OPP F SCORE
--------------------------------------------------
John W 23-10
Paul L 17-25
Terri W 10-7

This is what i'm searching for: (and the easiest way possible b/c i'm not familiar with macros / visual basic, etc.) ... Once i enter the score: ##-##, I would like the "F" (final outcome) cell to automatically populate either a bold red L for a loss, or a bold green W for a win. My scores are almost never 3 digits, so they would almost always be ##-##. if u need me to provide more info,

View 12 Replies View Related

Automatically Populate Another Cell When One Is Updated?

Apr 27, 2014

I have a spreadsheet where vehicle milage is entered at the end of each month. On another sheet I have the vehicle fleet numbers and the the months along the top. What I need to happen is; when the mileage cell is updated I need the cell in the other sheet to be automatically populated, when the mileage is updated the next month I need the next cell(February)to be populated with the new milage and so on. The aim is to calculate monthly milage for each vehicle without having to enter the date at the beginning and end of the month.

Everyone I work with is completely computer illiterate and only knows how to enter the data the same way they always have(just the once at the end of the month) changing it up will only cause issues.

View 1 Replies View Related

Automatically Populate Cell Based On Worksheet Name

Mar 18, 2009

I have a macro that copies data from 6 different worksheets into one summary worksheet - based on certain criteria - I need a way to note on each row of the summary sheet which worksheet it was copied from. Each worksheet is specific to a salesperson, so ideally I would like that salespersons last name to populate in column on the summary page for each line of theirs that is copied over....here is my current macro I use to copy the data: (this scrpit is repeated for each sales persons sheet - "Blankenship", "Dew", etc...)

View 5 Replies View Related

Populate Automatically With Predefined Value If Cell Is Of Certain Colour

Feb 8, 2012

I'm looking for a cell formula. here is an example:

In cell A2, I want it to populate automatically with a predefined value if cell A1 is a certain colour, as below.

A1 A2
559.00

I have conditional formatting in cell A1.

View 6 Replies View Related

Vlookup To Populate A Cell

Sep 9, 2008

I am trying to use vlookup to populate a cell. My lookup cell is a string of text. My refernce table contains a list of words that I want populated if it is contained in the text cell. THe results I am getting is #name

=VLOOKUP(H7,Catagory_Reference!A$1:A$11,1,FALSE)

View 9 Replies View Related

VBA Code To Populate A Cell Automatically Whenever Another Cell Is Filled In Manually?

Mar 29, 2014

I have a spreadsheet with 6 hidden columns (B to G). Rows 1 to 14 are frozen and have data that comes from another work book and these rows will be protected. The user will enter data from H14 to U14 and then H15 to U15 for the next row and so on down the sheet. The number of rows of data over a week is variable, a minimum of 21 rows (3 per day) but no maximum.

When the user starts entering new data in the column range H to U I would like to automatically populate the 6 hidden cells on that row with information from particular cells in protected rows 1 to 14. For example B14 would populate with the value from I4, C14 would populate with the value from I5, D14 from I6, E14 from I7 and so on whenever someone enters a value anywhere from H14 through to U14.

I can understand that a worksheet change event would be useful to do this but I guess then it wouldn't want to run every time each cell is populated so I think if it had to activate on a single cell change then the cell in column L would be best. Also, as I understand it, there can be only one block of code per sheet that operates on a worksheet change event, have I got that right? If that is the case then I assume all the code to populate the hidden cells on each row will need to be in this block of code.

View 8 Replies View Related

VLookup Function In Macro To Populate Cell

May 20, 2008

If I put this in a cell it works fine =VLOOKUP(B3,DateRange,2,0) If I tell VBA to write that formula, it works fine.

ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-44],DateRange,2,0)"

If I put this in VBA: Range("AK1").Value = Application.VLookup(Range("B3").Value, Range("DateRange"), 2, False)

I get #N/A. I'm stumped - any ideas why this would happen, or how I can work this into my code? I need the vlookup to occur 1000s of times, and don't want to have to put the formula in the spreadsheet because I just want the results, not the formula.

View 7 Replies View Related

Formula: Calculate Commision Of 10%

Jul 19, 2006

i need a formula to calculate commision of 10% eg. E14=$1500. i need the answer to get 10% of that

View 3 Replies View Related

Find How Much Revenue I Earned

Nov 21, 2007

I own a local restaurant and want to streamline my excel spreadsheets. Currently, I have yearly workbooks (2005, 2006, 2007, etc.) that have all of my revenues included in them, split up monthly by worksheets. I then have lines for each day within the month for the revenues earned at that day.

So, if I want to find how much revenue I earned on March 1st, 2006, I go to my 2006 book, March worksheet, and look at the 1st. Here's where my problem lies.

I want to create a new spreadsheet where all I have to do is type in a certain date (say March 1st, 2006) and all of the information for the date will be automatically displayed on the new sheet.

View 14 Replies View Related

Offset With Automatically Find Active Cell With VLookup

Jul 30, 2012

I have 2 columns of data

column A = weeks (A2:A50) i.e. P1W1, P1W2, P1W3....P12W4 etc
column B = headcount (B2:B50) i.e. 5, 7, 5...10 etc

Essentially my criteria is "looking for last week and give me headcount" i.e. my lookup criteria is P7W5 ....however if P7W5 has no data, i want the lookup to go up or offset to the row above (it may be one to 4 rows above)....

View 3 Replies View Related

Calculate A Salary Earned Between Any Two Dates

Aug 3, 2006

I work in a large Public Service Payroll Department. I am trying to create a spreadsheet that will automatically calculate arrears payments for salaried staff. What I need is something that will make the calculation after I provide a start date an end date and old and new salary per annum. I'm self taught using excel but at a very very basic level.

My problem is that I don't know how to enter a formula which will give me the correct amount between 2 dates. For example

01/10/2005 to 16/09/2005 old salary PA 16000 new salary PA 17500. The manual formula would be:
((17500 - 16000)x1/12) + ((17500 - 16000) x 1/12 x 16/30)) = £191.67

View 9 Replies View Related

VLookUp: Numbers Be Automatically Copied To The Correct Cell On Sheet

May 22, 2009

I have two worksheets in one document. On sheet 'M_Admission' there are numbers for each week. can those numbers be automatically copied to the correct cell on sheet 2 'M_Actual' See the attached Excel worksheet to see what I mean. (Excel 2002)

View 3 Replies View Related

VLOOKUP Table Array Equal Cell Name (change Automatically)

Jan 17, 2014

What I want is that I have a table like below (but it's long for 52 weeks) and long down with Vlookups. I want the formula with which I can just do the copy-paste and it will work. W1, W2.... are the sheet names with exactly the same formats inside.

A
B
C
D
E

5

W1
W2
W3
W4

6
Sales
10
#N/D!

[Code] .......

The base formula (for W1) is:
=Vlookup($a6;'W1'!$A:$B;2;0)

What I want, is the formula which instead of "W1" will write the sheet name which is in a row 5 (basically - cell name which is equal the sheet name), so with just dragging and moving the formula I will got the data from different sheets.

I tried this: =Vlookup(A6;'indirect("c5";1)'!$A:$B;2;0)

But I got #N/D! as in the example, instead of the numbers (yes, I put numbers into W1 and W2 sheets .

View 4 Replies View Related

Compound Interest Earned With Periodic Withdrawals?

Aug 3, 2014

I am looking for a formula which will compute interest earned (not ending account balance) for the following scenario:

1) Set $ amount (say 19250) is deposited on January 1.

2) Annual interest rate is .95%

3) Interest is compounded daily

4) Fixed withdrawals of $1750 are taken each and every month on the first day of each month

What is the total interest earned on the account? Basically, it is a issue where each month diminishes the "pool" of money earning interest. I get what's going on conceptually, but can't figure out which Excel function to use.

View 4 Replies View Related

Automatically Populate Dates ...

Mar 28, 2009

I've asked this similar question on another message board (the Microsoft help community), but failed to follow-up quickly enough for the support I've come here to ask for. My situation involves a spreadsheet that is used to track days worked over the course of a week. I have the days of the week listed in one row (Sun - Sat) and in the row above, a place to put the day (i.e. - 3/28). I asked for help with a macro that would allow the user to place the date into any of the cells above the days of the week, check to ensure that the corresponding day of the week is correct, and if so, populate the other remaining empty dates automatically. Below is the macro that was kindly provided. It works perfectly as long as my data is in the referenced ranges (A1:G1, etc); however, my actual data is in range L6:R6 for the dates and L7:R7 for the day of the week. (example below). I've been able to pick apart the code to understand how to change most of the macro to accept input from the different range; however, I'm unable to comprehend what I'm missing to complete the modification.

View 6 Replies View Related

Automatically Populate A Summary Worksheet

Jul 31, 2007

Is it possible to automatically populate a summary worksheet, based on matches in other worksheets within the workbook which match a particular date?

I have a workbook with 15 worksheets--each sheet is setup like a database with 4 columns (fields). One column is for the date.

I would like to populate a summary sheet that serves as an executive summary of all "records" which match a particular date.

View 10 Replies View Related

Automatically Populate The Below Rows With The Synonyms

Oct 15, 2009

Can we use the inbuilt thesaurus that MS excel has through macro.

i.e. if I select a word and play the macro, excel will automatically populate the below rows with the synonyms.

View 2 Replies View Related

Automatically Populate TextBox In UserForm

Jun 28, 2007

I have a userform that pops up upon opening a file. The user form has
5 text boxes names Zero, Two, Four, Seven and Nine. I would like each of these text boxes to automatically populate with the values last used. The values last used are stored in Worksheet "Index Settings" in Cells "C3:C7".

View 9 Replies View Related

Automatically Populate Cells If Value Exists Within Range

Mar 22, 2013

I need to summarize some information from a different worksheet. Worksheet A(WS-A) is the summary and worksheet B (WS-B) is the source of information. On WS-B I have a range of values under the title "Materials" which I use to put together an estimate. This range has about 25 rows and not all of them are populated depending on the needs of the particular job.

If it matters, the Materials cells are populated by a drop down "list" from yet another worksheet. On the summary (WS-A) I want to show only the cells from WS-B that have a value in them so that if, within the Materials worksheet, there are only 6 rows that have data in them...only those 6 rows are shown on the summary worksheet.

View 9 Replies View Related

Automatically Populate 9 Box Grid Using Excel Data

Jul 1, 2014

I'd like to automatically populate a 9 box grid using data from Excel. The number of names for each rating can be anything from 1 to 100 so the size of the grid would need to be adjustable. I would like one table for each function and grade. Attached is what I'm trying to do. In the 'example tables' sheet, I've shown how I'd like the tables to look, but with my live data the tables would be bigger so I'd like to do one table per worksheet (or possibly one function per worksheet - so 3 tables).

View 3 Replies View Related

Automatically Populate Column With The Most Current Date

Oct 11, 2009

I want to automatically populate C2 with the most current date from B9:B14.

I can't seem to figure out the formula.

View 3 Replies View Related

Automatically Populate Data To Multiple Sheets?

Dec 31, 2012

I have a spreadsheet that contains many lines of information that will constantly be added to and updated. One of the columns contains a drop down with 4 possible options. I am trying to get the data to copy to a sheet based on 1 of the 4 options selected. So for example, if Education is selected, then that row of data should also appear in the Education sheet. Same goes if one of the other options is selected.

I have seen several examples on this forum, but they are mostly macros (or formulas that don't quite apply). I am trying to use formulas so that the information is updated live so macros don't really seem to be a viable option.

I am including a sample of the spreadsheet with data on the main sheet and how I want it to look when it is transferred over to the other sheets. I had to substitute a lot of the information (with numbers or filler words) due to it being confidential.

View 6 Replies View Related

Automatically Populate Combobox With The Data In A Certain Range

Mar 12, 2009

I would like to know how to automatically populate a combobox with the data in a certain range. Attached is a simple workbook with the example. I know how to do this with the additem. But I dont know how to create the array or userform initialize to populate the combobox with the range.

View 3 Replies View Related

VBA Vlookup: Populate The Other

Dec 5, 2008

Vlookup in vba

Here is the issue:

I have a combobox to get the data on the workshreet based on this i want to populate the others

here is the code I tried

x = Application.VLookup(Issue.Value, Worksheets("Sheet3").Range("C1:C100"), 2, False)

I get compile error statement invalid outside Type block

I declared X as string

View 10 Replies View Related

Match Cells In Another Column And Populate Data Automatically

Oct 11, 2006

I have a worksheet where I need to match the work items from Region A to Region B. If the work items match , then I need the formula to automatically populate the corresponding data in the next 3 columns as similar to Region A. I have tried searching the forum and but I could not work out the formula. I am not sure if the formula is Vlookup or INDEX/Match which both I am not well verse. I have attached a sample sheet.

View 4 Replies View Related

Excel File To Automatically Read Date & Pre-populate From 1st Field

Aug 13, 2014

i have a file that needs to have daily postings to it, I would like for it to automatically generate today's date and then if you change figure 1, it carries over to figure 2.

View 3 Replies View Related

Sort Table Of Data By Status And Automatically Populate Another Sheet

May 2, 2012

I am trying to sort a table of data by "Status" and automatically populate another Sheet. In Sheet 1, I have data as follows:

Issue Status Issue - 1 Open Issue - 2 Closed Issue - 3 Closed Issue - 4 Open Issue - 5 Closed Issue - 6 Open

I want Sheet 2 to automatically sort this information by Status = "Open".

Issue Status Issue - 1 Open Issue - 4 Open Issue - 6 Open

How I can accomplish this by Excel functions (I do not want to use Pivot table)?

View 4 Replies View Related

Loop Through Worksheets And Populate VLookup

Mar 11, 2014

I'm trying to loop through all the worksheets within a workbook. The first sheet is called Instructions and the last sheet is called Sheet 1.

I would like the macro to go through and populate the pricing for each part using a v-look up in cell C6:bottom of data based on the parts in column A for each country. The macro would then end on Sheet 1.

My Vlookup would be in a source file with the same name as the current worksheet and the data would be in columns B (part) through column F (price)

Here is what I've done so far.

Code:
Sub Pricing()
MSGtext = "Open the Price Doc."
MSGbutton = vbOKCancel

[Code]....

View 1 Replies View Related

Populate VLookup Into Blank Cells

Jul 24, 2008

spans over columns A:BM.
column headers are in Row 2, data starts in Row 3
the number of rows varies month-to-month
in column A, the values are either N or Y.
Column B contains xREF numbers, where if the value = N, the xREF is unique; for values = Y, the xREF = an N value xREF number (hope that makes sense!)
Where column A value = Y, some row cells are empty. All N record cells are populated.
starting in Column C, I want all empty cells (basically all rows where column A = Y) to be populated with a VLookup formula where:
Ø lookup_value = xREF in column B
Ø table_array = all N values records spanning B:BM

I can get it to work for column C by autofilling to the last row but if I autofill across columns, the col_index_num stays the same and I can’t figure out how to increase it by 1 as it autofills across.

Sub RangeLookUp()
Dim Rg As Range
For x = 3 To Range("A65536").End(xlUp).Row
If Range("A" & x).Value = "N" Then
Set Rg = Range(Range("B3"), Range("BM3").End(xlDown))
ActiveWorkbook.Names.Add Name:="TheRange", RefersToR1C1:=Rg
End If
Next x
' VLookup for blank cells........................

View 9 Replies View Related







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