"If" Statement: Work Out On A Spreadsheet How Many Failures I Have Had According To A Traffic Light System

Jan 7, 2009

I have a scenario where I am trying to work out on a spreadsheet how many failures I have had according to a traffic light system. If I have 5 or less failures it is considered green, between 6-10 amber and 11 or more red. How can I create a formula under column A that captures which status it is on?

View 3 Replies


ADVERTISEMENT

Running Tally Traffic Light System - Find Previous Values Upwards In A Column

Jul 21, 2014

I'm trying to work out to most efficient way of making a quality monitoring system which uses traffic lights to show problem products.

The traffic light system need to obey the following "rules".

Each product is tested once daily When a product fails once it moves to Amber, When a product Fails twice in a row it moves to RedOne pass when a product is in Amber Status, will reset it to green.If a Product is in Red status, it much have 3 consecutive passes to reset to Green.

I have tried to use array formulae to look up a column for previous values in the past for this sort of thing, but with 100000+ rows it runs far too slowly.

Banana Problem?
Product
Result
Traffic Light (0=green, 1=amber, 2=red)

[Code].....

View 1 Replies View Related

Traffic Light Function?

Jan 10, 2010

I want to include a simple dashboard-light, which turns green, yellow or red, dependent on a value, eg in A1. [like the one appearing after my name]

A1<100 => light turns green

A1 100-500 => light turns yellow

A1 >500 => light turns red

Does something like this exist? Preferably in VBA code?

View 8 Replies View Related

Traffic Light In Cell

Nov 22, 2006

I am seeking to insert an image into an Excel cell by a formula or a macro.

I am currently trying to have a green traffic light appear in a cell if another particular cell has the numerical value of "1".
for example, something along the lines of: =if(A1=1,"image1.jpg","").

Now, i know the above formula doesn't work but is something similar possible?

View 9 Replies View Related

Traffic Light Conditional Formatting Based On Text?

Nov 4, 2013

I'm trying to create a dashboard with traffic lights displaying the status of a task. My manager wants a to be able to pick a color (Red, Yellow, Green) from a drop down menu and then have that be displayed as a red, yellow or green traffic light. Using the conditional formatting option, I'm only able to use numerical values or a formula. I'm hoping there's a way to either create a drop down list with the 3 different colored traffic lights or a way to use VBA to have the conditional formatting search by text instead of numbers.

View 2 Replies View Related

Conditional Formatting To Achieve Traffic Light Results For 3 Different Values?

Jan 7, 2014

I am wanting to have conditional formats so the cell fill in a range on sheet 1 will change to:

- red if the value of a cell on a seperate sheet (date) is greater than 18 months old
- yellow if the value of a cell on a seperate sheet is 'In progress'
- green if the value of a cell on a seperate sheet (date) is less than 18 months old

View 5 Replies View Related

Traffic Light Icon Based On Dates Historic - Present And Future

Aug 15, 2012

What I need to do it create a traffic light icon, just the ones in Excel based on the dates within the field. If there is a date present which is past todays date then I would like it to display the green traffic light icon, if the date present is scheduled for a future date I would like the amber traffic light to show, and finally if there is no date present at all I would like it to display a red traffic light icon.

View 1 Replies View Related

Work Out A Formula For My Spreadsheet Which I Use To Work Out Cutting Lists For Timber Frames

Jan 11, 2009

i need to work out a formula for my spreadsheet which I use to work out cutting lists for timber frames. I need it to work out if the width of a job is for eg 2400mm i need to work out how many timber studs I need so the space between each stud is between 400mm and 500mm and this will need to work for a range of different sizes of frames. I have it written at the moment and it just devides the width by 400 and gives me a amount of studs but it would work much better if it could space them between 400 & 500.

View 4 Replies View Related

How To Make Excel Template Work On Only 1 System

Mar 9, 2014

Is it possible to make excel template work only on 1 computer by giving any vba password (on lines of license number).

Aim is to ensure it works on only client computer, even if template is shared outside it becomes useless.(We often see clients audit team getting access to templates using it for thier purpose & distributing).

In same spirit what are best practices one can take like protecting formulas with password etc

View 3 Replies View Related

System Monitors Changes To The Spreadsheet And Then Performs Actions Accordingly

Jun 15, 2009

Macro: the system monitors changes to the spreadsheet and then performs actions accordingly. Example: If the value of column c = Bug, then it sets the value of G to Celeste and Column H to Kewill.

Could this macro be changed so that instead of having to enter "Celeste" in this code, it could set the value of column G to the value found in H5 on the sheet?

I tried replacing "Celeste" in the code with H5 but it did not work.

Private Sub Worksheet_Change(ByVal Target As Range)
'Declare variable
Dim iCol As Integer
'Look at the column number of the changed cell (Target)
Select Case Target.Column
'Column C
Case 3
Select Case Target.Value
'if "Bug" set iCol to 3 (Red)and change value of column G to "Celeste" and Column H to "Kewill"
Case "Bug": iCol = 3
Target.Offset(, 4).Value = H5
Target.Offset(, 5).Value = "KWL"................

