If Condition:one Cell Is Greater Than Previous Cell By At Least A Certain %?

Apr 29, 2009

how to include a condition in the condition? What I mean is in this set of numbers:
1000(A) 1000(B) 1000(C) 1200(D) 500(E) 1000(F)

I want excel to point out (with a 1, True, x, whatever) if (B) is greater than (A) by 10% or more and if (C) is greater than (B) and so on. I know I cant use =if(C>B,1,0)...Im just unsure how to include the % in the function

View 2 Replies


ADVERTISEMENT

Show If Cell Is Greater Or Smaller Than Previous Value

Nov 13, 2009

I have a DDE feed going into an Excel spreadsheet which gives me a share price in real-time. i.e the cell value is constantly changing.

I would like to create a formula that tells me if the price is 'Rising' or 'Falling' based on the previous value, before it was updated.

So, for example, if cell C4 said 1.00 and the the next price change changed cell C4 to 1.05 I would like cell C5 to say 'Rising' If the next price change was say to 1.04 I would like cell C5 to say 'Falling'.

View 12 Replies View Related

Copy Cell To New Cell If Previous Cell Condition Met

Mar 25, 2013

formula to copy a cell to a new cell if the previous cell meets the condition.

i have attached an example work book.

so what im looking for is on sheet 1 there is a table and cell G9 shows Apples. on Sheet 2 is a second table where the information is in slightly different rows.

I want to be able to [When Sheet 2 Column C = Sheet 1 Column G Then Paste Sheet 2 Column D into Sheet 1 Column H (next to Apples)]

Then i would like in Cell J9 to look something like [When Sheet 2 Column C = Sheet 1 Column G Then Paste Sheet 2 Column F into Sheet 1 Column J]
and i would like Cell I9 to look something like [When Sheet1 Column J = Sheet 1 Column L Then Paste Sheet 1 Column M into Sheet 1 Column I]

G9 H9 I9 J9 L M <-- hidden C D E F
Sheet 1 |Apples| 20 | Hot |Average | Hot | Average Sheet 2 |Apples| 20 | AP | Average

View 1 Replies View Related

Record Greater Than 50 In A Cell So It Reads As Greater Than 50

Aug 25, 2009

I have to make a table that shows that a if someone purchases

less than 5 items they receive no discount
5-10 items they receive 2% discount
11-20 items they receive 5% discount
21-50 items they receive 8% discount
over 50 items they receive 10%

and it has to be done in a way that the discount rate can be calculated using Vlookup I am struggling to find the best way to write this table. i tried numbering 1 to 50 and writing the corresponding discount rate in the second column but this looks untidy and can't calculate greater than 50 as i am not sure how to write it in the cell so it reads as >50 and not just 50.

View 4 Replies View Related

Format Cells In Range Where Previous Value Greater Or Less Than

Mar 18, 2008

I have a row with values in successive cells. Some cells are blank. I want to conditionally format the cell text colour based on the value compared to the previous populated cell (i.e. compare A3 to A2. If A2 is blank, compare it to A1).

View 9 Replies View Related

Count Total Number Of Cells With Value Greater Than 0 For Previous Year?

Jun 1, 2014

Sheet 2 contains the following:

Column AH2:AH367 represents the current year and contains values from Jan 1 to Dec 31 inclusive, some of which are zero and future values are blank.
Column AG2:AG367 represents last year and contains the same and all cells have a value (some are zero).

The date column is A2:A367 (the columns in between are all the years prior to 2013).

I need a formula that counts the total number of cells with a value greater than zero for the range AG2:AG367 up to and including today's date to be returned in cell A1 of Sheet 1.

View 9 Replies View Related

Populating A Cell With A Calendar Month Based On The Previous Date In Another Cell.

Jan 9, 2010

Trying to word this right. I have one cell with a date of 01/01/2010. I have other cells that I want to be equal to this cell plus 1 or more months.

For example A1=01/01/2010

