IF Formula Shows FALSE When It Shouldn't

May 30, 2014

I am facing an issue related to IF formula. It does show the correct result in one and another cell, but in a few others - doesn't.

This is strange since all variables are correct, and parameters are the same for every cell. And, in theory every cell should show the right answer.

In addition, the result doesn't change even when changing variables in cells that are dependants to cell where IF is located.

Concerning the formula itself. Variables are as such:

- different container types (20, 40, 40rf, 45cs, 45rf, 45)
- different weight limitations per container type (e.g. 20 container max weight 26t)
- using IF(OR(AND(....
- if any of the conditions met (e.g. 20 container < 26t ) then VLOOKUP for the rate from data based on the place name.
- if non of conditions met, then show "Overweight cargo"

View 6 Replies


ADVERTISEMENT

Formula Shows Result As FALSE?

Feb 15, 2014

I have following formula:

Why does this formula show result as "FALSE"?

If cell B56 is empty, then I need a result of "". i.e. blank result, but it shows FALSE word.

IF(LEFT(B56,2)="on",

then you go straight to the TRUE nested IFs

IF(LEFT(B56,2)="on",
IF(LEFT(B$52,3)="Pla",RIGHT(Table!AN4,2)&"% Discount",
IF(LEFT(B$52,3)="Gol",RIGHT(Table!AO4,2)&"% Discount",
IF(LEFT(B$52,3)="Sil",RIGHT(Table!AP4,2)&"% Discount",""))), "need something here" )

so to get ""

IF(LEFT(B56,2)="on",IF(LEFT(B$52,3)="Pla",RIGHT(Table!AN4,2)&"% Discount",IF(LEFT(B$52,3)="Gol",
RIGHT(Table!AO4,2)&"% Discount",IF(LEFT(B$52,3)="Sil",RIGHT(Table!AP4,2)&"% Discount",""))), "" )

View 3 Replies View Related

Hide Columns That Shows False Using VBA

Apr 4, 2012

Cells H1:AP1 has a range of data which each cell will either show True or False and are formula driven. Example H1 may show False but cell N1 may show True

I need to be able to hide those columns that show false using VBA.

View 3 Replies View Related

Vlookup Returning #N/A When It Shouldn't

Apr 2, 2008

i sell solar panel systems and i've broken it down to 18 different packs that i can sell, the reason for this is that i can very quickly have a tailored quote for a particular client. what i want to do is is literally from a pull down menu have the 18 packs, pick one and for all elements of that quote to come up. i have used a data validation list for the pull down menu which works fine. for the 18 packs, each one has an array of info of between 15 - 18 rows and 4 columns wide (containg info like part description in first column, then cost in second column, quantity in third column and total cost in fourth. how i set it up was, i have all the seperate packs going for left to right on a spread sheet with the title name on top. i have created a quote area so when i use the pul down menu to get title all that pack info should come up. i have done this by using the hlookup command to return the first column on the left - description on parts and this works fine - then to return the cost in the second column, i am using a vlookup command by looking for the description on the left to return the cost. this works for 90% of the info and for the other 10% i get an #N/A when i know it shouldn't. all cells have the same format so i know this isn't the problem. i would really appreciate any help on this from anyone who has had this problem before.

View 9 Replies View Related

Hidden Sheet Shouldn't Be Viewed By Others

Jun 19, 2012

When the sheet is hidden by me in the excel others shouldn't unhide the hidden sheet.

View 5 Replies View Related

Combo Box Event Fires When It Shouldn't

Jul 13, 2007

I have a combo box that insert certain information in the row corresponding to the active cell. Apparently the events that trigger the code are generated by the combo box ( change or on click) but pressing any key also triggers the events of the combo box.(this is undesirable)

The following code is excuted even when any key is pressed. Any suggestions on how I can go around this problem? (get this code executed ONLY when a combo box event is triggered)

Private Sub cmbLinkInfo_Click()

'The record is inserted only if the user is inside certain range
'The range is inside the affected links table and between the columns C and F

If (ActiveCell.Row > 25) And _
(ActiveCell.Column > 2) And _
(ActiveCell.Column < 7) Then
'<
Cells(ActiveCell.Row, 3).Value = cmbLinkInfo.List(cmbLinkInfo.ListIndex, 0)
Cells(ActiveCell.Row, 4).Value = cmbLinkInfo.List(cmbLinkInfo.ListIndex, 1)
Cells(ActiveCell.Row, 5).Value = cmbLinkInfo.List(cmbLinkInfo.ListIndex, 2)
Cells(ActiveCell.Row, 6).Value = cmbLinkInfo.List(cmbLinkInfo.ListIndex, 3)
'>
End If
End Sub

View 7 Replies View Related

Advising Users They Shouldn't Delete Info

Jul 11, 2008

I have a workbook where it is important that users do not delete any information in a particular range. But, I do not want to 100% block users from deleting the info.

What I would like to do is, if a user selects a cell within the range, and tries to overwrite or delete, that a warning box comes up to advise the user against changing the data. Is there a way to do this?

View 12 Replies View Related

Formula Shows DIV/0

May 12, 2008

got this quite complciated formula.

any of the cells specified can be blank at start of spreadsheet
is there a way to hide the DIV/0 error from appearing

this is the formula:

=((((((SUM(C11:C14)*(100%-R2)+(SUM(ThroughputFormulas!C33:C36)*R2)*(L2/30))/1000)*N2)*3600)*P2))/(SUM(C39:C45))/1024/8

View 9 Replies View Related

COUNTIF Formula Which Shows A %

Mar 5, 2009

I already have a conditional format which is working OK. I would like to put a formula in the cell so it shows a % so currently it would be 100% as there is 3 cells below showing 3 greens.

Alternativily each colour is worth a value - Green = 1, Amber = 2, Red = 3. So Cell I3 would show 3.

View 2 Replies View Related

Formula That Only Shows Data Only If Different From Above?

Jun 19, 2014

I am trying to create a basic invoice spreadsheet.

On worksheet 1, I have days of the month A4 to A35. Columns B, C, D, E are headed.

Every hour of work I would enter a " 1 " in the correct cell for the day. For example, 1 hour, every segment of the day, I would enter "1" in cells Bx, Cx, Dx and Ex. This continues for the month;

On a 2nd worksheet, this is neatened up, and I have added formulas to work out the cost and type of call;

On the third worksheet, I want to display roughly the same, however when there has been no work on the day (ie the date displays "None" and the adjacent cells show: blank, blank, blank, blank, £0.00), I want it to skip the cell and display the next date which has data to show (ie a date). The data on the adjacent cells needs match with the date (in the same way as physically deleting a 'non worked' whole row).

This then on the invoice worksheet would look neat and display only the days actually worked.

What formula(s) could I use to do this.

View 1 Replies View Related

Formula Ranges Shows #REF!

Oct 30, 2008

Hi i have the following SUMPRODUCT formula which works as required, but when i clear the raw data and apply new raw data and apply macro that sorts my data, then all the ranges in the formula shows #REF!

=SUMPRODUCT((Raw_Data!C6:C5000=Summary!$B10)*(Raw_Data!A6:A5000=Summary!C$8)*(Raw_Data!E6:E5000>2))

View 9 Replies View Related

Blank Cell Shows 0 Or 12:00 AM If There Is Formula

May 25, 2009

I am getting 0 or 12:00 AM when I format cell as time and put formula.

I working on timesheet using this formula (=SUMIF('2'!G4,"="&TODAY(),'2'!E17)). If date in G4 on sheet2 match with todays/current date then copy data in cell E17 to sheet3(b11).

G4 = todays date
E17 = time eg. 2:25 AM ( I have to format destination cell as time because E17 has time value

Formula works fine but when there is no data in E17 or E17 is blank then my destination cell shows 12:00 AM.

View 7 Replies View Related

Formula That Shows List From Given Condition

Sep 6, 2012

I have an excel file which contains a full consolidated list of data (Master Tracker). I am now creating a new tracker and what i want to happen is for it to show the list of names from the Master Tracker which exceeded the current date "now()" and the status is still pending.

FYI: The master tracker and New tracker is different excel files Here is an example:

Master Tracker:
client
Candidate
Case Date

[Code]....

View 5 Replies View Related

Formula - (-) Shows Up And Ranks This As The Number One

Mar 16, 2007

On cell K7, i have this formula:

=IF(ISERROR(I7-J7),"",I7-J7)

On cell L7 i have this formula:

=IF(ISERROR(RANK(K7,$K$7:$K$29,0)),"",(RANK(K7,$K$7:$K$29,0)))

The issue is that in cell K7 a dash (-) shows up and ranks this as the number one, even when i have no data in I7 and J7.

MTD Conv
Conv Goal
B/W Goal
RK
-
1

29.3
31
(1.70)
12

21.8
25.0
(3.20)
15

View 9 Replies View Related

Formula Shows In Cell, Not Result

Jan 3, 2008

Why is it that when I edit some cell's formulas and press enter the result is not the changed formula but the formula itself complete with the '=' sign infront of the fuormula. The work around for me is to cut the formula and paste it into a new cell then drag the old cell over the previous one I tried to edit.

View 3 Replies View Related

Vlookup Shows Formula Not Data In Every Cell

Aug 7, 2008

I have created a vlookup and it shows as a formula not as data. I can do 'text to columns' to correct it, but I need to drag this vlookup to lots of different cells, then change it slightly in each one.

Every time I make a change, it reverts to the formula and I have to do 'text to columns' again.

View 9 Replies View Related

Formula Shows An Error Once Source Is Closed

Nov 30, 2007

I am linking two worksheets together. Formulas work fine except when I close the source sheet, it turnes into #REF error. I saw in one of the posts that you can not use INDIRECT formula on closed workbooks (INDIRECT is a part of the formula in my sheet) and downloaded the changingExternal. zip file as directed. Although, after staring at it for a while, I realized that I had no idea as to what was going on in there.

View 3 Replies View Related

Formula Shows In Cell As R1C1 Reference

Jun 20, 2008

When I first started using excell I was relatively good at it, however a few changes were made. The main one being for excell 2002 was the collumns were not by letter. A minor problem that I managed to get past. However the next was a function issue. Before I remembered a way to total rows with a simple function like =b3*c3, which worked for the first one. Then, from that point, I could copy that formula and paste it to all of the cells in the collum in which the forumula changed for individual cells to =b4*c4, =b5*c5, etc.

My questions are simple. Is there a way that I can do this on Excell 2002 without having to do it on a cell by cell basis, and is there a way to change collumns back to letters.

I've attached the spreadsheet in which I want to figure this out on. The goal, is to total price and quantities sold into the totals section without doing it on a cell by cell basis.

View 5 Replies View Related

Logical Formula: Value If True/false To Be Another Formula, Not Just A Set Value

Sep 16, 2009

I want to use the If formula but want the value if true/false to be another formula, not just a set value. Here's what I came up with (obviously wrong, please excuse my lack of experience) =IF(D2>C2,"=(D2-C2)*5","=((60-C2)+D2)*5 ")

View 2 Replies View Related

Conditional Formula Syntax Shows Hash Signs

Jul 1, 2007

I trying to write a conditional formula to test data in a cell to see where it falls between certain values, and depending on the data in the cell, will display a message in another cell showing what level has been attained. It's a long formula and I may not have the syntax correct. Can someone look at this and tell me where I have went wrong? All I get in the target cell is "################".

Here is the formula:

Try this formula. Array formulas will have curly brackets {} emcompassing the ENTIRE formula. You do not add these, you Enter the formula with Ctrl+Shift+Enter and Excel will add them (details: Array formulas). Many more Excel Formulas
  =IF(c13<1600,"Not at prize level yet",IF(AND(c13>=1600,c13<=1999.99),"You have reached level 1",IF(AND(c13>1999.99,c13<=2499.99),"You have reached level 2",IF(AND(c13>2499.99,c13<=2999.99),You have reached level 3,IF(AND(c13>3000,c13<=3499.99),"You have reached level level 4",IF(c13>3500,"You have reached the top level!!")))))) 

View 4 Replies View Related

Excel 2010 :: Formula Evaluation Shows Numbers In Quotes

Dec 21, 2011

I'm using Excel 2010.

A formula I am using is outputting "0" instead of the expected value. Upon evaluating the formula I realized that this was because some of the values - years, in this case - had quotes around them while others did not. Please see the image below for the screenshot of the evaluation.

These values - the years - are being evaluated in the following formula.

Code:
=SUM(
IF(inventory!$F$3:$R$3=$A3,
IF(inventory!$B$4:$B$56=$G$1,
IF(inventory!$D$4:$D$56=$G$2,
inventory!$F$4:$R$56))))
This formula references the following sheet (an excerpt from that sheet). You can also see the formulas found in the cells causing the problem.

*ABC5212/20/20102010Adjustments53*20112011543/17/20112011Carwen Printers559/9/20112011Adjustments569/9/20112011Copeland Printing
Spreadsheet FormulasCellFormulaB52=IF(A52="",C52,YEAR(A52))B53=IF(A53="",C53,YEAR(A53))
B54=IF(A54="",C54,YEAR(A54))B55=IF(A55="",C55,YEAR(A55))B56=IF(A56="",C56,YEAR(A56))

I suspect that the problem is being caused by the output of the formula in these cells. If I simply type in "2011" instead of using the formula in B52:B56, then the first formula in the code section above does not have a problem.

How I can reconcile this?

View 2 Replies View Related

Copying Information From Table But Only Number Shows Up Not Actual Formula?

Aug 13, 2013

I am trying to track inventory over 160 days in a spreadsheet. Every week I update a table that shows the number of skus and dollar amount that are over 160 days in a table. I have a ton of formulas that will automatically populate once I put in the new weekly data on a different spreadsheet. I want to track the weekly data so what I would really like to be able to do is paste the actual numbers and not the formulas into another excel spreadsheet so I can track the progress over time. Is there a way to just paste the actual numerical number instead of the formula itself?

View 2 Replies View Related

Editing Formula Shows Text All Red, Parentheses Color-coded

Oct 20, 2007

But the formula seems to be working properly.

I've got ALOT of parentheses, 5 nested IFs, 5 ANDs, 4 ORs. The ANDs and ORs are within the IFs.

While editing the formula, I can, at times, achieve the condition where the cell references become color-coded. Or at least some of them do. But, when I get to this point, I'm usually at a spot where I can see the formula isn't right.

I'm confused. What does it mean when my text is all red when I go to edit a formula? Did I hit some limit? Again, I don't get error messages and the formula seems to work properly.

View 9 Replies View Related

Averages Formula- Spreadsheet Which Has A Column Which Shows Square Footages

Nov 3, 2008

I am working on a spreadsheet which has a column which shows square footages (Column AE) and I also have a column which shows costs (Column Y).

What I would like to do is to bracket these footages in to 6 bands (0 - 5000, 5000 - 10000, 10000 - 15000, 15000 - 20000, 20000 - 25000, 25000+) and then average the costs within a particular band.

View 9 Replies View Related

Formula To Return Value Instead Of False

Jan 6, 2009

In the estimate form I have attached, I want it to auto figure shipping by placing a X in front of shipping type. Which it is doing but how can I get it to show $0.00 instead of false when no X is placed in front.

View 3 Replies View Related

If Formula Displaying False

Nov 30, 2009

The first being that when the first if condition is not met, it is displaying false. The formula should be set up with multiple if statements and then display 0 if all conditions are false. What am I missing? Why won't it work for all the conditions or display a 0?

Second problem is that when I try to add the last if formula to accommodate the drop down option of 60 months (5) excel is giving me an error in the formula. It doesn't matter if I type in the if statement or cut and paste. Why won't it work for this option. A sample spreadsheet is attached. The formula is cell F6 highlighted in yellow.

View 3 Replies View Related

Vlook Up: Combobox Shows The The First Column (only 1 Of Each) And The Second ComboBox Shows Me The Secondary List

Jun 9, 2006

I have a userform where I have 2 comboboxes. The first combobox shows the the first column (only 1 of each) and the second comboBox shows me the secondary list that correlates to the valuse in the first from column B. Now I have a text box that I am trying to get the value from column C depending on what I have in the first 2 comboboxes. What is the easiest way to do it? This is all in VB since it is a UserForm, and using Vlookup seems to be too many lines if I go that route. Is there a way to use Index and Match in VB where it would be more efficient? I attached just a sample of how the data would be layed out in the Excel sheet.

View 4 Replies View Related

Marking Whole Group FALSE If One Member Is FALSE?

Apr 23, 2014

I have a table arranged by columns into SETS of results. I am looking for a way to mark all the columns of a set as false if any one column of the set is false.

View 4 Replies View Related

Macro Of Formula That Shows Character Location Number Of Text File

Aug 14, 2014

I am looking for a way to show the character location number of a text file, possibly in the first row or a macro that I can run at any given location that will give me the location # I am currently viewing.

Currently, when I open the file I can see the character # at the opening screen (see attached file) but they disappear when it actually converts. I would like to be able to keep the character location ruler once the file is opened in Excel so I don't have to manually count.

View 1 Replies View Related

Formula Displays FALSE - Need To Display Zero

Aug 21, 2014

=IF(D9<>"",IF(E9=TRUE,S5*0.46,TRUE)+IF(E9=FALSE,S5*0.3,TRUE))

If D9 is blank this formula displays FALSE, I need it be o or - instead of FALSE.

View 2 Replies View Related







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