View 9 Replies View Related

Reorganize Spreadsheet To Comply With Vendors Inventory System

Oct 14, 2009

Basically We have a column with our part numbers and a column with the vehicle applications which contains the years, make, model, and engine.

Most of our part numbers have multiple applications that they work for.

The vendors system only uploads unique part numbers, so I need to find an easy way, if posable, to combine all the applications that use the same part number in one cell next to it's specific part number.

I don't know if I should be messing with formulas, pivot tables, VBA...?

View 7 Replies View Related

Switch Statement Is Too Long For VBA. To Make The Switch Statement Work Over Two Lines

Jan 6, 2009

I have created a very long switch statement, which is too long to be placed in one row in VBA. I have attempted to put a space and underscore at the end of one line and continue the statement on the row below by placing a comma at the start of the second line. VBA will accept my efforts, but when I run the statement in the immediate window, the following error appears.

"Invalid procedure call or argument"

I understand that there are certain rules where I can split a switch statement onto two lines, yet I do not know what they may be.

View 9 Replies View Related

Formula To Work Out Score Based On Score System

Aug 10, 2009

I want to see if i can make a formula that works out how a player got a score based on a scoring system. See the attached file for more details. I want this to show that the player scored or didn't score, played a full match or was a substitute, was booked or wasn't booked and was sent off or wasn't sent off.

View 5 Replies View Related

IF Statement Does Not Work..?

Nov 5, 2008

IF statement does not work?I have a chart on my sheet like so: (it gives me rates of pay)

View 3 Replies View Related

If Else Statement Doesnt Work Well...

Mar 25, 2009

If Else Statement doesnt work well. I just create a code like:

View 2 Replies View Related

IF Statement Won't Work As I Have Exceeded The Limits

Jun 29, 2009

I have been trying to do an if statement but need to choose between 10 options:

In Column AA I could have any one of the following 10 text entries - In column AB I need to return 8, 4, 2, 1 or 0.5 depending on which is in AA (this column AA cannot be sorted nor are people willing to cut back to 5 options )

"Very High" returns 8
"Very High (>50)" returns 8

"High" returns 4
"High (>20)"returns 4

"Medium" returns 2
"Medium (>10)" returns2

"Low" returns 1
"Low (>5)" returns 1

"Very Low" returns 0.5
"Very Low (<1)" returns 0.5

naturally the following IF statement won't work as I have exceeded the limits

View 2 Replies View Related

SUMIFS Statement Doesn't Work?

Jun 12, 2014

I can't get this to work. What am I doing wrong? I keep getting a #VALUE! error.

=SUMIFS($G$2:$G$31,$L$2:$L$30,F37,$B$2:$B$30,G$36)

I want to sum the NUMBERS in golumn G if the DATE in column L matches the DATE in cell F37 AND if the TEXT value in column B is equal to the TEXT value in cell G36.

View 2 Replies View Related

Spreadsheet Uses At Work

Aug 4, 2007

The spreadsheet has been around for a long time. Even in the electronic form, it has been around for over a quarter century. How has the electronic spreadsheet improved or changed your job?

I'm taking a course in computer applications and will be using any information I get in replies to this thread in my term paper.

View 6 Replies View Related

Case Statement - VBA Code To Work Automatically

Aug 27, 2013

I've selected a case statement (see below) but I want to that code to work automatically. So i do not want to press a button to show a certain value in S2. But I want cell c2 to automatically pop up the value (depending of the value in V4). So kind like an if/then statement.

Sub CASEMEDEWERKER()
Select Case Range("F4").Value

Case "Medewerker"
Range("S2") = "M"

Case "Interview"
Range("S2") = "I"

Case "Data"
Range("S2") = "D"

Case "Observatie"
Range("S2") = "O"
End Select
End Sub

View 4 Replies View Related

Cant Get A Range(activecell.offset) Statement To Work

Apr 23, 2009

I have a combobox which is linked to a list of policies which has information to the right of them, upon changing the value in the combobox the subroutine below is activated.

It stores the value of the combobox in a string variable, goes to the list and searches for the cell containing the policy. Upon finding the cell it uses the range offset operation to select the two boxes to the right of the active cell. This is where I get my error 1004 - application or object defined error.

Code

Private Sub cmbSectionName_Change()
Dim mySearch As String
'Assigns combobox contents to mysearch
mySearch = cmbSectionName.Value
'select the range
Application.Goto Reference:="SectionNameList"

View 9 Replies View Related

Copying Dates Into New Spreadsheet Does Not Seem To Work?

Jun 10, 2014

When I copy the dates from this spreadsheet into a new one, in the new spreadsheet the copied dates are different. Looks crazy. Why does this happen?

View 14 Replies View Related