I want A2 to = 02/01/2010 based on one calendar month entered into A1. So if A1 changes 03/01/2010, A2 will = 04/01/2010.

View 3 Replies View Related

Copy Data From Cell Only If Previous Cell Has Specific Text In It?

Mar 7, 2014

I'm trying to copy data from one excel sheet to another excel sheet. However, the data to be copied is dependent on the 'client name'.

To explain this further, in the first list I have a detailed report on our clients and the services provided to every employee of that company/client.

However, the sheet two only needs the names of the employees that belong to a specific client.

This can be done manually by setting a fliter on the name of the client/company, but I need to be automated. To ensure only that specific company/client company's employee name is copied.

View 2 Replies View Related

Adding Timestamp And Username To Cell After Previous Cell Edited

Apr 24, 2014

Trying to get a record of who authorized spending in one of my worksheets and when they did it

I had some VBA code in one of my worksheets which added a time stamp and a user ID to two different cells after the user enters their name. Why it is no longer working, though I suspect after moving the worksheet around.

I would like my users to type their name into cell G65 (which is actually merged from G65-K65). Once the user enters their name, cell L65 (which is actually merged L65-O65) populates with the current time stamp. Also, when the user enters their name into cell G65, I would like cell P65 (which is actually merged into P65-S65) to auto populate. I would like this all of this to go down through line 70.

View 1 Replies View Related

Copy Formula From Previous Cell To Next Cell When I Enter Something

Sep 9, 2007

I want to copy formula from previous row to next cell when i enter something in perticular cell.
i.e

--Colomn A --- Colomn B -- --------Colomn C
1 01-09-07 ----- John ----------=vlookup(b2,$s$1:$t$10,2,false)
2 01-09-07 ----- Smith -------- =vlookup(b3,$s$1:$t$10,2,false)
3
4
5

Now if i enter date in cell A3 then cell C3 should be automatically filled/copy formula as celll C2. and so on......
then if i enter data to A4 then cell C4 should be automatically filled/copy formula from cell C3.

I have also attached example file.

View 9 Replies View Related

Change Text Of Cell If Cell Is Greater Than Nothink Withen Range

Jul 16, 2009

I would like to change the name of all cells withen xrange with a text value greater than nothink.

View 4 Replies View Related

Amount In Cell Is Greater Than A Value, Change The Text Color Of Cell.

Oct 22, 2009

is possible to have a cell's text color change if the value of the cell is greater than a certain amount. For example, if the cell is $200 or more the text would change to red.

View 3 Replies View Related

Conditional Format: Highlight A Cell If Any Cell In The Range To The Right Was Greater Than Zero

Mar 28, 2007

If I wanted to highlight a cell if any cell in the range to the right was greater than zero, what formula would i use. I have tried =IF(L1:AD1>0,1) with the result returning for only the cells in column L. Row 3 has no value in column L but a value in column N with no result to highlight the cell.

View 4 Replies View Related

Cell Formatting - Red Text If Cell Matches Certain Condition Based On Another Cell

Sep 24, 2013

I have one column that contains a monetary amount (column AQ) , and another that contains text reading either "inflows" or "outflows" (column AC)

When AC says "inflows", AQ should be positive, and when AC says "Outflows", AQ should be negative.

I need the text in column AQ (the monetary amount) to become red when the the opposite is true.

i.e. When AQ is negative and AC says "Inflows", AQ should become red. And when AQ is positive and AC says "Outflows", AQ should become red.

View 2 Replies View Related

Formatting Cell To Insert X If Value Of Another Cell Is Greater Than Or Less Than A Range

Feb 6, 2013

I would like to create a cell that will tell me if a dimension has failed.

I have a tolerance that the value must be between and if it is not then i would like a cell that will input an X

View 7 Replies View Related

Copy Cell Range If Column Cell Greater Than 0

Feb 6, 2014

I’m trying to write a macro to look down two different columns in my work sheet and if the is a value >0 then copy a set range of cells to another sheet,

