IF Function Return Specific Criteria For True And Then For False

Mar 5, 2008

I need to check one column to see if it is less than another one
If it is I need to have the IF function return specific criteria for true and then for false but then I also need it to rely on the results of another question from another column if the result of the first query is less than the figure in another column again I need to return specific criteria for tur and then for false
An AND function requires both to be true but when one isnt what do I write?

First one: The thought process is that inbound inventory data is logged on one sheet; outbound inventory data logged on another within the same workbook. When specific data from the inbound sheet (LPN column) is 'shipped' and entered on the outbound sheet, that specific data needs to be verified against the order number it was intended to ship against and if everything lines up, to have a TRUE value returned, or FALSE if not.

Second one: same type of thing - I'd like to look for the same specific criteria (LPN) between the inbound and outbound worksheets and if the same LPN is found on the outbound sheet, to return a value of "SHIPPED".

Third and fourth - same deal again except this time, would like to tie back the outbound Destination and ship date data from the outbound worksheet to the inbound worksheet.

A copy of the workbook is attached for reference with cells that require formulas highlighted in yellow on the inbound sheet and data cells from which the formulas will verify data in green on the outbound sheet.

I'm trying to determine if a rangeName is defined so that I can delete it without a programming error. I've used the idea that if I try to goto a non-existant rangeName, I'll get an error. I've tried to design a function that will return true or false if the rangeName is defined on the basis of that idea. Can you take a look at the code and see where I went wrong?

I am trying to return a TRUE or FALSE based on a date in a cell.

for example:

if cell A1 = 07/11/2009

I want A2 to show TRUE or FALSE if A1 is 14 days or more behind todays date.

I have tried stuff like:

=IF(A1=TODAY()-14,"True","False")

but it just always says false. EDIT: I have just noticed that if I change the date in A1 to exactly 14 days behind todays, it returns TRUE. So, it does work. Do I need to add a GREATER THAN in there?

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.

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

Group Name / Data A / .01 A / .02 A / -.02 B / .05 B /-.01 C /.02 C /-.03

I need one true or false return for each group if the absolute value of the differences in any combination of a group's data is greater than or equal to .05.

I have two price lists in workbook. One containing "normal" price list, other containing "action" prices.

I want to search for a product name code from column A in "normal" price list in column A of "action" list, and if it is found to show it somehow in any column in "normal" price list sheet.

This way I know that there is action price attached to that product and that I have to search for the price in "action" sheet.

I have several rows with numbers that is either 0, a balance or a text like n/a. I need a formula that return true if all are 0 or contain n/a. If there is one balance shall it be false. Any suggestion? See example:

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 two price lists in workbook. One containing "normal" price list, other containing "action" prices.

I want to search for a product name code from column A in "normal" price list in column A of "action" list, and if it is found to show it somehow in any column in "normal" price list sheet.

This way I know that there is action price attached to that product and that I have to search for the price in "action" sheet.

This is probably quite a simple request but here goes:-

=SUM(h2,e2-f2)

I would like excel to perform this calculation but only if another cell contains a date. I couldn't figure out how to do that so I added another column next to that cell and added =ISNUMBER(A8) to return a true or false statement. I was then going to hide this column but still refer to it.

transaction cleared amount amount balance date date in out A B C D E F H 1 $500.00 BALANCE BROUGHT FORWARD 2 1/1/10 TRUE 1/2/10 TRUE $5.00 =SUM(h2,e2-f2) 3 1/2/10 TRUE FALSE $300.00 =SUM(h3,e3-f3) 4 5 6 7

I don't know if this makes sense of if anyone can suggest another way of working this out. New to excel so sorry if this is basic stuff.

I've been asked to adjust some thing with a worksheet someone else created. On the sheet labeled "Criteria" there is a list of dates and some formulas that use these dates. I can't figure out why the result of the formula is a number, i.e "0"; I thought it is supposed to return "TRUE" or "FALSE". If I insert a new sheet, within the same workbook, and insert the same formula, I get "TRUE" or "FALSE". For some reason, the "Criteria" worksheet doesn't return "TRUE" or "FALSE", it returns numbers. I just need to know why this is happening so I can replicate it in the new workbook I'm creating.

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

how return a true/false based on a cell containing a string (text) vs a value?

I have a column where most cells are blank, some contain text, and others contain dates. I would like to select and manipulate only the ones that contain dates (or values).

I would like to create a qestionairre with checkboxes used to answer the question "Do you need____" (Check if yes). On the following workbook I would like a list of all items needed, and a list of items not needed on yet another workbook.

Is there a way to create these lists without having blanks for values that are not true? (and because Im sure there is HOW?)

I have two lists, one that is 99,000 lines and the other is 150. I am trying to find out where the word(s) in the list of 150 is present in the list 99,000.

1st list of 99,000 is in Sheet1 A1-A99000 and the second list is in Sheet2 B1-B150.

The caveat is that in column A there is additional words in that cell so you can not do a simple vlookup, because there may or may not be an exact match.

I have been stuck for hours and the best i can get is to use the match function but it is not working because it is not exact. Last thing i want to do is use the CTRL F key to lookup all the words.

I am applying data validation in my workbook. The data in ColS consist of:

ColS (Row2) X (Row3) Y (Row4) Y (Row5) Y (Row6) X

In ColT, I am to apply data validation: i.e. If in concerned row of ColS is having "X" value, then I am to show an error message. Else, values from A2:A5 should be shown in the as list and these should be accepted in ColT.

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 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 am trying to use the IF function to return a false value if the combined sum of a row is not the same as either of the 1st 2 cells. If that makes any sense!

This is the formula I would like to use. =IF(SUM(g3:g9)=g1 or g2 then y if true and x if false. I thought it would be easy but I can't figure out how to do it

I'm looking to return the values in column A adjacent to the cells in Column B equal to "Y". The kicker has been returning only the cells where the condition is true. Column C displays the desired behavior.

The closest I've been able to get is with a simple IF statement but I'm pretty sure the answer is a far cry away from there and likely requires an array formula. I'd prefer not to use VLOOKUP or OFFSET but will if the alternative is very complex.

I have created a userdefined function. the Idea is for the user to calculate the difference in hours and minutes. The input would be like budtime = 30 , realtime = 1.25 the answer I would like to have is 28:45 (28hours and 45 mins). Im aware that I can format the cell manually with [h]:mm but I'd like the function to do it. I have written this:

Function RT(BudTime, RealTime) RT = Format(((CDec(BudTime) - CDec(RealTime) / 24)), "[h]:mm") End Function