# Returning Cell With A YES Or No Calculation?

Nov 11, 2013

I am trying to return a cell with a simple yes or no answer and having a little difficulty.

I have entered the following formula which is returning #NAME
=IF(E4<=1.25,ORH4<=0.01,yes)
Calculation needs to be as follows:

Install Cost <1.25 and Profit atleast 0.01
The YES NO needs to be in the Invite? column

## SUM Returning 0 - Calculation Set To Automatic And Cell Formatted As Number

Dec 19, 2013

I have this problem where the SUM function is returning 0. The context is this- I am simulating values using RAND() and looking up the values corersponding to probabilities from a different tables. I then use the TRIM function to return the value I need, and the final number is of a "general" format.

This is the formula in the column I wish to sum:

And this is dragged down the column.

When I change the cells using =VALUE(cell) the SUM function then returns the required value. Oddly the SUMPRODUCT function seems to work.

Calculation is set to automatic and the cell has been formatted as a number.

## UDF Returning #VALUE! When Calculation Paused

Jun 30, 2006

I have written a simple UDF that returns a random number based on another cell value. The problem I am having is when the user pauses the calculation of the UDF(s) or flips between spreasheets (and calculates on the other spreadhseet) - then the UDF returns a #VALUE! result. I presume this is because the code has not finished. Is there a way I can bypass this (or force a calculation if the result is an error value?)

## Cell Returning #n/a

Mar 29, 2008

i have this formula in cell e28 =IF(B28<>"",LOOKUP(B28,STOCK!A1:A500,STOCK!B1:B500),"") and when its empty it returns a blank cell

but in cell e29 i have exactly the same formula =IF(B29<>"",LOOKUP(B29,STOCK!A1:A500,STOCK!B1:B500),"") but i returns #n/a

why is this and how do i stop it i want the cell to be empty unless there is a code entered in b29 in which case it will look up the relevant info for me

## Clear Cell Content Based On Another Cell Calculation

Dec 21, 2012

I have a cell A1 in sheet2 linked cell A1 in sheet1 (simply A1='sheet1'!A1). A1 in sheet1 is a data validation drop down menu.

I want to clear the content of A2 in sheet 2 everytime the content of A1 in sheet2 changes/is updated. That is everytime the value of A1 in sheet1 is changed using the drop down menu.

I tried using a Worksheet_Change event macro (which I do not fully understand) but it won't work with a cell that updates from a calculation. It also doesn't work if triggered from a cell from another worksheet (I tried linking it to cell A1 on sheet1 in this case).

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("A1")) Is Nothing Then Exit Sub
If Target.Count > 1 Then Exit Sub
Range("A2").ClearContents
End Sub

Any simple solution to clear the content of cell A2 in sheet2 when A1 in sheet2 updates?

## Automatic Calculation Of Cell Value When One Of The Variables (cell Value) Is Changed?

Oct 31, 2013

which will calculate value of a cell when one of the variables has been changed?

To illustrate what I have in mind, an ecxample:

* User can add values to cells using UserForm
- Component name (to Cell "A1")
- Component price (to Cell "B1")
- Component quantity (to Cell "C1")

[Code]....

## Calculation Using Last Value In A Cell

Jan 23, 2013

I have a list of prices but some cells contain multiple values where the value has changed. I need a formula that will use the last value in a cell.

Example below. As you can see the result column has now value as its using \$3.41\$3.117 in the calculation (I need it to use \$3.117)

Price
Uplift
Calculation
Result

[Code]....

## Looking For Value In Column Then Returning Value From Different Cell In That Row

Apr 23, 2014

Basically, I want to use look in one cell to get a value then in a table look in a coloum to find the same value then return a value from a different column in that row.

This is to organize groups of children participating in an event.

See the attached spreadsheet for details.

Groups example.xls‎

## Returning The Value Of The Larger Cell

Feb 5, 2009

I am looking to return the larger value of 2 cells into a seperate cell.

## Empty Cell Not Returning Zero

Jul 30, 2009

I had this problem a few days ago and NVBC suggested Text to Columns, which worked initally but didn't seem to 'save' or stick... also, I'm not sure what is causing the problem to begin with. It was my understanding that Excel couldn't return a truely 'blank' value. If a cell was blank or empty, Excel still 'sees' it as Zero. WHY then, for the Love of Gummi Bears, will Excel not calculate my formula. It's a simple formula!

=A13+B13

I've tried
=SUM(A13+B13)

I've tried
=IF(ISERROR(A13+B13),"",A13+B13)

But if don't TYPE in a 0 or a number, then it just does nothing. 50 + 0 = should be 50 not blank or #VALUE!. 50 + Nothing = should be 50 not blank or #VALUE!