I need to search column (k) and (x) range (“K2 : K147”) and (“X2 : X147”) in (sheet1) for values >0 if there is, then copy from (“f : m”) if it is found in the (k) column, or copy from (“s : z”) if it is found in the (X) column, and paste value only to the next empty cell in sheet2 . Sheet2 is empty so (A) on down is fine for paste range. There is a spin button in the copy range column (L) and I don’t want that picked up in the copy. Manually I (paste text) only but I think (values only) will do the same thing.

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

View 14 Replies View Related

Cell Equals 0 Changes When Condition Met - Leave Unchanged When Condition False

Mar 24, 2014

I am trying to perform a calculation in a cell that leaves the value 0 if before Feb 2014, changes to the value of another cell in Feb 2014 and leaves the value unchanged if after Feb 2014. I can get to the Feb 2014 value but after that month the value changes to 0.

The Cell formula that I am trying to use is as follows:

=IF(YEAR($A$3)<2014,"0",(IF(YEAR($A$3)>2014,H114,(IF(MONTH($A$3)<>2,H114,AA118)))))

A3 contains TODAY()

H114 is the cell being calculated

AA118 is the cell containing the calculated value for the current month.

View 2 Replies View Related

If Cell Value Is Greater Than Another Cell Value By 2 Years - Highlight Red

Mar 26, 2014

I have a spreadsheet that records "Audit Date" in column C & "Audit Due Date" in column D. "Audit Due Date" is always 2 years from "Audit Date". I think I learnt the correct forumla to use =EDATE(C2,24). What I would like Excel to do is to highlight "Audit Due Date":

Red: If the audit was completed 1.5 years+ Amber: If the audit was completed between 1 & 1.5 years Green: If the audit was completed less than 1 year The colour key will show me which audits need chasing.

View 2 Replies View Related

VBA Code To Unlock Cell If Another Cell Value Is Greater Than 6.00

Feb 28, 2013

I have a protected worksheet with most cells locked and some that are unlocked. I also know the password to unlock the sheet. VBA code to monitor a cell(B29 in my case) and if it has a value of 6.00 or more than it will unlock cell B34?

View 7 Replies View Related

Subtotal With Condition (only Count Values Greater Than Zero When Data Is Filtered)

Oct 24, 2007

=SUBTOTAL(2,A2:A100) can be used in combination with any other formula so that when the data is filtered using autofilter it will only count values greater than zero.

I have attached a worksheet with the example.

In the attached workbook subtotal formulas are used in Row1 for sum and row 2 for count.
When the data is filtered using code "DUP" in column D, the subtotal in cell C2 is "4", whereas in the specified range there is a positive value in only 1 cell that is $1050 in cell C99.

Is there some combination that can be used with SUBTOTAL formula so that it will only count values greater than zero when data is filtered.

View 2 Replies View Related

Increase Cell By +1 To Previous Cell?

Jan 31, 2013

trying to get number value to increase by 1 in the cell previous descending down a column.

View 9 Replies View Related

Disable/enable A Cell Based On A Condition Which Is Dependent On Other Cell Data

Jan 26, 2007

how can we disable/enable a cell based on a condition which is dependent on other cell data

View 4 Replies View Related

Formula To Change Cell Colour :: Shade A Cell Depending On Condition

Feb 9, 2007

Is it possible to use a formula to shade a cell dependent on a condition? I have tried an if formula (see below) but it is incorrect. =if('November 2006 SVOC'!B6>'March 2006 SVOC'!C6,'November 2006 SVOC'!B6 [red],if('November 2006 SVOC'!B6<'March 2006 SVOC'!C6,'November 2006 SVOC'!B6 [blue],))

View 3 Replies View Related

IF Cell Value H2 Greater Than 0 / Change Cell Value I2 To 0

Jan 5, 2014

[URL] ........ I have 2 columns for cost (Column H and Column I). Please ignore the rest of the columns such as Amazon fees and shipping fees.