Work In Spreadsheet While Userform Is Open

Mar 20, 2008

Problem: I have textbox entries that are part of a Userform that opens using a macro on a speadsheet button. Once this form is open, I can no longer actively work in the spreadsheets.

Need: I need a way to minimize or "put on hold" the Userform so that I can freely move around in the spreadsheet. This could be in the form of a button on the Userform. Then, I need a way to bring back this userform to the point I was at before being put on hold so that I can continue to input entries into the textboxes (again, a buttton that could bring it back). There should be a way to toggle between both worlds.

View 2 Replies View Related

User Defined Function With If Statement Does Not Work / Incorrect Code

Mar 7, 2014

I am trying to create the following function but I cannot seem to get it working correctly.

[Code] .....

View 3 Replies View Related

Macro Does Not Work From Any Selected Cell On Spreadsheet?

May 21, 2014

I created a very simple macro, which actually works.

There is a button on my spreadsheet, so the user can launch the macro using this button.

[ Code] .......

At the moment the user clicks on the button, the part of the macro which is hiding the rows will not take place if the cell activated at the moment of launching the macro is in the range below :

The table on my Excel sheet covers range A5:E49

If the active cell is anywhere in A6:49 or C5:D24 or C25, the hiding part of the macro will not work. Launched from any other cells on the spreadsheet it works fine.

The rest works fine and I am not getting an error.

To solve this I just need to add the line Range("G9").Select and it will work.

But I would like to understand why it does not work from the cells given above. My sheet is not protected and I unlocked the cells just ion case.

View 2 Replies View Related

Formula- To Develop A Code To Include Into A Spreadsheet For Work

Jan 20, 2009

I am having trouble trying to develop a code to include into a spreadsheet for work. It will be a live spreadsheet accessed by a few people who will have control over there own columns in the spreadsheet (2 columns are designated for one project) Each Project director is to edit the info about their project.

So my goal is to put a code in cell C3 that shows the date that cells C4-32 and D4-32 were last updated.

View 9 Replies View Related

Excel Spreadsheet - Tally Number Of Votes For Particular Artist Work

Mar 14, 2014

We want to create an excel spreadsheet that will tally the number of votes for a particular artist's work. There will be about 150 artist's works that will all be assigned an individual number from 1 to 150 on an excel sheet.

We will have about an hour to complete the counts to determine winners, so a short time frame.

Is there a way of creating a formula/macro in one cell -to just enter the number of the artist's work that was voted for- and have it placed as a tally against the individual piece?

View 3 Replies View Related

Create A Spreadsheet That Will Automatically Increase The Work Order Number By 1?

Jun 20, 2014

I am trying to create a spreadsheet that will automatically increase the work order number by 1. The cell will always be in the same place. The idea is that when the file is opened it populates the number. After being closed and reopened the number will be 1 higher than the previous.

The page will reused by various people to create and print work requests for my mechanics, I want it to assign the W/O automatically.

View 11 Replies View Related

Work Schedule: Insert The Numbers 1-6 Into The Spreadsheet Throughout The 14 Days For Each Employee

Oct 7, 2009

I developed a 14-day work schedule and I assigned each different job position a number. The different job positions are numbered 1-6 and are as follows: #1=5:30am-1:30pm, #2=6:00am-2:00pm, #3=9:30am-1:30pm, #4=12:00pm-8:00pm, #5=1:00pm-8:00pm & #6=6:00pm-8:00pm. Numbers 1,2,4,5 clock-out for a 30 minute lunch break, while the other numbers do not.

My goal is to insert the numbers 1-6 into the spreadsheet throughout the 14 days for each employee, and have Excel calculate the total number of hours for each employee in the far right column. I would also like "V" & "H" to equal 7.5 hours. This would save a lot of time instead of going through and adding up the hours with a calculator

View 3 Replies View Related

Count Formula- Spreadsheet That Is Being Used For Tracking Work Completed Each Day In A Week

Apr 9, 2009

I have a spreadsheet that is being used for tracking work completed each day in a week. Each day has 5 columns and 10 rows of data to potentially be entered, some of the data is text and some is numerical. Can anyone help me come up with a formula that will count the text and the numerical entries for each day? I tried to use a nested if statement but it exceeded the number of nestings available. The range of cells for the first group is B6:F16.

As a side question, will count work for a range of data or only one column or row at a time?

View 9 Replies View Related

If Statement To Pull Values From Another Spreadsheet / Worksheet

Feb 7, 2008

I have two spreadsheets, i suppose one part of the solution may be to copy spreadsheet 2 into a new worksheet in spreadsheet 1, but this is my current situation:

Spreadsheet 1 has "Employee lastname" in column F, "Employee Firstname" in column G. Column A in this sheet needs updating with the data populated in column H for that employee in spreadsheet 2 - the lastname is contained in column B, firstname in column C - so i need to to a match.

View 12 Replies View Related







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