Attached is a small copy of what I'm trying to do. I've double checked that all number cells are formatted to numbers, not text. I tried the Data:Text to Columns trick. I've tried Tools:Options:Show Zeros. I've tried Manual and Automatic Calculation. They shouldn't have to type in 60 cells of Zero to get the simple calculation.

## Returning 0 From Blank Cell

Jan 7, 2013

I'm linking one sheet in a workbook to another. The formula is simple,

If there is data in the cell, it replicates it which is what I'm after. However if there is no data in the cell it returns a "0", not what I want at all.

## Sum Returning Blank Cell

May 28, 2009

I have a current formula using SUM formulas obviously in the answer cell the answer is returning 0 due to no data inputed, how do i make the cell show empty.

eg. =SUM(A1*A3) returns answer 0 need cell to be blank.

## Returning Cell Reference

Dec 10, 2007

I have a sheet containing collums with month an weeks. I try to find out which collum the first week start and where te last week the same mont ends.

Let say A5:E5 is filled with december in each cell. The row below (A6:E6) says week 48, week 49, week 50, week 51, week 52.

I want a formula telling me de Cell reference where desember begins en where it ends. In my Excample (A5 and E5). If Possible, I also could prefer that the cell reference was to rows below start/end. In my example (A7 and E7)

## Returning The Address Of A Cell

Jun 27, 2009

i'm trying to figure out a way that would return the address of the cell that contains the highest/lowest value of a range i.e. =cell("address",min(g3:g6)).

if the lowest value was in cell g4, i'd want the output from above formula to be \$g\$4.

## VLookup Without Returning Cell In Same Row?

Jun 24, 2013

view the graph below:

A
B

1
EXTENSION 101

2
INBOUND TALK TIME
55M19S

3
OUTBOUND TALK TIME
1H22M13S

[code].....

I am trying to create a formula that will act like a vlookup but will return a different row. In other words, On page two I need to write a formula that says: In column 1 if you see "Extension 101" return column 2 of the row right beneath it, so on and so forth. So page two should return a mirror of what page one says, the difference is I would like people to type in "Extension 101" in a cell and it would return all the date.

A
B

1
EXTENSION 101

2
INBOUND TALK TIME
55M19S

[code].....

Cell A1 would be typed in//Cell A2-A4 would be static//Cell B2-B4 would return these numbers based on info from A1.

Cell A1 would always be unique in column A (on both pages).

## Looking Up Max Value In A List But Returning A Different Cell

Mar 4, 2009

The conversion rate is updated daily from telephony reports, and I manually sort it into conversion order each day before sending it round.

What I want to do is find the highest converter for each team.

So:

Column A ('TeamLeader' range) has the Team leaders in, column B has the agent name ('Agent' range), and column F has the agents conversion rate ('conversion' range).

I think I'm on the right track with this formula:

But this only displays the figure in the Conversion rate, how to I get it to 'step back' 4 column's and show the agents name?

I tried this:

but that returns #NA - is this because I'm asking the VLOOKUP to look 'backwards' 4 columns?

## CODE For Returning Cell Value

Feb 5, 2010

I have find this code on web and I'm good with VBA at all. So I need help with this code below.

instead of text( marked with red ) i need to return value from cell, let's say from A1 and I want to have this macro running when excel is opened.

Sub Animate_String()
Dim stxt As String
Dim x As Integer, y As Integer
Dim Start, delay
stxt = "Lookup cell Aq"
For y = 1 To 100

## Returning Something In A Cell If Another Cell Has Info Input

Apr 1, 2008

my spreadsheet to return the word unit if cell a18=1 or the word units if its over 1 but i also want the cell to remain empty if there is nothing input into cell a18 is this possible

## Calculation With A Blank Cell?

Feb 17, 2012

I am working with a pricing worksheet using the following formula to calculate my selling price. My problem arises when I have either one of the Exchange Rate fields blank or zero. Typically one or the other Exchange Rate would be used, and I have to be sure the one not being used is set to at least 1 or I get an error. Preferably I would like the cell to be ignored if it is blank. I've tried several options but cannot get anything to work.

I'm currently using this formula where the cells have defined names (ie US_EXCHANGE) and F# is my cost.

=F8*(IF(US_EXCHANGE=0,"",US_EXCHANGE*1))*(IF(EURO_EXCHANGE=0,"",EURO_EXCHANGE*1))*MARK_UP*FREIGHT

## Not See Value When Calculation Cell Is Blank

Jan 17, 2013

