Use A Forumla To Find A Cell One Back

Feb 19, 2008

I have a worksheet with pricing & part numbers on sheet1. I put a formula on sheet2 that puts the lowest price in colum C of sheet2. Now I need to also get the part number from the cell before. So if the lowest price is in cell E3 I need to also get the part number in D3, and put it in B3.

View 9 Replies


ADVERTISEMENT

Find Range Of Part Number And Bring Back Value 0 If Match Or Value Of Another Cell

Sep 4, 2013

I need a formula to check a range of parts and bring back a value of 0 if matched or the value in another cell if it doesn't match.

Part number H-200-3
Part number H-200-3-A
Part number H-200-3-B

If I enter any of the above part numbers then cell B1 returns 0 if it is a different part number then B1 would need to match cell A1.

View 2 Replies View Related

=If (forumla) = Colour Fill Cell

Oct 5, 2009

I have two dates lets call them cells A1 and A2. I then have another cell that caluclates the difference in these dates into a simple number (ie not another date) - A3. I need one of two things.

Ideally I want the whole cell (A3) to appear as a Green (fill) cell if the value is below 5, appear Orange if beween 6 and 9 and appear as red if its 10 or over.

I do not know if you can colour a cell that has a formula in already. So what follows is my current 'work around', which, if you can not colour the A3 cell, then I would need this cell coloured (A4). =IF(D12>7,"Urgent Attention",IF(D12<5,"New",""))

View 5 Replies View Related

Countif Forumla That Counts If One Cell Is Greater Than Another

May 20, 2009

I basically want for it to be able to calculate all the games a each team has won in the example below.

View 13 Replies View Related

4 Areas North East South And West- Forumla To Enter Into A Cell

Jan 19, 2009

i have 4 areas north east south and west, what is the forumla to enter into a cell that would automatically add the Salesperson when you know the area

Table is

Date, Area, (FORMULA), Amount

13/11/09, North, ( ), Amount

Basically there is a table with the salesperson per area

if i was writing it i would say its as follows

If Area = North then Mr Smith else if Area - South then Mr Jones etc etc

View 9 Replies View Related

Forumla To Give A Starting Number And Take One Away Each Time A Code Or Codes Are Dislayed In A Cell Range

Mar 22, 2009

In 1 cell i need a forumla to give me a starting number and take one away each time a code or codes are dislayed in a cell range. Something like this

A1 = 23 days or any number days i needed

Cell range B1:C52

every time a selected 1 or 2 letter code appears in the cell range i want A1 to subtract 1 day from the starting number, i would need it to subtract half a day if one code appears ie HD, the codes may be P, OT, HD

View 4 Replies View Related

Looking Back Through Cells In A Column To Find Specific Text(s)

Feb 14, 2010

In the attached sheet I need to check on the Destination in column B, and if it matches set criteria, divide the figure in Column E by 2. eg If LAX is the destination, then for any rows directly under LAX until the next destination appears, column E needs to equal column D divided by 2. If the Destination is not LAX, then Column E equals Column D.

the difficulty I am having is that there can be a variety of row numbers for each destination. I am having trouble creating a formula that can basically work backwards from Row-1 in column B until it gets to a text string, and check that text string against the criteria. so it may be row -1 up to about row -9 dependant on the number of flight times available to each destination throughout the week.

View 5 Replies View Related

Find Median In Range And Bring Back Adjacent Cells

Jun 25, 2014

Median Indirect: I would like to find the median in a range of cells and then bring back the 2 adjacent cells

Range...............Adj Cell 1............Adj Cell 2
1.......................L1......................L2
2.......................P3......................P4
3.......................O9......................010

So the median of the range is 2, thus we would want the formulas to bring back P3 and p4

Column 1..............Column 2
P3...........................P4

View 12 Replies View Related

VLookup To Find The Customer And The Dates And Then Bring Me Back An Asterisk In A Separate Column

Jul 27, 2007

I have 2 spreadsheets. One is a promotion calendar that lists the dates that promotions on a certain product runs. The other is a shipment grid of shipments of that product to the customer.

I want VLookup to find the customer and the dates and then bring me back an asterisk in a separate column to show me that that certain week that product was delivered was a promotion week. The problem I have is using Vlookup to lookup 2 things at once (and if they match to the promotion calendar) and return me an asterisk.

Here is my formula now:

=IF(VLOOKUP(J2&" "&L2,'East Data'!M:AU,2,FALSE),"*",0)

J2 is the customer name
L2 is the week
"East Data" is the spreadsheet with all of the promotions and customers.

View 9 Replies View Related

Find Text String And Report Back Data In Unknown Number Of Rows

Apr 26, 2007

For example

Name Address Phone # zip
Danielle 4561
Danielle 9852
Danielle 22
Danielle 69
Joe 895
Joe 28
John 9821
John 1114
John 698

