I need to be able to get a true/false from a tolerance percent.
Here is an example of what I am trying to do
cell a2 is Nitrogen
cell b2 is (Known gas%) 2.4800%
cell c2 is (unknown gas%) 2.4963%
cell d2 is =b2-c2 and I get the answer no trouble there. what I need is to take the answer in cell d2 and set a plus/minus 2% tolerance in cell f2 and get a true/false comparison.
What I need to do is write a macro that will find duplicates in Column A, within a changeable tolerance, say 0.1 (10%).
After finding all duplicates within a tolerance in A, I need to make another "Master" worksheet with the Duplicates from A, and their counterpart in B. So if A1 and A4 where within 10% of each other, the "Master" worksheet would contain:
A1 B1 A4 B4
using the values, giving:
1020.00242-89.84 1021.494-80.41
I tried using SUMPRODUCT and some other functions but just can't seem to put my finger on this one. I'm sure it's not hard and am overlooking something.
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.
Is there a formula or VB code like the =TYPE() function that will return whether a cell contains a FORMULA? Here's the issue:
I'm writing a macro to update 10,000 sheets. Each sheet has a column that I'm updating with a new formula. Some of these formulas have been previously overwritten with a random number that would delete the formula from the cell. I have to leave the overwritten values where there is no formula, and replace the values of the formulas where they are still intact. I assume that if I can identify whether there is a formula in the cell or not, I can choose that cell to skip or update.
I have number data in columns F through AK. In column AL I want a formula that will look in columns F through AK from the left to right. Once it identifies a positive value I want the formula to identify if after that positive number there are any occurances where there are 6 0's in a row (anywhere up until column AK). The formula can return a True or False. I want to drag the formula down across many rows of data. If the entire row contains 0's, I do not want it identified as a TRUE
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.
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 ")
I'm trying to create a rec report, ideally on one page, for multiple criteria. The situation is we get a report on our trade positions (investment stuff) from an outside service we use. We also have a report internally from what we've booked. We're looking to tie out are basic things like price, original par, revised par, trade date, counter-party banks, etc. I've consolidated data from both sources on one page (DATA) where all data points are lined up (say EXTERNAL is from rows 1-500, and INTERNAL is 510-1010). Now I need to create a front page showing the result of each tie-out. The lookup value will be a combination of the fund name + trade ticket number which would almost guarantee a unique ID (fund name XYZ, ticket number 12345 = XYZ12345)
Current tabs on spreadsheet: DATA, EXTERNAL, INTERNAL. I need to add a REC page
Question: What formula can I use to check on each and return TRUE/FALSE? The goal is to have about 8 columns on the REC, each for one of the tie-outs (let's use price as an example.). I know the basic VLOOKUP to return one value, but it appears in this case I will need VLOOKUP to check two matching values based on unique ID XZY12345, compare the price, and return TRUE if they match, FALSE if they don't
Here's something I saw from one of our spreadsheets that I think does the same to confirm counter-party, though I have no idea how to read this lengthy formula.
I have a percent 3.14%, that I want to show 15, 20 and 25% above and below that percent. I am showing below the results and then formula. The top calculation results in the same on both the left and right. However the -15,-20, -25% results are different. Which is correct.
3.14%
20% +/- 3.14%
0.63% or 6.28%
1.57%
2.51%
[code].....
basic math, but I don't understand why the results are different.
when you type True into a General formatted Excel cell Excel returns TRUE. This value cannot be formatted to a 1 (or a -1) by applying a different format. Thus, does Excel have a boolean data type? Or is it something else like a numeric value that for whatever reason is not receptive to format changes.
I am currently looking at the workings of a spreadsheet designed by someone else. Within this sheet, a cell has the formula that , once broken down, equates to:
=100*TRUE (Cell returns a value of 100)
And another that equates to :
=100*FALSE (Cell returns a value of 0)
Am I correct in thinking that TRUE always equals 1, and FALSE always equals 0? I think this is right, but just need someone to confirm.
I've done a check box on excel (ActiveX) which then enters True or False when I tick or untick it. Is there any way which you can change the True/False words to something else?
For example, if the box was ticked it would enter "Electric" instead and "N/A" if the box was unticked?
On sheet 3 column d i have a vendor number. I am trying to create a formula in column M (same sheet) that will say "True" if the vendor number in column d is also listed on sheet 2, column A (Rows 2-148)
I've got a mega excel sheet right now with multiple people making updates to it on a daily basis. As such I am trying to find a way to output various totals in a separate static table which i can grab at any point and be confident numbers are correct.
The problem, firstly I cant figure out how to have multiple true false formulas checking the sheet from 1 cell. i.e "Check column B True/False for RestrauntNameXYZ + Check column E for true/false GroupABC + check column G for true/false Lunch"
and then
Calculate sum of column A for all rows which above combinations of true/false checks spit out.
I have numbers from -50 to 50 going down column C. In column D, I want to enter a formula which will convert each number to a TRUE or FALSE. How do I do that?
I believe 1 = TRUE and everything else = FALSE, but I would like to know how to get that with a formula.
i have this formula and need to change true and false to text for both the expressions =OR(E23<=DATE(YEAR($L$2),MONTH($L$2)+$J$2,DAY($L$2)),($L$2>E23))
what im trying to do is e23 has a static date (food sell by dates)and if that date gets within 3 month (J2) period of todays date (L2) i want it to say "warning" if e23 is equal to or older than todays date i want it to say out of date.
L2 has =today() J2 has the number of months in it for the warning
Hi, I am doing a spread sheet for work and just have a little issue. I have two time fields in the spread sheet and if one is less then the other it reads true and turns green but if it’s greater then it reads false and goes red. Is there a way of it to say how much the time is under or over the original instead or just reading true or false?
I have a master spreadsheet which shows agreeed rentals for vehicles, on the sample this is the "OCS" tab. I receive a spreadsheet which contains the actual rental charged, in my example this is the tab "Invoice" in my example the VRN are in the same order on both sheets, in reality the invoice spreadsheet is not in the same order as my OCS sheet. My task is to match the VRN field in the invoice sheet to the VRN in the OCS sheet, then look at the amounts and if they match then return "true" if they don't return "false
I have an Excel workbook which has 10 rows of numbers with a min of 20 and max of 30. The random number lies in column B and this will be tested to see if it lies between the min and max. I need to loop this 10 time over
I first started out declaring the 3 variables and assigning values to each variable. It works if I assign a value of 22 for Number but I want VBA to see the Number and make a decision (True or False) if that number lies within the range of 20 to 30.
Should I name the Number variable as a variable because its value will change depending on if it matches the conditions? Also would a case be easier? Between.xlsx