In one cell I have the formula =EDATE(D4,3) which looks to the cell to the left (which has a date in it) and in this case with the 3 it gives me a date three months in advance of the date in the cell to the left. This is for sites I visit quarterly. Then for those I visit monthly obviously the 3 is replaced with a 1. so in the cell I get the date when I next need to do my visit.

In the cell to the RIGHT of the cell which has the formula-generated date in it, is a cell in which I manually enter the date on which the next visit took place. In some cases I can't put anything into this cell because I've not been to revisit the place and so I can't put a date in. In the column to the right of this I've got the same formula as referred to above but, because the cell to the left is blank, it's returning a value which makes no sense and really, I'd prefer it that if the cell to the left is blank, the formula doesn't return any value (just leaves a blank cell instead).

So, what would I have to add to the formula above or what would I have to do to get it that if the cell to the left is blank, the formula is still there, but just returns a blank cell???

## Using A Cell With A Function In It To Do A Calculation

Feb 15, 2008

I have this formula: =IF(ROWS(H\$12:H12)

## Auto Calculation In One Cell

May 20, 2008

How to use macro to build a calculation in excel using macro, so every time I type a number another cell it has value calculated without click "run" macro.

For example, I want to sum value in Range from F8 to FinalRow automatically, For example, I fill in 3 in D8, 4 in E8 and F8 show value 7; I fill in 4 in D9, 9 in E9 and F9 show value 13.

What is code for this?

## Calculation Based On Cell Value

Dec 17, 2007

I tried all those search and have no idea what to look for, sorry.

I have attached a single sheet with Footpath Budget for you to see.

In J6, we put in Y or N for Yes or No if there's a nature strip along the footpath.

Now, in cell G49 gives us the total square meters of nature strip.

What I want to do is if I put N in cell J6, cell G49 should be empty or zero because N means there's no nature strip. But if I put Y in J6, then cell G49 can give us total squares from cell C43.

So what formulas can I put in cell G49?

## Returning Value If A Cell Contains Specific Character?

Feb 25, 2014

Essentially what I'm trying to accomplish is import a file from Quickbooks and determine whether it was a Credit Card, Check or Invoice based on the account number.

For example:

45-12345 should return the value CC in an adjacent cell because it contains the "-" character.
I0123456 should return the value INV in an adjacent cell because it contains the "I" character.
01234567 should return the value ACH in an adjacent cell because it doesn't contain either character.

I tried using VLookup, but I can't figure out how to write a formula for when it just contains a character, only if it matches it or is text/number.

## Sum Formula Returning ZERO In One Cell Working Everywhere Else

Apr 19, 2013

All the answers I can find for this address either the auto-calculation setting or formatting the cell as a number. I am using this same formula in a bunch of cells to calculate totals: =SUM(E12:E17). It works find all over the sheet, except in one box. There is no difference in formatting or data type or anything.

Not working: notworkingexcel.png

Working: workexcel.png

The numbers being summed from the cells above the one in question are referenced from another sheet if that is relevant.

## Clearing Filters And Returning To Cell A1

Feb 27, 2009

I am not sure if this is doable in VB or if there is an excel function to do this but I am using a rather large worksheet that is shared amongst my staff. I would like to have the sheet clear any filters that have been used by one member and for the sheet to save with the cursor in the home cell (A1). This way the sheet is ready for the next user. Can this be done with VB?

## Returning A Cell Reference With A Formula

Feb 17, 2006

I am wondering if there is a way to return a cell reference by having excel
look at a table with certain parameters. For instance...
If there were a table with repeated dates such as:
Feb 12 1500 1530
Feb 12 1745 1750
Feb 13 1215 1245
Feb 13 1610 1700
Feb 13 1850 1900
Feb 14 1050 1140
Is there a way to return the cell number (ie A6) for the first instance of
Feb 14?

## Using A Vlookup And Returning A Cell Reference

Nov 14, 2008

I have a sheet which uses a vlookup to find the data on a large sheet. normally to get the cell reference of the data i would use cell("address",......

However this appears not to work with a vlookup.

## Returning To Previous Cell Color?

Oct 4, 2011

I am using the following code (I found here), to test for unlocked cells when I am creating a sheet. (I'm really new at this) I have 2 issues. First this (below) doesn't end itself, I have to escape or pick another cell. Second, I would like another button to return cells to the previous color after I have corrected any locked/unlocked cell errors.

Private Sub CommandButton2_Click()
Sheets("bf calcs").Select
Sheets("bf calcs").Unprotect ""

[Code]...

## Returning Cell To The Left Of Maximum Value

Jul 10, 2012

I am trying to return the value in the cell immediately to the left of a Maximum value found in 3 cells. I've added the MAX(Q4,S4,U4) formula into AF4. I've tried several variations without success.