Answer For Comparing Cell Should Be True - Format Same
Feb 25, 2014
Here is the qtn if two cells A1 and A2 has "ab 1" and "ab 2" the answers for comparing cells should be true as both cells has first 2 letters as alphabets then space followed by numeric..format of cells is same.
View 2 Replies
ADVERTISEMENT
Jan 22, 2009
I have a quick question: I want to compare two cells' formats with as short programming as possible, so the program runs faster.
I have the current code to compare the formats and give the variable "Result" the value "FormatChange" if the formats are different.
View 7 Replies
View Related
Feb 10, 2009
I'm quite new to array formulas in excel and was wondering whether or not I can advance on this formula:
=AND($C$5=B7,$K$5=G5)
The problem is I would like to compare the entire colums (or array) and return the number of 'TRUE' statements in the array as a value.
=AND($C$5:$C$65536=B7,$K$5:$K$65536=G5)
however, this returns all values as 'FALSE'
example of arrgument:
IF C5:C65535=customer then count how many cells in K5:K65536=completed
View 8 Replies
View Related
Jul 15, 2009
Sheet 1 :
A B C
Row 1 : 5.1 5.2 5.3
Row 2 : 1.1 1.2 1.3
Sheet 2
A B C
5.1 1.3 Formula
5.3 1.1
5.2 1.2
The above is an example of two sheets where in Column "C" i need the formula, if sheet1 A Row 1 = sheet2 A row 2 and sheet1 B Row 1 = sheet2 B row 2 then the value should be ture or false.
=IF(AND(a2=sheet1!a1,b2=sheet1!a2), "true", "false")
I'm getting the answer for this. But if i tried to compare all the three conditions in sheet 1 it is not working.
I used count If as below,
=IF(AND(COUNTif(a2=sheet1!a1,b2=sheet1!a2)>=1,COUNTif(a2=sheet1!b1,b2=sheet1!b2)>=1),"Complaint","Non")
This is Not working. Please suggest the Correct formula.
View 9 Replies
View Related
Nov 12, 2003
Why doesn't the IS operator return True when comparing Target to a range in VB when they are indeed the same? Why do we have to keep backing in via rng.Address = Target.Address or Not Intersect() Is Nothing?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
****
****'_____Works_____
****If Target.Address = "$B$2" Then
********Application.StatusBar = "To Be"
****Else
********Application.StatusBar = "Not to be"
****End If
****
****'_____This fails_____
****If Target Is Range("A1") Then
********Application.StatusBar = "A1 sauce anyone?"
********
****'____But this works_____
****ElseIf Not Intersect(Target, Range("A1")) Is Nothing Then
********Application.StatusBar = "¿Alguien quiere salsa A1?"
****End If
End Sub
Again - this is just me wondering why... Am I missing something terribly obvious here?
(Edit) I am guessing it has to do with the Target argument for SelectionChange() coming in ByVal instead of ByRef, but not sure... (End Edit)
View 9 Replies
View Related
Oct 21, 2009
i have 3 columns and hundreds of rows.... i first applied conditional format to the first row (A1, B1, C1) only. no problems so far as A1 has value '0' which is minimum and B1 is the highest value '200' and C1 is variable value between 200' and 0'. Im using icon sets in this one.... now i want the below rows to have the same conditional format.... how do i do that because when i select them all rows and columns and try to apply conditioanl formatting the outcome is not the same as i got previously in the first row...it somehow combines all the values rather working only on the individual row. i hope u get wat im tryin to say....
i come across a solution in my mind to give a loop in vba to do the conditional formatting each row seperately untill empty cell of column no. 4.... but doing this will obviously eat lot of memory in excel cause of each row will have a seperate conditional format.....
View 9 Replies
View Related
Oct 22, 2007
I have =(D4-C4)<40 (if the difference is 40 or less then color the font orange) but if the difference is 0 or a negative, I need it to do nothing. I don't know how to do the nothing part. I tried using the IF but couldn't figure out how to make the true format the color
View 5 Replies
View Related
Aug 23, 2006
My industry works with public money and must account for it perfectly. The formulas that are in use with my estimating spreadsheet are creating rounding problems due to formulas carrying out numbers to many decimal places. When I then shorten them to currency they appear to round up but when you multiply these numbers they give incorrect totals due to still being many decimal places. How can this be fixed so that the cells are permanently rounded?
View 5 Replies
View Related
Nov 11, 2009
(Core starting issue solved but other threads were created to continue with trouble spots.)
I'm terrified to use VBA just yet, so right now I'm determined to highlight values in my spreadsheet just using conditional formatting.
I have 5 plus 1 columns of data. For example,
A B C D E....F
3 2 4 5 7....2
4 6 1 3 4....1
4 7 4 5 8....4
2 1 5 3 9....1
I successfully applied a MIN formula to compare between columns on each
row and display in F the MIN value. Notice each cell going down F has the
minimum value in analyzing across each row.
Now, I *also* want to apply a formula on the whole F column to compare these resultant MIN values
and give me the MINIMUM value between those as well, so now I'm comparing across
rows. Got it? Now then.....I want the ENTIRE row that has this MIN value in F to be highlighted, because that will be the best choice for the application of what I'm doing. Did you understand this paragraph. It might have been confusing, but I think I said everything correctly, so read it carefully.
I've tried all sorts of "Formula is", "Cell value is", dollar sign this, dollar sign that, no dollar sign this, <, >, =, highlighted ALL the block of data, highlighting JUST the column across the rows of which will be compared, only highlighted one cell, but nothing has worked.
Is my problem that you can't have 2 formulas in one cell? So then I thought I should ADD another condition, but nothing works.
Let me throw in one more element that I did not state. If anywhere down the F column there is a 0, I don't want that to be my minimum. I want it to evaluate and give me the minimum value greater than 0.
Please read everything I wrote carefully. It might be confusing, but I hope someone has an answer, because it sure has frustrated me.
Now, I'm thinking that VBA programming may give me answers, but I am so terrified of macros, I don't know how to begin that. I have this impression based on the many sites I've looked at on the internet that many people do macros and it's quite easy, but it's funny to me that I am so scared. There's something about me freaking out that I won't have a period or a quote in the right place and I'll stress my day away over it.
View 14 Replies
View Related
Dec 27, 2013
So I am creating a board game in excel. I currently have a draw card feature to draw random cards. I also have section above where you can fill in the answer to the question and another 2 sections that flip to correct or incorrect. Those formulas work as =IF(AND(Sheet1!J6="When resubmitting the claim to another insurance should you be voiding an adjustment to the S code if one is posted?",Sheet1!I2="Yes"),"That is Correct!"," "). I have another for if Sheet1!i2="no" then it flips to that is incorrect. I want an OR formula that will be like if multiple cells have any text in them it will display them but only one cell at a time. So essentially a way for multiple questions to be able to be drawn and you can answer those questions and be told if they are correct or not.
View 14 Replies
View Related
Aug 29, 2009
im looking to return an answer in cell c28. in b28 it will say "best goalkeeper"
in c28 i need a formula to look in range d2:d6 then return the highest answer and correspond that to whats in b2: b6. so we could say
(b2)shilton(d2) 33
(b3)corrigan (d3) 55
(b4)parkes (d4) 66
(b5)schmeichel (d5) 100
(b6)cudicini (d6) 14
in c28 it will return the answer schmeichel because he is the highest
and in d28 it would return the points he has.
View 2 Replies
View Related
Jan 15, 2010
Can this Formula work? Where if c2<e5 then its value is a number. The formula below is what i tried but it didnt work
=IF((C2<E5);"c5=value=f5")
View 2 Replies
View Related
Mar 20, 2014
How I can get a picture to pop up when a certain answer is selected in a certain cell, or when a certain answer is keyed in to a cell. Another portion to this question is that we know how to get a message to pop up in a dialog box when a certain piece of information is typed in to a box, but we don't know how to get graphics into those dialog boxes.
View 3 Replies
View Related
Nov 5, 2009
Is there a way to have the answer to a formula display nothing if one of the cells have nothing. Example cell A3= A1*A2 ... it will naturally show 0.00 but even if both A1 and A2 are completely blank. Is it possible for A3 to show nothing if A1 or A2 or both contain nothing. I still want it to show 0.00 but only if that’s what is in the other cells.
View 5 Replies
View Related
Jun 18, 2013
I need an economical way to fill values in 12 cells.
I have a list of 50 cities in column A. For each city I need find and fill certain demographical values in columns, L2 through W50, consistent by looking up data in another sheet. Both sheets share the same column names.
I have tried =VLOOKUP(A2,'CitiesDemo'!$A$1:$W$51,11,FALSE) and it works well enough but I would like to drag across and down to avoid manually editing references.
View 3 Replies
View Related
Nov 15, 2013
Why than going line by line on a document that has 60k rows!
I have a document with NAMES in column A and ROLES in column I. If the user has more than one role..their name will be listed in "A" for each role in "I". I'm trying to purge down a file that has 60k + rows. Lets say i want to see all the people and all their roles if they are in "PROGRAMMER_ANALYST" role...can this be done by macros? or formula?
View 2 Replies
View Related
Apr 6, 2008
I have 2 worksheets (worksheet 2 is Slicing and Worksheet 1 is Production).
Production worksheet D6 has a dropdown box for, 1, 2, 3, 4, 5, 6, 7, 1.1, 2.2, 3.3, 4.4, 5.5, 6.6 and 7.7.
In the Production worksheet, I have in cell E6 =IF(D6=1,"ONE",IF(D6=2,"TWO",IF(D6=3,"THREE",IF(D6=4,"FOUR",IF(D6=5,"FIVE",IF(D6=6,"SIX",IF(D6=7,"SEVEN")))))))
In the Production worksheet, I have in cell F6 =IF(D6=1.1,"ONE",IF(D6=2.2,"TWO",IF(D6=3.3,"THREE",IF(D6=4.4,"FOUR",IF(D6=5.5,"FIVE",IF(D6=6.6,"SIX",IF(D6=7.7,"SEVEN")))))))
How do I show in Slicing worksheet cell B6, either 'ONE', 'TWO', 'THREE', 'FOUR', 'FIVE', 'SIX', 'SEVEN' as i have the formula =PRODUCTION!E6&PRODUCTION!F6 and the cell shows '
View 9 Replies
View Related
Oct 27, 2009
i need t oknow if i can have text added into 1 cell with having a formula with a answer in it as well,,,i have attached a sheet with better examples of what i mean.
View 3 Replies
View Related
Aug 2, 2009
I have a worksheet where I have around 300 rows, each with 7 columns. What I want to do is add a checkbox to each column. I plan on setting non-applicable checkboxes to mixed status and locking the worksheet. I will unlock applicable checkboxes and sumif or countif their value according to row-based scoring, for example, each checked checkbox represents a value of 3. I do not know VBA and have chose to use the form control checkboxes rather than ActiveX.
I believe that a formula for this would be something like: =SUMIF(B1:B3,True,"3") or =COUNTIF($B$1:$B$3,True)*3
I am wondering firstly if I have that right and secondly if there is a way to stop my checkboxes from displaying labels. Currently, if I click on one it displays True behind the active checkbox. If I uncheck it, it displays False.
View 8 Replies
View Related
Oct 19, 2012
I have a spread sheet with a date colume that reads: 2012-06-27-19 I need to have this read like 06/27/2012 but nothing I do is working I have tried to go to the formatting process and backing the hr:mm out and that doesn't work. I really don't want to go line by line to manually correct this issue.. HENCE ... over 2000 lines
Second question: If I have a column that reads 02/15/2012 and another column that reads 3/27/2012 how to a format a 3rd column to make it read total number of days between 1st date and 2nd date?
View 1 Replies
View Related
Mar 12, 2014
If a cell changes to true i want it to send an email to the address that is in another cell,
For example if F5 CHANGES to true then send email to address in G5,
From here i can add in the subject line, and body i just cant figure out how to get it to send to a specific email address based on the cell value, and also only do it once, when it changes to TRUE rather than everytime the sheet is active, so i would require a macro to constantly be running, or run of off the cell when it changes
View 1 Replies
View Related
Nov 15, 2006
I am trying to Sum lines of info with "True or False" and "Yes and No". I would like to assign 1 to True and Yes and 0 to False and No when I total the rows. Never tried this in Excel, on Lotus and the formula does not work. I can find and replace, but I would like to be able to use a formula.
View 2 Replies
View Related
Jan 24, 2014
how to denote a cell as blank? I'm trying to do an IF formula for if the cell is blank.. Actually it would also work if the formula reads if the cell was NOT blank. Either one would work I just can't figure out the name of an empty cell. So I'm looking for this with the right word in the formula. =if(A1="blankcell",true,false)
View 2 Replies
View Related
Jun 22, 2007
I have one tiny qs which I hope someone can answer for me.
I need to allow a user to see a dropdown list (with options) only when the previous cell has the word "complete".
For example, cell B1 can have:
On going
Complete
Blank
If B1 has complete then I want the user to be able to select a number from a drop down list in C1 otherwise I want it to say "wait" or if its Blank to be [Blank].
I tried the Validation > Custom and put in
=IF(B1"Complete","Wait",OptionsList)
Where OptionsList is a defined list of 5->1 but this lot didnt work. I tried similar things in conditional formating but nothing again.
View 9 Replies
View Related
Oct 29, 2009
If the result of cell B1 is true then YES if not NO?
I know I can use the formula: =IF(B1="Yes","YES","NO") but I'm looking for the TRUE or FALSE result.
Sheet1
AB110Yes2 3 NO
Spreadsheet FormulasCellFormulaB1=IF(A1>5,"Yes","No")B3=IF(B1=TRUE,"YES","NO")
Excel tables to the web >> Excel Jeanie HTML 4
View 9 Replies
View Related
Jan 25, 2008
I have a worksheet with a cell range where the cells can be either logical TRUE or FALSE as a result of recalculations elswhere in the sheet. Only one cell in the range can ever be TRUE at any given time. For much of the time all cells in the range will have the status FALSE Each cell in the range has the same relative logical formula linking to values in other cells in the worksheet I need an event driven macro to find and move to any cell in the defined range if it changes status to TRUE No action is required when the status of the cell changes back to FALSE from TRUE
View 2 Replies
View Related
Apr 3, 2009
I have a credit card payment estimation sheet that i am trying to set up a cell that will display the same data as the last cell in columb A that the IF function displays true. I have attached a sample of what i have so far. Would like the data do display in the yellow cell with the red border. File is in Excell 2007 Format.
View 4 Replies
View Related
Dec 17, 2012
I'm looking for an IF function formulae.Currently, the IF function of my cell is =IF($A8=B$1,1,0), value if true=1 , if false= 0.
But how do I make the cell A8 ( MRT , Taxi ) show a true value of 1 ?
Becos MRT , Taxi is also under MRT, but I don't know how to make it a true value of 1.
View 6 Replies
View Related
Mar 27, 2009
I have a cell in Excel having a boolean value and want to use a macro to check if it is true. Something like this:
View 3 Replies
View Related
May 5, 2009
If you look at the attached spreadsheet you will see 6 tabs. Main, New Cust, Quote, etc.
"Main" will be the sheet that everything is inputted. If there is a "Y" under new customer, I want the entire row to copy to the tab "New Cust". If there is an "X" under quote, struct design, or graphic design I want it under its approp. tab. The Lisa tab should take certain Sales-Person and copy entire row on the Lisa tab. The certain Sales-Persons are BS, PK, PB, PD.
Buttons are fine. The "main" page will be getting updated daily w/ new info so after entering new data, i can press the button and it should copy the above to its locations.
View 7 Replies
View Related