Say I did a search for Joe. I want to report back all the addresses in which he resided but there's no way to tell how many rows of data each person has. Joe has 2 rows, Danielle has 4 rows and John has three. How do I report back all the relevant rows?

View 11 Replies View Related

Calculating Distances Between Back-to-back Locations

Aug 11, 2012

I have a layout something like the following:

A1
A2
A3

[Code]....

Where each (i.e., A1) represents a location. I have tried to use a coordinate system but this will not work for the back-to-back locations. (Assuming each location is 2 feet wide, For example A1 to C1 is 4 feet apart, not 2 feet (as Euclidean or rectilinear would calculate it as).

Would there be a way to incorporate an if statement for those locations that are back-to-back? As a rectilinear distance calculation would work as long as the locations are not part of the same "block".

Ultimately I am looking to have a matrix which contains all the distances between each location:

A1
A2
A3
B1

[Code].....

View 4 Replies View Related

Forumla For Rounding Up And Down

Apr 25, 2007

I need a formula showing that if a number is less than say 1.25 then it rounds down to 1.0 and if its between 1.25 and 1.75 then it rounds to 1.5 and then if greater than 1.75 then it rounds up to 2. I need it to work for all numbers not just 1.

View 10 Replies View Related

Forumla Result When Displayed

Jun 18, 2009

I have a worksheet I use at work that calculates volume proccesed hourly, and also shows a running total as you enter hourly figures into the table, my question is can you hide everything in the result cell until the figures for each hour are entered ? currently all the result cells have irrelevant numbers in them until you enter the hours figure and the formulas do there thing, I could relly do with them being blank until the relevant hours information is input?

View 2 Replies View Related

Multiple IF And SEARCH Forumla

Aug 19, 2009

I am trying to do is use a combination of IF and SEARCH forumlas to return a result based on a choice of constants available to the user. Issue 1: IF Function to determine which worksheet to SEARCH What I would like to add to this is if one of the 3rd criteria (Amount) is under a certain number then the results are derived from the 'Staff' worksheet'. (This is stage I have gotten to so far). However, if the criteria is above a certain number then the results are derived from the 'Executive' worksheet. This is the part I'm so far unable to do.

Issue 2: SEARCH function returning the column per the user's selection on 'Matrix' page In addition, criteria 2 (Type) can be selected which corresponds to a column in the Staff and Executive worksheets. So far I have been unable to get the correct search results to post in the Matrix page. What I mean by this is that currently it is set to Type1 only. I have tried using an IF function in cell G8 and include this in the formula, however, the forumla returns the contents of G8 in the cell instead.

Issue 3: SEARCH results are post in an accending order. At this stage I have only been able to work how how to do this by using an AUto Filter on the Staff and Executive pages and sorting accending that way. Going forward as updates are made to the staff and executive pages I would prefer that this manual task was not required. Instead, the formula used returns the search in accending order.

View 4 Replies View Related

Forumla To Get The Average Per Account?

May 31, 2007

If you Have a list of account numbers and amounts, is there a way in one forumla to get the average per account?

View 9 Replies View Related

Sum Forumla - Not Working When Fill Down

Jul 20, 2009

Basically I have cells like this.

.....

I want to fill this formula down so that the summing occurs all the way down the collumn. However when I fill it down, it just copys the first two forumlas, rather than make the formula correspond to the row.

View 9 Replies View Related

Getting A Loop Including "find" To End When It Gets Back To The First Result

Jul 2, 2009

I am wondering why the loop at the end of this macro loops endlessly.

View 3 Replies View Related

Exchange A Number For A Letter Forumla

Aug 8, 2009

I have a sheet which calculates payment amounts.

Column titles:
Hours | Rate of Pay | Total

In the hours column usually the entries consist of numbers and everything works fine. However when an employee is on holiday they are still paid.

What I want to do is be able to enter the letter "H" for one of the entries in the hours column. The sheet to translate this as 2 hours.

H=2 x rate of pay = total

I cannot for the life of me get the correct formula to in order to achieve this. I don't particularly want to use a macro for this and others have suggested the "COUNTIF" function.

View 10 Replies View Related

Margin Forumla :: How Do I Figure Out The Cost?

May 27, 2008

I have the margin and I have the sale price. How do I figure out the cost?

View 12 Replies View Related

VBA - Selecting Active Cell And Working Back To Specific Cell Range?

Jul 2, 2014

I have a form that loads and depending on the word selected in the drop down the following code loops through cells Q2:AC2 until it finds the word in one of those cells (the word will always be in one of the cells)

Code:
For Each c In Range("Q2:AC2").Cells
If c = period Then
c.Select

[Code]...

The active cell it finds will always change, i know I need something to code the active cell back but I don't know what it should be.

View 5 Replies View Related

Trying To Get My Sheets Back To Move From Cell To Cell With The Arrow Keys Please

Nov 3, 2008

I know this is a sooo basic question but I can not for the life of me remember how.....

when I am on a excel sheet I can not seem to move from quare to square qiththe arrow keys.
It just now takes me all the way to the left or all the way to the right and not from cell to cell from left to right.

I know its something rather simple yet I can not seem to figure this out.

I have no problem with this on 2003pro.

View 6 Replies View Related

Using A Forumla To Return The Position Of A Value Like Index Match

Jun 16, 2009

I have a workbook that uses several indentification fields one for Job ID, One as a subID which occurs for every part of a job, i am currently using formula

View 5 Replies View Related

Forumla Highlight A Entry Based On Count If

Jan 21, 2010

If I minus H is less that 90 count as 1. But if I minus H is greater than 90 count as one but highlight the row on the speadsheet in yellow.

What I am doing is I have a list of about 3000 entrys and I need to determine if (I minus H is greater or less than 90). I then need to count how many times out of the 3000 entrys each entry is greater or less than 90 and highlight the entrys in yellow that are greater than 90.

It would be ideal to determine the difference between I minus H and then categorize the findings of the 3000 entrys to see how many were say 59 and how many were 47 and how many were 92 etc.
I have never seen a forumla highlight a entry based on count if. I am currently rapidly searching the forums here but to no avail.

View 9 Replies View Related

Cell Borders (get Back The Default Cell Bounders)

Jan 16, 2010

If I've defined borders for a range of cells and then, changing my mind, change it to "No Borders", those cells are still different than the normal, non-formated cells. Is there a way to get back the default cell bounders?

View 3 Replies View Related

A Forumla To Look At A Year And Month And Return A 1 If Match Found?

Apr 3, 2014

In cell b2 I have a formula =text(today(),"yyyy") which daisplays todays date as a year, in cell b3 I have =text(today(),"mmmm") which displays todays date current month.

I have a column of Months and Years

January 2014
February 2014 etc

I need todays (current) month and year to indicate in a helper column next to the relevent month and year as a number 1 to use as a reference to return date from the row where the 1 is displayed, I have tried =if(and(b2=a10,b3=b10),1,"")) and it dosent like the fact that the year in the colmuns is entered as standard text, is there any whay to do this?

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

