# if and statement

1. ### Simple "IF" statement for a newbie

I have a sheet which has a list of numbers ranging from -10000 to 10000. I need an IF statement which says if the number is less than -1500 then it should read "red" if it is less than -500 then read "amber" and if it is greater than -500 then should read "green" I can get it do parts but...
2. ### Help with IF / And / OR

I am not sure that I'm using the most efficient approach to what I'm trying to achieve. Input and advice is most welcome. I'm sure this is a simple formula, but I'm not having and success with it. <tbody> IF(AND( A1 > 9, and < 20, and B1 = "PHONE"), (DO THIS) </tbody> <tbody>...
3. ### Copy lines of other sheets based on criteria entered into two cells

Hello! I am trying to see if there is a way to achieve my idea without nesting IF AND/IF OR statements in the formula bar. I am not too familiar with VBA, but I imagine there is some code that could help me with the following goal: I am creating an excel workbook database that will allow users...
4. ### If and Statement Problem

I am trying to write the below formula using AF as my baseline referencing the buckets in AG thru AL as buckets identifying where AF falls in between and labeling however keep getting an error. Am i error out because of the last statement not being an "AND" statement and not closing the whole...
5. ### Conditional Formatting (Complex)

Hello All! There's a possibility this is not as complex as I am making it out to be so please bare with me: I have a column (G) that will have ID numbers (9 digits) being manually entered and I am trying to format the column so every time there is a keying error (when the character count of...

### This Week's Hot Topics

• Timer in VBA - Stop, Start, Pause and Reset
[CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
• how to updates multiple rows in muliselect listbox
Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
• Delete Row from Table
I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
• Assigning to a variable
I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
• Way to verify information
Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
• Active Cell Address – Inactive Sheet
How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...