I already used VLOOKUP in my Item Cost column to gather product price based on product name (Column A).

However, I'd like to ask Excel for an IF function that will do the following:

After using VLOOKUP to find item cost, IF Drop Ship Cost (Column H) is greater than 0, I'd like Excel to change my Item Cost (Column I) to 0.

The reason behind this is because there are 2 places I get my inventory from:

1.) My warehouse. But if my warehouse runs out, I get it from

2.) Another reseller who will drop-ship for me

Therefore, I'd only be able to get my product from one place or the other, not both places.

View 3 Replies View Related

Looping Down Through Worksheet While Condition Next Cell > Current Cell

Aug 27, 2008

I have 2 workbooks, A (source) and B (destination).
Workbook A has 1 sheet named 'master' and has 10 columns a:j

I would like to copy a range of data in worksheet 'master' for entire 10 columns while the cell value (moving down worksheet) of the next cell in column A is greeater than the current cell. eg. if cell values of range a1:a6 = 1 then cell value a7 =2, then copy range a1:j6 to workbook B in sheet 'r1'.

Then I would like to go back to Workbook A sheet 'master' and begin process again starting from where it left off at a7.

View 9 Replies View Related

Go Back To Previous Cell

Sep 25, 2008

With "edit directly in cell" turned off, if you double click through in a cell containing a formula to the cell being refferenced, is there a quick way of getting back to the original cell you clicked on?

View 9 Replies View Related

Recording Previous Value In A Cell

Feb 23, 2003

I have a DDE-based worksheet, that is obtaining data from Townsend Analytics' RealTick Server software. One of my cells is a DDE formula that retrieves the current BID ask price, for a given stock.

When a new BID price comes in to my designated cell, I need to somehow capture the existing BID price, before this new one updates in the requisite cell. I want to be able to store this "old" value in another cell.

Unfortunately, there is no "pre-cell" event trapping. I've tried to work with the worksheet_change event, which passes an argument of the effected cells, but the cell value has already changed, by the time this event has been called.

This problem sounds simple, but I am at a loss for a solution. Does anybody out there in EXCEL-land have a solution ?

View 9 Replies View Related

Number Sequence: Add +1 To The Previous Cell

Nov 10, 2008

If I want to create a column of numbers, say 1 2 3 4 5, I can simply add +1 to the previous cell and then use "fill down" to generate my number sequence. How would one generate a column of numbers that repeat once? e.g.: 1 1 2 2 3 3 4 4 5 5, etc

View 3 Replies View Related

If Previous Filled Cell Is Equal To

Mar 2, 2009

How could i change this formula so

If the previous cell "filled with a number" in column D is equal to C17 Then C18 otherwise c17

This is the formula
This formula is in D38
=IF(DAY(A38)=DAY($C$13),$C$17,)

This formula is in D65
I also need to apply the same to this formula
=IF(MOD(ROW(A38)-MATCH($C$13,A:A),7)=1,$C$17,)

View 12 Replies View Related

Cell Reference To Previous Sheet?

Jan 13, 2011

We have a sizeable Excel workbook that contains many worksheets for various things, everything works smoothly except for one minor niggle.

I am looking for a formula that references to a cell on a previous worksheet, the worksheet could be named anything (eg A1, B, 2, 3.4, etc). Then to add 1, ideally the first worksheet inserted must equal, say, 0 BUT can reference the sheet previous as this is a constant; so something along the lines of...

Cell A1 =magic formula
Cell A2 =A1+1

This is to get a vlookup to work consistently.

OR another option is, for the worksheet to reference an already populated worksheet and read down a table by adding one to reference the cells. Eg first sheet reads ='schedule'!A13, the next sheet added would read A14 then A15 etc...

OR a worksheet (like page numbers) count into a cell onto each worksheet inserted, eg on worksheet 6 in cell A1 the number 6 would be inserted then worksheet 7 would have 7 inserted into A1 etc..

View 14 Replies View Related







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