Forumla For The Calculating Total TIME But To Give A Value As 0 When Text Is Typed

Apr 14, 2009

I have set up a spreadsheet to calculate time as followed:

A1 - Start Time
B1 - Finish Time
A2 - Hours Worked:


=IF(B1<A1,B1+1,B1)-A1

C1 - Start Time
B1 - Finish Time
C2 - Hours Worked:


=IF(D1<C1,D1+1,D1)-C1

and so on.........

View 10 Replies View Related

Address From Cell Back To Range VBA

Apr 29, 2013

I have to macros I'm working with the first take a user set range and prints the . Address to a cell.

The second Macro I'm trying to get to look at that cell and pull out the range. So is there an opposite fuction to .

Address that will convert excel format to a VBA Range format. Ex A cell with $A$1:$A$2 to Range("A1",A2")

Macro 1

Code:
For j = 1 To x
c = 1
For i = 1 To ws.Range("AD" & rc).Value
ws.Range("AE" & rc).Value = Application.InputBox
(Prompt:="What is the Heading of Data set #" & c & " Table " & tc & " This entry may repeat", Type:=8)

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

Macro 2

Code:
'A lot of code here but I want to be able to set multiple ranges to the ranges list in the cell values.
rng(2) = sh(0).Range("AG2").Value

View 9 Replies View Related

How To Read And Set Cell Back Color In VBA

May 24, 2013

How to read and set a cell backcolor in VBA ?

I've tried all sorts of things ( interior. colour, interior.colorIndex) but nothing gets the correct color.

View 5 Replies View Related

Refer A Macro Back To A Cell Value

Aug 31, 2007

macro which can paste the value from A1, to another B1 and when A1 is edited again, pasted it in B2. This will probably go on and on until B30. I have tried the if else then in Macro, and even the if elseif, but both don't go futher than B2. E.G A1=1 B1=1 A1=4 B2=4 A1=3 then nothing happens to B3. If there is a way to make this work, it will be great. The way i am tryin to get it is to have =if(B1="","",1) for each cell from C1:30 and with C31 the formula "=count(C1:C30)+1". Then i formated C31 to a custom and make it so that before numbers, there is an B. This means that if B1,2,3 and 4 and numbers in them, then C31 will read B5. That will be the cell i want my next record to go. I would prefer it if there is just a code that i can enter that will go to the next cell when it knows the current cell has a digit in it but if i have to, the count way will do,

View 9 Replies View Related







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