if and statement

  1. A

    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. J

    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. K

    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. S

    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. T

    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...

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top